This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/55427] [OOP] ICE with class-array-pointer result
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 Nov 2012 18:44:45 +0000
- Subject: [Bug fortran/55427] [OOP] ICE with class-array-pointer result
- Auto-submitted: auto-generated
- References: <bug-55427-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55427
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-11-21 18:44:45 UTC ---
For trans-expr.c:6350 in gfc_trans_pointer_assignment:
6349 gfc_add_modify (&block, lse.expr,
6350 fold_convert (TREE_TYPE (lse.expr),
rse.expr));
TREE_TYPE(LHS) is:
<pointer_type 0x2aaaac29b1f8
type <record_type 0x2aaaac29b150 __vtype_base_types_Base_type BLK
And RHS is:
<call_expr 0x2aaaac1986c0
type <record_type 0x2aaaac29b930 __class_base_types_Base_type_1_0p type_4
BLK
size <integer_cst 0x2aaaac270e20 constant 448>