gcc.dg/compat/struct-layout-1.exp does not supported installed-compiler testing

Mark Mitchell mark@codesourcery.com
Tue May 17 19:11:00 GMT 2005


Jakub Jelinek wrote:

>>+ #ifndef WORDS_BIGENDIAN
>>+   /* On a little-endian machine, if the data is 4-byte aligned we can hash
>>+      by word for better speed.  This gives nondeterministic results on
>>+      big-endian machines.  */
> 
> 
> WORDS_BIGENDIAN is not being defined in the headers that are included.
> I think best would be just to kill this hunk and unconditionally do it the
> slower way.

Good point!  I checked in this patch, on mainline and 4.0 branches, 
after testing on x86_64-unknown-linux-gnu.

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testsuite.compat.patch
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20050517/4fec1680/attachment.ksh>


More information about the Gcc mailing list