summaryrefslogtreecommitdiff
path: root/patches/gcc/4.9.4/1100-msp430-string-literals.patch
blob: 346842e894de68e19f1aa91d29ad69effc61d0c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
commit 9d247a3d78b97c004e7ca5e7d6cc9964dba870c7
Author: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Wed May 13 01:11:13 2015 +0000

    gcc/
            * config/mmix/mmix.c, config/msp430/msp430.c: Add space between
            string literal and macro name.
    gcc/ada/
            * sigtramp-vxworks.c: Add space between string literal and macro
            name.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223106 138bc75d-0d04-0410-961f-82ee72b054a4

[4.9 change: remove non-applicable parts of the patch]
diff --git a/gcc/config/msp430/msp430.c b/gcc/config/msp430/msp430.c
index bec168ca2ae..58d0efea1de 100644
--- a/gcc/config/msp430/msp430.c
+++ b/gcc/config/msp430/msp430.c
@@ -2248,7 +2248,7 @@ static struct
 }
   const_shift_helpers[] =
 {
-#define CSH(N,C,X,G) { "__mspabi_"N, C, X, gen_##G }
+#define CSH(N,C,X,G) { "__mspabi_" N, C, X, gen_##G }
 
   CSH ("slli", 1, 1, slli_1),
   CSH ("slll", 1, 1, slll_1),