This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/27724] [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer
- From: "mark at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jun 2006 15:27:35 -0000
- Subject: [Bug c++/27724] [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer
- References: <bug-27724-5606@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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