This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14041] H8300-elf unaligned word/longword access of zero initialized variables
- From: "kazu at cs dot umass dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Feb 2004 17:06:51 -0000
- Subject: [Bug target/14041] H8300-elf unaligned word/longword access of zero initialized variables
- References: <20040206064311.14041.dhananjayd@kpitcummins.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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