+2004-06-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
+
+ PR target/14041
+ * config/h8300/h8300.h (ASM_OUTPUT_ALIGNED_BSS): Define.
+
2004-06-28 Nathan Sidwell <nathan@codesourcery.com>
* tree.h (tree_check_failed): Make varadic.
#define ASM_OUTPUT_BSS(FILE, DECL, NAME, SIZE, ROUNDED) \
asm_output_bss ((FILE), (DECL), (NAME), (SIZE), (ROUNDED))
+#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
+ asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN)
+
/* This says how to output an assembler line
to define a local common symbol. */
+2004-06-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
+
+ PR target/14041
+ * gcc.dg/h8300-bss-align-1.c : New.
+
2004-06-28 Nathan Sidwell <nathan@codesourcery.com>
* PR C++/16174
--- /dev/null
+/* Make sure that the H8 backend does align zero initialized variables. */
+/* { dg-do compile { target h8300-*-* } } */
+/* { dg-options "" } */
+
+struct s {
+ char a, b;
+ long c;
+};
+
+struct s s = {0};
+
+/* { dg-final { scan-assembler ".align" } } */