This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug target/14041] H8300-elf unaligned word/longword access ofzero initialized variables


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]