[Bug fortran/71706] [7 Regression] ICE on using sync images with integer(kind<>4), with -fcoarray=lib -fcheck=bounds

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 30 08:23:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71706

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-06-30
                 CC|                            |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed on trunk, following releases are OK:

  5.1.0: running command with result: OK
  5.2.0: running command with result: OK
  5.3.0: running command with result: OK
  5.4.0: running command with result: OK
  6.1.0: running command with result: OK

4.8.0-4.9.3 produce:

/home/marxin/Programming/testcases/pr71706.f90:3:0: internal compiler error: in
copy_to_mode_reg, at explow.c:654
    sync images (me)
 ^
0x748d2b copy_to_mode_reg(machine_mode, rtx_def*)
        /home/marxin/Programming/gcc2/gcc/explow.c:654
0x7522e6 emit_cstore
        /home/marxin/Programming/gcc2/gcc/expmed.c:5181
0x753119 emit_store_flag_1
        /home/marxin/Programming/gcc2/gcc/expmed.c:5440
0x75254b emit_store_flag(rtx_def*, rtx_code, rtx_def*, rtx_def*, machine_mode,
int, int)
        /home/marxin/Programming/gcc2/gcc/expmed.c:5490
0x7535d8 emit_store_flag_force(rtx_def*, rtx_code, rtx_def*, rtx_def*,
machine_mode, int, int)
        /home/marxin/Programming/gcc2/gcc/expmed.c:5812
0x7684f1 do_store_flag
        /home/marxin/Programming/gcc2/gcc/expr.c:11009
0x7684f1 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        /home/marxin/Programming/gcc2/gcc/expr.c:8938
0x6ac695 expand_gimple_stmt_1
        /home/marxin/Programming/gcc2/gcc/cfgexpand.c:3262
0x6ac695 expand_gimple_stmt
        /home/marxin/Programming/gcc2/gcc/cfgexpand.c:3322
0x6adaae expand_gimple_basic_block
        /home/marxin/Programming/gcc2/gcc/cfgexpand.c:5162
0x6afac6 gimple_expand_cfg
        /home/marxin/Programming/gcc2/gcc/cfgexpand.c:5741
0x6afac6 execute
        /home/marxin/Programming/gcc2/gcc/cfgexpand.c:5961


More information about the Gcc-bugs mailing list