This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/77289] [7 Regression] ICE in extract_constrain_insn, at recog.c:2212 on powerpc64


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

Peter Bergner <bergner at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-08-19
     Ever confirmed|0                           |1

--- Comment #1 from Peter Bergner <bergner at gcc dot gnu.org> ---
Confirmed.  I'll have a look.

Here's a smaller test case:

bergner@genoa:~/gcc/BUGS/PR77289$ cat pr77289.i 
void dummy (float *);
float bar (float);
void
foo (long a, long b)
{
  float c[0];
  b = 0;
  for (; b < a; b++)
    c[b] = bar (c[b]);
  dummy (c);
}
bergner@genoa:~/gcc/BUGS/PR77289$
/home/bergner/gcc/build/gcc-fsf-mainline-pr77289-debug/gcc/xgcc
-B/home/bergner/gcc/build/gcc-fsf-mainline-pr77289-debug/gcc -m32 -O3
-mcpu=power7 -funroll-loops -ffast-math -S pr77289.i 
pr77289.i: In function ‘foo’:
pr77289.i:11:1: error: insn does not satisfy its constraints:
 }
 ^
(insn 77 79 71 3 (parallel [
            (set (reg:SF 33 1)
                (mem:SF (plus:SI (reg/f:SI 1 1)
                        (const_int 8 [0x8])) [1 MEM[base: _17, offset: 0B]+0 S4
A32]))
            (set (reg:SI 31 31 [orig:208 ivtmp.6 ] [208])
                (plus:SI (reg/f:SI 1 1)
                    (const_int 8 [0x8])))
        ]) pr77289.i:9 617 {*movsf_update1}
     (nil))
pr77289.i:11:1: internal compiler error: in extract_constrain_insn, at
recog.c:2212
0x10c634f3 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /home/bergner/gcc/gcc-fsf-mainline-pr77289/gcc/rtl-error.c:108
0x10c6358f _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /home/bergner/gcc/gcc-fsf-mainline-pr77289/gcc/rtl-error.c:119
0x10be640f extract_constrain_insn(rtx_insn*)
        /home/bergner/gcc/gcc-fsf-mainline-pr77289/gcc/recog.c:2212
0x10a58b0b check_rtl
        /home/bergner/gcc/gcc-fsf-mainline-pr77289/gcc/lra.c:2108
0x10a59db7 lra(_IO_FILE*)
        /home/bergner/gcc/gcc-fsf-mainline-pr77289/gcc/lra.c:2516
0x109d5813 do_reload
        /home/bergner/gcc/gcc-fsf-mainline-pr77289/gcc/ira.c:5385
0x109d6047 execute
        /home/bergner/gcc/gcc-fsf-mainline-pr77289/gcc/ira.c:5569
Please submit a full bug report,

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]