This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/41859] ICE on invalid expression involving DT with pointer components in I/O
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Aug 2010 18:31:17 -0000
- Subject: [Bug fortran/41859] ICE on invalid expression involving DT with pointer components in I/O
- References: <bug-41859-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from dominiq at lps dot ens dot fr 2010-08-07 18:31 -------
With trunk the ICE is a "Segmentation fault" and the backtrace is
#0 0x00000001417aee0b in __gmpz_sub ()
#1 0x00000001000e1c8f in transfer_array_component (expr=0x141f04300,
cm=0x141915170, where=0x141915ca8) at ../../work/gcc/fortran/trans-io.c:1933
#2 0x00000001000e20c9 in transfer_expr (se=0x7fff5fbfd450, ts=<value
temporarily unavailable, due to optimizations>, addr_expr=<value temporarily
unavailable, due to optimizations>, code=0x141915c90) at
../../work/gcc/fortran/trans-io.c:2094
#3 0x00000001000e6346 in gfc_trans_transfer (code=<value temporarily
unavailable, due to optimizations>) at ../../work/gcc/fortran/trans-io.c:2230
#4 0x00000001000a87d8 in trans_code (code=0x141915c90, cond=0x1418453b8) at
../../work/gcc/fortran/trans.c:1281
#5 0x00000001000e409f in build_dt (function=0x141ef1a00, code=0x141915ed0) at
../../work/gcc/fortran/trans-io.c:1800
#6 0x00000001000a8818 in trans_code (code=0x141915ed0, cond=0x0) at
../../work/gcc/fortran/trans.c:1253
#7 0x00000001000c6ca2 in gfc_generate_function_code (ns=<value temporarily
unavailable, due to optimizations>) at ../../work/gcc/fortran/trans-decl.c:4495
#8 0x00000001000a9103 in gfc_generate_module_code (ns=<value temporarily
unavailable, due to optimizations>) at ../../work/gcc/fortran/trans.c:1412
#9 0x000000010006af31 in gfc_parse_file () at
../../work/gcc/fortran/parse.c:4395
#10 0x00000001000a3abc in gfc_be_parse_file (set_yydebug=<value temporarily
unavailable, due to optimizations>) at ../../work/gcc/fortran/f95-lang.c:241
#11 0x00000001006924da in toplev_main (argc=2, argv=0x7fff5fbfd9d8) at
../../work/gcc/toplev.c:971
#12 0x0000000100000c84 in start ()
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41859