This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug target/14041] H8300-elf unaligned word/longword access ofzero initialized variables
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: dhananjayd at KPITCummins dot com
- Cc: gcc-bugzilla at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Wed, 11 Feb 2004 10:15:27 -0500 (EST)
- Subject: Re: [Bug target/14041] H8300-elf unaligned word/longword access ofzero initialized variables
- References: <69595093233BB547BB70CF5E492B63F203F453D3@sohm.kpit.com>
Hi Dhananjay,
> Please find testcase below.
Thanks.
> I have enabled testcase for h8300-*-elf only
Why not h8300-*? We should care for the COFF target as long as it's
there.
> and passing -mh option. (For plain H8/300 it will generate .align 1
> and test would fail)
Would the same problem exist on the plain H8/300 then? IIRC, H8 is
pretty lenient about alignment, but I don't know how lenient it is.
Or is it the case that no plain H8/300 supports 16-bit data bus or
something?
By the way, which version of GCC did you run the testsuite for?
Currently, h8300-elf on mainline doesn't build, so I'll apply your
patch after the build is restored. Meanwhile, you might want to post
a complete patch with the testcase and ChangeLog entries to
gcc-patches for the record.
Kazu Hirata