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 c++/27724] [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer



------- Comment #13 from mark at codesourcery dot com  2006-06-15 15:27 -------
Subject: Re:  [4.1/4.2 Regression] internal compiler error:
 no-op convert from 4 to 8 bytes in initializer

dj at redhat dot com wrote:
> ------- Comment #12 from dj at redhat dot com  2006-06-15 15:19 -------
> Subject: Re:  [4.1/4.2 Regression] internal compiler error: no-op convert from
> 4 to 8 bytes in initializer
> 
> 
>> I don't understand the assertion, given that removing it seems to
>> generate correct output for this test case.
> 
> The problem is that this function PADS rather than EXTENDS data that's
> shorter than it's supposed to be, and it always pads in the same
> direction - IIRC little endian.  Thus, it breaks on big endian
> machines, or machines that require sign extension.

So, you believe that initializer_constant_valid_p should reject this
initializer then?


-- 


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


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