This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR other/16820 (struct-layout-1 failures on non-I
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: sje at cup dot hp dot com (Steve Ellcey)
- Cc: jakub at redhat dot com, gcc-patches at gcc dot gnu dot org
- Date: Mon, 27 Sep 2004 12:15:30 -0400 (EDT)
- Subject: Re: [PATCH] Fix PR other/16820 (struct-layout-1 failures on non-I
> I looked into why this test gets a runtime failures on HPPA even after
> the compile time fixes have been made. The failure I saw was because
> the test was checking to see if a structure had 16-byte alignment and it
> looks to me like HPPA only supports 8 byte alignment.
That's the case for uninitialized common data on the PA. The linker only
supports alignment to a maximum of 8 bytes. If the -fno-common option is
used with the tests, all but one passes. It's failing for a different
reason (it also fails on x86).
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)