diff mbox

[ARM,regression] Fix ternary operator in arm/unknown-elf.h

Message ID 000701d07e54$8b29cef0$a17d6cd0$@arm.com
State New
Headers show

Commit Message

Thomas Preud'homme April 24, 2015, 6:04 a.m. UTC
I just committed the obvious fix below that fix build failure introduced by
revision 222371.


*** gcc/ChangeLog ***

2015-04-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>

        * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): fix
        ternary operator in fprintf and harmonize spacing.


Best regards,

Thomas
diff mbox

Patch

diff --git a/gcc/config/arm/unknown-elf.h b/gcc/config/arm/unknown-elf.h
index df0b9ce..2e5ab7e 100644
--- a/gcc/config/arm/unknown-elf.h
+++ b/gcc/config/arm/unknown-elf.h
@@ -80,9 +80,9 @@ 
 									\
       ASM_OUTPUT_ALIGN (FILE, floor_log2 (ALIGN / BITS_PER_UNIT));	\
       ASM_OUTPUT_LABEL (FILE, NAME);					\
-      fprintf (FILE, "\t.space\t%d\n", SIZE ? (int)(SIZE) : 1);		\
+      fprintf (FILE, "\t.space\t%d\n", SIZE ? (int) SIZE : 1);		\
       fprintf (FILE, "\t.size\t%s, %d\n",				\
-	       NAME, SIZE ? (int) SIZE, 1);				\
+	       NAME, SIZE ? (int) SIZE : 1);				\
     }									\
   while (0)