Commit c92d8761 by Andrew Pinski Committed by Andrew Pinski

darwin.h (ASM_OUTPUT_COMMON): Make sure we do not have a size of 0.

2004-09-12  Andrew Pinski  <apinski@apple.com>

        * darwin.h (ASM_OUTPUT_COMMON): Make sure we do not have a
        size of 0.

From-SVN: r87401
parent 8f8ccdf3
2004-09-12 Andrew Pinski <apinski@apple.com> 2004-09-12 Andrew Pinski <apinski@apple.com>
* darwin.h (ASM_OUTPUT_COMMON): Make sure we do not have a
size of 0.
* tree-chrec.c (initialize_scalar_evolutions_analyzer): Remove. * tree-chrec.c (initialize_scalar_evolutions_analyzer): Remove.
2004-09-12 Richard Henderson <rth@redhat.com> 2004-09-12 Richard Henderson <rth@redhat.com>
......
...@@ -240,11 +240,14 @@ do { \ ...@@ -240,11 +240,14 @@ do { \
symbol. */ symbol. */
/* ? */ /* ? */
#undef ASM_OUTPUT_ALIGNED_COMMON #undef ASM_OUTPUT_ALIGNED_COMMON
#define ASM_OUTPUT_COMMON(FILE, NAME, SIZE, ROUNDED) \ #define ASM_OUTPUT_COMMON(FILE, NAME, SIZE, ROUNDED) \
do { fputs (".comm ", (FILE)); \ do { \
RS6000_OUTPUT_BASENAME ((FILE), (NAME)); \ unsigned HOST_WIDE_INT size = SIZE; \
fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED"\n",\ fputs (".comm ", (FILE)); \
(SIZE)); } while (0) RS6000_OUTPUT_BASENAME ((FILE), (NAME)); \
if (size == 0) size = 1; \
fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED"\n", size); \
} while (0)
/* Override the standard rs6000 definition. */ /* Override the standard rs6000 definition. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment