[Bug c++/27724] [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer

2006-06-15 Thread mmitchel at gcc dot gnu dot org
--- Comment #9 from mmitchel at gcc dot gnu dot org 2006-06-15 06:25 --- Eric -- Here, valid_initializer_constant_p returns true -- but output_constant aborts, saying: /* Make sure eliminating the conversion is really a no-op, except with VIEW_CONVERT_EXPRs to

[Bug c++/27724] [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer

2006-06-15 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-06-15 06:32 --- The error orginally came from: 2005-09-01 DJ Delorie [EMAIL PROTECTED] * varasm.c (output_constant): Let the target resolve conversions of addresses to non-default pointer sizes. And then there

[Bug c++/27724] [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer

2006-06-15 Thread ebotcazou at gcc dot gnu dot org
--- Comment #11 from ebotcazou at gcc dot gnu dot org 2006-06-15 06:39 --- I don't understand the assertion, given that removing it seems to generate correct output for this test case. Since you edited this code not to long ago, do you have thoughts? Not really. I've only

[Bug c++/27724] [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer

2006-06-15 Thread dj at redhat dot com
--- 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.

[Bug c++/27724] [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer

2006-06-15 Thread mark at codesourcery dot com
--- 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 ---

[Bug c++/27724] [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer

2006-06-04 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27724

[Bug c++/27724] [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer

2006-05-24 Thread mmitchel at gcc dot gnu dot org
--- Comment #8 from mmitchel at gcc dot gnu dot org 2006-05-25 02:35 --- Will not be fixed in 4.1.1; adjust target milestone to 4.1.2. -- mmitchel at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27724] [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer

2006-05-23 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-05-23 06:51 --- Reduced testcase: struct st{ int _mark; }; unsigned long long t = ((int)(((struct st*)16)-_mark) - 16); This is undefined code. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c++/27724] [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer

2006-05-23 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2006-05-23 09:02 --- looks like creative offsetof -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27724

[Bug c++/27724] [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer

2006-05-23 Thread bero at arklinux dot org
--- Comment #6 from bero at arklinux dot org 2006-05-23 21:41 --- It is creative offsetof indeed -- this a explanation from a bit of code referenced to this one [while it isn't free yet, its license does allow posting bits of it online]: // HACK: gcc warns about applying offsetof()

Re: [Bug c++/27724] [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer

2006-05-23 Thread Andrew Pinski
--- Comment #6 from bero at arklinux dot org 2006-05-23 21:41 --- It is creative offsetof indeed -- this a explanation from a bit of code referenced to this one [while it isn't free yet, its license does allow posting bits of it online]: Looks like someone was desperate to

[Bug c++/27724] [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer

2006-05-23 Thread pinskia at physics dot uc dot edu
--- Comment #7 from pinskia at physics dot uc dot edu 2006-05-23 21:42 --- Subject: Re: [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer --- Comment #6 from bero at arklinux dot org 2006-05-23 21:41 --- It is creative