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: 11 Feb 2004 01:54:22 -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-11 01:54 -------
Subject: Re: H8300-elf unaligned word/longword access of
zero initialized variables
Hi Dhananjay,
> Updated patch -
>
> 2004-02-10 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
>
> PR target/14041
> * config/h8300/h8300.h (ASM_OUTPUT_ALIGNED_BSS): Define.
Thanks. Could you also post a testcase? You will most likely find
the scan-assembler trick in gcc.dg useful. Basically, you can search
for ".align 2" in the compiled version of the testcase in comment #4
of the PR.
Kazu Hirata
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14041