Fix PR target/26702
For Kwok Cheung Yeung.
From-SVN: r222371
+2015-04-23 Kwok Cheung Yeung <kcy@codesourcery.com>
+
+ PR target/26702
+ * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL):
+ Emit size of local.
+
2015-04-23 Nick Clifton <nickc@redhat.com>
* config/rl78/rl78.c (rl78_preferred_reload_class): Add
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.size\t%s, %d\n", \
+ NAME, SIZE ? (int) SIZE, 1); \
} \
while (0)
+2015-04-23 Kyok Cheung Yeung <kck@codesourcery.com>
+
+ PR target/26702
+ * gcc.target/arm/pr26702.c: New test.
+
2015-04-23 Marek Polacek <polacek@redhat.com>
PR c/65345
--- /dev/null
+/* { dg-do compile { target arm_eabi } } */
+/* { dg-final { scan-assembler "\\.size\[\\t \]+static_foo, 4" } } */
+int foo;
+static int static_foo;