aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386/darwin.h
diff options
context:
space:
mode:
authorHui-May Chang <hm.chang@apple.com>2007-06-20 16:43:24 +0000
committerHui-May Chang <hmchang@gcc.gnu.org>2007-06-20 16:43:24 +0000
commit1c5ae9624cd41a2d60ded14ff05db2eb83d6f4ce (patch)
treea872754a1e723fe47057527100098db56d541ac3 /gcc/config/i386/darwin.h
parent543535a318a9219a6e5e1322ad42d56c8f77a331 (diff)
downloadgcc-1c5ae9624cd41a2d60ded14ff05db2eb83d6f4ce.zip
gcc-1c5ae9624cd41a2d60ded14ff05db2eb83d6f4ce.tar.gz
gcc-1c5ae9624cd41a2d60ded14ff05db2eb83d6f4ce.tar.bz2
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
Diffstat (limited to 'gcc/config/i386/darwin.h')
-rw-r--r--gcc/config/i386/darwin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/darwin.h b/gcc/config/i386/darwin.h
index d793e02..6d7b99c 100644
--- a/gcc/config/i386/darwin.h
+++ b/gcc/config/i386/darwin.h
@@ -210,7 +210,7 @@ extern void darwin_x86_file_end (void);
#define ASM_OUTPUT_COMMON(FILE, NAME, SIZE, ROUNDED) \
( fputs (".comm ", (FILE)), \
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
to define a local common symbol. */