--- 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
--- 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
--- 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
--- 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.
--- 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 ---
--
mmitchel at gcc dot gnu dot org changed:
What|Removed |Added
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27724
--- 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
--- 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
--- 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
--- 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()
--- 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
--- 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
12 matches
Mail list logo