This is the mail archive of the gcc-bugs@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]

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


------- Additional Comments From kazu at cs dot umass dot edu  2004-02-11 15:17 -------
Subject: Re:  H8300-elf unaligned word/longword access of
 zero 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


-- 


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


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