aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1999-11-07 10:00:56 +0000
committerJeff Law <law@gcc.gnu.org>1999-11-07 03:00:56 -0700
commit36013ffc102e807f410a72dc5ba1412dfe336e0c (patch)
treedc2688ea9e52ead6edf4c2d810be0d7e4197cfe7 /gcc
parent2aeeb5f430ec9b0874c8eaaf13dfda495e9b4d83 (diff)
downloadgcc-36013ffc102e807f410a72dc5ba1412dfe336e0c.zip
gcc-36013ffc102e807f410a72dc5ba1412dfe336e0c.tar.gz
gcc-36013ffc102e807f410a72dc5ba1412dfe336e0c.tar.bz2
global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
* global.c (EXECUTE_IF_CONFLICT): Undo Robert's change. (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in macro expansion. From-SVN: r30441
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/global.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2a0935d..366a4ec 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
+
+ * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
+ (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
+ macro expansion.
+
Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
* global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
diff --git a/gcc/global.c b/gcc/global.c
index b36cb1b..4edacf8 100644
--- a/gcc/global.c
+++ b/gcc/global.c
@@ -149,7 +149,7 @@ do { \
for ((ALLOCNO) = allocno_; word_; word_ >>= 1, (ALLOCNO)++) \
{ \
if (word_ & 1) \
- CODE; \
+ {CODE;} \
} \
} \
} while (0)
@@ -159,7 +159,7 @@ do { \
mirror_conflicts has been run. */
#define EXECUTE_IF_CONFLICT(IN_ALLOCNO, OUT_ALLOCNO, CODE)\
EXECUTE_IF_SET_IN_ALLOCNO_SET (conflicts + (IN_ALLOCNO) * allocno_row_words,\
- OUT_ALLOCNO, CODE)
+ OUT_ALLOCNO, (CODE))
/* Set of hard regs currently live (during scan of all insns). */