[Bug ada/21937] Member record alignment triggering an ICE

2005-06-07 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-06-07 12:26 --- > It's hard to argue for me as Ada is not a language I'm familiar with, but > the problematic assignment is: > > return Ch.Attr; > > in Get_Character_Attribute() and both Ch.Attr and the return value of

[Bug ada/21937] Member record alignment triggering an ICE

2005-06-07 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-06-07 12:16 --- This worked in 3.4.x because we added a conversion operator: tree_transform : expand_return (build_binary_op (MODIFY_EXPR, NULL_TREE, DECL_RESULT (curr

[Bug ada/21937] Member record alignment triggering an ICE

2005-06-07 Thread macro at linux-mips dot org
--- Additional Comments From macro at linux-mips dot org 2005-06-07 12:14 --- > That's not quite true, the type is not the same. It's hard to argue for me as Ada is not a language I'm familiar with, but the problematic assignment is: return Ch.Attr; in Get_Character_Attribute() and b

[Bug ada/21937] Member record alignment triggering an ICE

2005-06-07 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-06-07 11:31 --- Investigating. -- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |ebo

[Bug ada/21937] Member record alignment triggering an ICE

2005-06-07 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-06-07 11:30 --- > This problem happens for platforms that set STRICT_ALIGNMENT. For them it is > possible for a given record type to be expressed using an integer mode if used > as a member record, and the BLK mode if us

[Bug ada/21937] Member record alignment triggering an ICE

2005-06-07 Thread macro at linux-mips dot org
--- Additional Comments From macro at linux-mips dot org 2005-06-07 10:28 --- Here are details missing from the original report (sorry about that). This is output from the compiler when the ICE happens: 4.0.0 (alpha-unknown-linux-gnu) GCC error: in simplify_subreg, at simplify-rtx.c:

[Bug ada/21937] Member record alignment triggering an ICE

2005-06-06 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Keywords||ice-on-valid-code http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21937

[Bug ada/21937] Member record alignment triggering an ICE

2005-06-06 Thread pluto at agmk dot net
-- What|Removed |Added CC||pluto at agmk dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21937

[Bug ada/21937] Member record alignment triggering an ICE

2005-06-06 Thread macro at linux-mips dot org
--- Additional Comments From macro at linux-mips dot org 2005-06-06 20:45 --- Created an attachment (id=9042) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9042&action=view) gcc-4.0.0-ada-record-pack-align.patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21937

[Bug ada/21937] Member record alignment triggering an ICE

2005-06-06 Thread macro at linux-mips dot org
--- Additional Comments From macro at linux-mips dot org 2005-06-06 20:43 --- Created an attachment (id=9041) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9041&action=view) This is the set of the sources -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21937