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

            Bug ID: 67717
           Summary: [6.0 regression] ICE when compiling WRF benchmark from
                    cpu2006 with -Ofast -march=bdver4
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vekumar at gcc dot gnu.org
  Target Milestone: ---

gfortran -c -o module_cu_gd.fppized.o -I. -I./netcdf/include -march=bdver4
-Ofast -fno-second-underscore module_cu_gd.fppized.f90
module_cu_gd.fppized.f90:1302:0:

(Snip)
    END SUBROUTINE CUP_enss
^
Error: insn does not satisfy its constraints:
(insn 8179 8178 14983 589 (parallel [
            (set (reg:V4SF 23 xmm2 [orig:2240 vect__1137.6099 ] [2240])
                (unspec:V4SF [
                        (reg:V4SF 23 xmm2 [orig:2240 vect__1137.6099 ] [2240])
                        (mem:SF (unspec:DI [
                                    (reg/f:DI 4 si [4841])
                                    (reg:V2DI 21 xmm0 [orig:6879
vect__1136.6096 ] [6879])
                                    (const_int 4 [0x4])
                                ] UNSPEC_VSIBADDR) [0  S4 A8])
                        (mem:BLK (scratch) [0  A8])
                        (reg:V4SF 23 xmm2 [orig:2240 vect__1137.6099 ] [2240])
                    ] UNSPEC_GATHER))
            (clobber (reg:V4SF 23 xmm2 [orig:2240 vect__1137.6099 ] [2240]))
        ]) module_cu_gd.fppized.f90:1102 4603 {*avx2_gatherdiv4sf}
     (nil))
module_cu_gd.fppized.f90:1302:0: internal compiler error: in
extract_constrain_insn, at recog.c:2200
0xaf0548 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../gcc-fsf-trunk/gcc/rtl-error.c:109
0xaf056f _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../gcc-fsf-trunk/gcc/rtl-error.c:120
0xabe03d extract_constrain_insn(rtx_insn*)
        ../../gcc-fsf-trunk/gcc/recog.c:2200
0xa9e185 reload_cse_simplify_operands
        ../../gcc-fsf-trunk/gcc/postreload.c:408
0xa9f245 reload_cse_simplify
        ../../gcc-fsf-trunk/gcc/postreload.c:194
0xa9f245 reload_cse_regs_1
        ../../gcc-fsf-trunk/gcc/postreload.c:233
0xaa0b13 reload_cse_regs
        ../../gcc-fsf-trunk/gcc/postreload.c:81
0xaa0b13 execute
        ../../gcc-fsf-trunk/gcc/postreload.c:2350
Please submit a full bug report,
with preprocessed source if appropriate.
(Snip)

I am trying to get a reduced test case.

But the Bug seems to starts from r227382 

commit 0af99ebfea26293fc900fe9050c5dd514005e4e5
    2015-09-01  Vladimir Makarov  <vmaka...@redhat.com>

        PR target/61578
        * lra-lives.c (process_bb_lives): Process move pseudos with the
        same value for copies and preferences
        * lra-constraints.c (match_reload): Create match reload pseudo
        with the same value from single dying input pseudo.

Reply via email to