aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@apple.com>2004-09-13 17:30:56 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-09-13 10:30:56 -0700
commit5547b98291d03422930c1124a599bd666bf2ae5b (patch)
treeecb693e7179862211981793c567ff5dde7d35046 /gcc
parentc885d7a17a4fa12b015adde15326b13303c348bd (diff)
downloadgcc-5547b98291d03422930c1124a599bd666bf2ae5b.zip
gcc-5547b98291d03422930c1124a599bd666bf2ae5b.tar.gz
gcc-5547b98291d03422930c1124a599bd666bf2ae5b.tar.bz2
darwin.h (ASM_OUTPUT_COMMON): Change variable size's name to _new_size.
2004-09-13 Andrew Pinski <apinski@apple.com> * config/rs6000/darwin.h (ASM_OUTPUT_COMMON): Change variable size's name to _new_size. From-SVN: r87442
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/darwin.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 948a0ae..20a989a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-09-13 Andrew Pinski <apinski@apple.com>
+
+ * config/rs6000/darwin.h (ASM_OUTPUT_COMMON): Change variable size's
+ name to _new_size.
+
2004-09-13 Richard Henderson <rth@redhat.com>
PR inline-asm/6806
diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h
index e2ef233..6e341fd 100644
--- a/gcc/config/rs6000/darwin.h
+++ b/gcc/config/rs6000/darwin.h
@@ -242,11 +242,11 @@ do { \
#undef ASM_OUTPUT_ALIGNED_COMMON
#define ASM_OUTPUT_COMMON(FILE, NAME, SIZE, ROUNDED) \
do { \
- unsigned HOST_WIDE_INT size = SIZE; \
+ unsigned HOST_WIDE_INT _new_size = SIZE; \
fputs (".comm ", (FILE)); \
RS6000_OUTPUT_BASENAME ((FILE), (NAME)); \
- if (size == 0) size = 1; \
- fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED"\n", size); \
+ if (_new_size == 0) _new_size = 1; \
+ fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED"\n", _new_size); \
} while (0)
/* Override the standard rs6000 definition. */