[Bug middle-end/52375] [4.7 Regression] internal compiler error: in extract_insn, at recog.c:2123 at -O3 -mfpu=neon

2012-02-27 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52375

--- Comment #8 from Richard Guenther rguenth at gcc dot gnu.org 2012-02-27 
09:18:03 UTC ---
(In reply to comment #7)
 If I bisect trunk configured as a cross to arm-linux-gnueabi, then the ICE
 starts with r181014:
 http://gcc.gnu.org/ml/gcc-cvs/2011-11/msg00300.html
 
 I still can't reproduce with the reduced test case.

This just enables more vectorization.


[Bug middle-end/52375] [4.7 Regression] internal compiler error: in extract_insn, at recog.c:2123 at -O3 -mfpu=neon

2012-02-27 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52375

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.7.0


[Bug middle-end/52375] [4.7 Regression] internal compiler error: in extract_insn, at recog.c:2123 at -O3 -mfpu=neon

2012-02-25 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52375

--- Comment #4 from Mikael Pettersson mikpe at it dot uu.se 2012-02-25 
11:51:39 UTC ---
The reduced test case doesn't ICE gcc-4.7 for me.  The original one does.


[Bug middle-end/52375] [4.7 Regression] internal compiler error: in extract_insn, at recog.c:2123 at -O3 -mfpu=neon

2012-02-25 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52375

--- Comment #5 from Steven Bosscher steven at gcc dot gnu.org 2012-02-25 
12:29:08 UTC ---
The unreduced test case fails for me with options:
-march=armv7-a -mfloat-abi=softfp -mfpu=neon -O -ftree-vectorize

The compiler is trunk r184372, configured for arm-eabi.

Backtrace:
#0  0x00eccd50 in fancy_abort ()
#1  0x009d30b3 in _fatal_insn ()
#2  0x009d30f2 in _fatal_insn_not_found ()
#3  0x009a646e in extract_insn ()
#4  0x008868ec in instantiate_virtual_regs ()
#5  0x00985d39 in execute_one_pass ()
#6  0x009860a5 in execute_pass_list ()
#7  0x009860b7 in execute_pass_list ()
#8  0x00a9c6d8 in tree_rest_of_compilation ()
#9  0x00763e0a in cgraph_expand_function ()
#10 0x0076783a in cgraph_optimize ()
#11 0x00767d95 in cgraph_finalize_compilation_unit ()
#12 0x005871bb in cp_write_global_declarations ()
#13 0x00a2c387 in do_compile ()
#14 0x00a2ca74 in toplev_main ()


[Bug middle-end/52375] [4.7 Regression] internal compiler error: in extract_insn, at recog.c:2123 at -O3 -mfpu=neon

2012-02-25 Thread Bernhard.Rosenkranzer at linaro dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52375

--- Comment #6 from Bernhard Rosenkränzer Bernhard.Rosenkranzer at linaro dot 
org 2012-02-25 14:08:03 UTC ---
Reduced test case fails for me with 184223 (so does the unreduced one):

[bero@localhost ~]$ /opt/android-toolchain-4.7/bin/arm-linux-androideabi-g++ -O
-ftree-vectorize -mfpu=neon -march=armv7-a -mfloat-abi=softfp -o /tmp/test.o
Input.cpp 
Input.cpp: In member function 'void D::something(const B*)':
Input.cpp:41:1: error: unrecognizable insn:
(insn 9 8 10 3 (set (reg:V4SI 158)
(lshiftrt:V4SI (reg:V4SI 159)
(subreg:V4SI (reg:OI 154 [ vect_array.25 ]) 0))) Input.cpp:18 -1
 (nil))
Input.cpp:41:1: internal compiler error: in extract_insn, at recog.c:2123
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.

If it matters (I don't think it should...), this is an i686-pc-linux-gnu -
arm-linux-androideabi crosscompiler.


[Bug middle-end/52375] [4.7 Regression] internal compiler error: in extract_insn, at recog.c:2123 at -O3 -mfpu=neon

2012-02-25 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52375

--- Comment #7 from Mikael Pettersson mikpe at it dot uu.se 2012-02-25 
18:56:44 UTC ---
If I bisect trunk configured as a cross to arm-linux-gnueabi, then the ICE
starts with r181014:
http://gcc.gnu.org/ml/gcc-cvs/2011-11/msg00300.html

I still can't reproduce with the reduced test case.


[Bug middle-end/52375] [4.7 Regression] internal compiler error: in extract_insn, at recog.c:2123 at -O3 -mfpu=neon

2012-02-24 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52375

Mikael Pettersson mikpe at it dot uu.se changed:

   What|Removed |Added

 CC||mikpe at it dot uu.se

--- Comment #1 from Mikael Pettersson mikpe at it dot uu.se 2012-02-24 
19:52:14 UTC ---
On arm-linux-gnueabi this ICEs gcc 4.7 and 4.6, but not 4.5 or 4.4.


[Bug middle-end/52375] [4.7 Regression] internal compiler error: in extract_insn, at recog.c:2123 at -O3 -mfpu=neon

2012-02-24 Thread Bernhard.Rosenkranzer at linaro dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52375

Bernhard Rosenkränzer Bernhard.Rosenkranzer at linaro dot org changed:

   What|Removed |Added

  Attachment #26744|0   |1
is obsolete||

--- Comment #2 from Bernhard Rosenkränzer Bernhard.Rosenkranzer at linaro dot 
org 2012-02-24 20:35:08 UTC ---
Created attachment 26747
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26747
Reduced test case

Reduced test case


[Bug middle-end/52375] [4.7 Regression] internal compiler error: in extract_insn, at recog.c:2123 at -O3 -mfpu=neon

2012-02-24 Thread Bernhard.Rosenkranzer at linaro dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52375

Bernhard Rosenkränzer Bernhard.Rosenkranzer at linaro dot org changed:

   What|Removed |Added

  Known to fail||4.7.0

--- Comment #3 from Bernhard Rosenkränzer Bernhard.Rosenkranzer at linaro dot 
org 2012-02-24 20:37:45 UTC ---
Works here with the Linaro version of 4.6.3 (didn't try stock 4.6.3 yet), ICEs
with stock 4.7 from a couple of days ago


[Bug middle-end/52375] [4.7 Regression] internal compiler error: in extract_insn, at recog.c:2123 at -O3 -mfpu=neon

2012-02-24 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52375

Steven Bosscher steven at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2012-02-24
 Ever Confirmed|0   |1