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: [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)


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