[Bug target/14041] H8300-elf unaligned word/longword access of zero initialized variables

kazu at cs dot umass dot edu gcc-bugzilla@gcc.gnu.org
Mon Feb 9 17:06:00 GMT 2004


------- Additional Comments From kazu at cs dot umass dot edu  2004-02-09 17:06 -------
Could you post your patch to gcc-patches without the comment and #ifndef?

For a testcase, you can probably look for .align 2 in the assembly
of the following piece of code.

struct s {
  char a, b;
  long c;
};

struct s s = {0};


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14041



More information about the Gcc-bugs mailing list