This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/44211] [OOP] ICE with TBP of pointer component of derived type array
- From: "janus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 May 2010 19:01:48 -0000
- Subject: [Bug fortran/44211] [OOP] ICE with TBP of pointer component of derived type array
- References: <bug-44211-19016@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from janus at gcc dot gnu dot org 2010-05-20 19:01 -------
Confirmed. Backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x0000000000571d67 in gfc_conv_scalarized_array_ref (se=0x7fffffffd6a0,
ar=0x17f6048) at /home/jweil/gcc46/trunk/gcc/fortran/trans-array.c:2497
2497 n = se->loop->order[0];
(gdb) bt
#0 0x0000000000571d67 in gfc_conv_scalarized_array_ref (se=0x7fffffffd6a0,
ar=0x17f6048) at /home/jweil/gcc46/trunk/gcc/fortran/trans-array.c:2497
#1 0x0000000000571f17 in gfc_conv_array_ref (se=0x7fffffffd6a0, ar=0x17f6048,
sym=0x17f4370, where=0x17f40f0)
at /home/jweil/gcc46/trunk/gcc/fortran/trans-array.c:2550
#2 0x00000000005988e0 in gfc_conv_variable (se=0x7fffffffd6a0, expr=0x17f40a0)
at /home/jweil/gcc46/trunk/gcc/fortran/trans-expr.c:702
#3 0x00000000005a3712 in gfc_conv_expr (se=0x7fffffffd6a0, expr=0x17f40a0) at
/home/jweil/gcc46/trunk/gcc/fortran/trans-expr.c:4453
#4 0x000000000059a833 in get_proc_ptr_comp (e=0x17f2560) at
/home/jweil/gcc46/trunk/gcc/fortran/trans-expr.c:1529
#5 0x000000000059a88b in conv_function_val (se=0x7fffffffdd60, sym=0x17effb0,
expr=0x17f2560) at /home/jweil/gcc46/trunk/gcc/fortran/trans-expr.c:1541
#6 0x000000000059fe41 in gfc_conv_procedure_call (se=0x7fffffffdd60,
sym=0x17effb0, arg=0x0, expr=0x17f2560, append_args=0x0)
at /home/jweil/gcc46/trunk/gcc/fortran/trans-expr.c:3323
--
janus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Known to fail| |4.6.0
Last reconfirmed|0000-00-00 00:00:00 |2010-05-20 19:01:47
date| |
Summary|ICE with TBP of pointer |[OOP] ICE with TBP of
|component of derived type |pointer component of derived
|array |type array
Target Milestone|--- |4.6.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44211