This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/55825] [OOP] Bogus rank error with CLASS pointer assignment using structure constructors
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 28 Dec 2012 20:19:06 +0000
- Subject: [Bug fortran/55825] [OOP] Bogus rank error with CLASS pointer assignment using structure constructors
- Auto-submitted: auto-generated
- References: <bug-55825-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55825
--- Comment #4 from janus at gcc dot gnu.org 2012-12-28 20:19:06 UTC ---
After getting past the error messages with the patches in comment 2 and 3, the
test case segfaults with the following backtrace:
internal compiler error: Segmentation fault
o1 = t_ptr(r)
^
0xb0a58d crash_signal
/home/jweil/gcc48/trunk/gcc/toplev.c:334
0x63466e gfc_conv_scalarized_array_ref
/home/jweil/gcc48/trunk/gcc/fortran/trans-array.c:3042
0x634cd6 gfc_conv_array_ref(gfc_se*, gfc_array_ref*, gfc_symbol*, locus*)
/home/jweil/gcc48/trunk/gcc/fortran/trans-array.c:3168
0x661b9b gfc_conv_variable
/home/jweil/gcc48/trunk/gcc/fortran/trans-expr.c:1795