[Bug fortran/31197] [4.3/4.2 regression^2] TRANSPOSE/RESHAPE and strings
fxcoudert at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Apr 18 09:54:00 GMT 2007
------- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-04-18 10:54 -------
Hey, this has turned into an ICE on today's trunk. Cool, it's gonna be easier
to work on! :)
As I pointed out in http://gcc.gnu.org/ml/fortran/2007-04/msg00295.html, this
makes it a potential double regression, which is nasty.
Program received signal SIGSEGV, Segmentation fault.
0x000000000048048b in gfc_conv_function_call (se=0x7fbfffe750, sym=0xe372c0,
arg=0xe004f0, append_args=0x0)
at /utmp/coudert/gfortran/trunk/gcc/fortran/trans-expr.c:2053
2053 need_interface_mapping = ((sym->ts.type == BT_CHARACTER
(gdb) where
#0 0x000000000048048b in gfc_conv_function_call (se=0x7fbfffe750,
sym=0xe372c0, arg=0xe004f0, append_args=0x0)
at /utmp/coudert/gfortran/trunk/gcc/fortran/trans-expr.c:2053
#1 0x000000000048a685 in gfc_conv_intrinsic_funcall (se=0x7fbfffe750,
expr=0xe35fe0)
at /utmp/coudert/gfortran/trunk/gcc/fortran/trans-intrinsic.c:1514
#2 0x000000000048c341 in gfc_conv_intrinsic_function (se=0x7fbfffe750,
expr=0xe35fe0)
at /utmp/coudert/gfortran/trunk/gcc/fortran/trans-intrinsic.c:3945
#3 0x0000000000480ae7 in gfc_conv_function_expr (se=0x7fbfffe750,
expr=Variable "expr" is not available.
)
at /utmp/coudert/gfortran/trunk/gcc/fortran/trans-expr.c:2698
#4 0x000000000046f449 in gfc_add_loop_ss_code (loop=0x7fbfffe920,
ss=0xe37110, subscript=0 '\0')
at /utmp/coudert/gfortran/trunk/gcc/fortran/trans-array.c:1803
#5 0x000000000046fcb6 in gfc_conv_loop_setup (loop=0x7fbfffe920)
at /utmp/coudert/gfortran/trunk/gcc/fortran/trans-array.c:3232
#6 0x000000000048d881 in gfc_trans_transfer (code=Variable "code" is not
available.
)
at /utmp/coudert/gfortran/trunk/gcc/fortran/trans-io.c:1850
#7 0x0000000000467ae5 in gfc_trans_code (code=0xe2b9a0)
at /utmp/coudert/gfortran/trunk/gcc/fortran/trans.c:605
#8 0x000000000048fa82 in build_dt (function=0x2a984c5540, code=0xe36cc0)
at /utmp/coudert/gfortran/trunk/gcc/fortran/trans-io.c:1507
#9 0x0000000000467b09 in gfc_trans_code (code=0xe36cc0)
at /utmp/coudert/gfortran/trunk/gcc/fortran/trans.c:581
#10 0x000000000047b437 in gfc_generate_function_code (ns=0xe2b1c0)
at /utmp/coudert/gfortran/trunk/gcc/fortran/trans-decl.c:3181
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fxcoudert at gcc dot gnu dot
| |org
Severity|normal |major
Keywords| |ice-on-valid-code
Known to fail| |4.3.0 4.2.0
Known to work| |4.1.2
Last reconfirmed|2007-03-16 13:25:05 |2007-04-18 10:54:17
date| |
Summary|wrong code generated with |[4.3/4.2 regression^2]
|TRANSPOSE/RESHAPE and |TRANSPOSE/RESHAPE and
|strings |strings
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31197
More information about the Gcc-bugs
mailing list