Commit 1c5ae962 by Hui-May Chang Committed by Hui-May Chang

darwin.h (ASM_OUTPUT_COMMON): Print the size of a variable as an unsigned HOST_WIDE_INT integer.

	* gcc/config/i386/darwin.h (ASM_OUTPUT_COMMON): Print the size
	of a variable as an unsigned HOST_WIDE_INT integer.

 	* gcc.target/i386/large-size-array-3.c: New.

From-SVN: r125888
parent 543535a3
2007-06-20 Hui-May Chang <hm.chang@apple.com>
* config/i386/darwin.h (ASM_OUTPUT_COMMON): Print the size
of a variable as an unsigned HOST_WIDE_INT integer.
2007-06-20 Zdenek Dvorak <dvorakz@suse.cz> 2007-06-20 Zdenek Dvorak <dvorakz@suse.cz>
PR rtl-optimization/32405 PR rtl-optimization/32405
......
...@@ -210,7 +210,7 @@ extern void darwin_x86_file_end (void); ...@@ -210,7 +210,7 @@ extern void darwin_x86_file_end (void);
#define ASM_OUTPUT_COMMON(FILE, NAME, SIZE, ROUNDED) \ #define ASM_OUTPUT_COMMON(FILE, NAME, SIZE, ROUNDED) \
( fputs (".comm ", (FILE)), \ ( fputs (".comm ", (FILE)), \
assemble_name ((FILE), (NAME)), \ assemble_name ((FILE), (NAME)), \
fprintf ((FILE), ",%lu\n", (unsigned long)(ROUNDED))) fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED"\n", (ROUNDED)))
/* This says how to output an assembler line /* This says how to output an assembler line
to define a local common symbol. */ to define a local common symbol. */
......
2007-06-20 Hui-May Chang <hm.chang@apple.com>
* gcc.target/i386/large-size-array-3.c: New.
2007-06-20 Andrew Pinski <andrew_pinski@playstation.sony.com> 2007-06-20 Andrew Pinski <andrew_pinski@playstation.sony.com>
Richard Guenther <rguenther@suse.de> Richard Guenther <rguenther@suse.de>
/* { dg-do compile { target { { i?86-*-linux* x86_64-*-linux* } || { i?86-*-* x86_64-*-darwin* } } } } */
/* { dg-options "-m64 -mcmodel=medium" } */
/* { dg-final { scan-assembler "8589934592|8589934588" } } */
int bigarray[2147483647];
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