[Bug tree-optimization/46049] [4.6 Regression] ICE: in expand_widen_pattern_expr, at optabs.c:522 with -ftree-vectorize

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Oct 16 17:43:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46049

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2010.10.16 17:43:32
                 CC|                            |hjl.tools at gmail dot com,
                   |                            |irar at il dot ibm.com
   Target Milestone|---                         |4.6.0
     Ever Confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-16 17:43:32 UTC ---
(In reply to comment #0)
> Created attachment 22062 [details]
> reduced testcase
> 
> The testcase crashes with two different ICEs, depending on supplied flags.
> 
> ICE 1:
> $ gcc -O -ftree-vectorize pr46049.c  
> pr46049.c: In function 'foo':
> pr46049.c:9:6: internal compiler error: in expand_widen_pattern_expr, at
> optabs.c:522
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
>
> ICE 2:
> $ gcc -O -ftree-vectorize -ftree-pre pr46049.c 
> pr46049.c: In function 'foo':
> pr46049.c:18:1: error: unrecognizable insn:
> (insn 62 61 63 6 (set (reg:V4SI 158)
>         (vec_merge:V4SI (vec_duplicate:V4SI (reg/v:HI 152 [ x ]))
>             (const_vector:V4SI [
>                     (const_int 0 [0])
>                     (const_int 0 [0])
>                     (const_int 0 [0])
>                     (const_int 0 [0])
>                 ])
>             (const_int 1 [0x1]))) pr46049.c:11 -1
>      (nil))
> pr46049.c:18:1: internal compiler error: in extract_insn, at recog.c:2110
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> 
> Tested versions:
> r165540 - crash (with PR45352 fix, but that affects only haifa scheduler)
> r163636 - OK

Both are caused by revision 165412:

http://gcc.gnu.org/ml/gcc-cvs/2010-10/msg00596.html



More information about the Gcc-bugs mailing list