ICE: in vect_is_simple_use_1, at tree-vect-stmts.c (-ftree-vectorize -mfpu=neon)

Bug #959242 reported by Juha Kallioinen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro GCC
Fix Released
Medium
Ulrich Weigand
4.6
Fix Released
Medium
Ulrich Weigand
4.7
Fix Released
Medium
Ulrich Weigand

Bug Description

I was building speex 1.2rc1 (http://www.speex.org/) with linaro gcc 4.6 2012.02/03 and got this ICE.

kalahost [14:32] (~/tmp/spee): gcc-linaro-arm-linux-gnueabi-2012.02-20120222_linux/bin/arm-linux-gnueabi-gcc -O1 -ftree-vectorize -mfpu=neon minimal-test.i -c
minimal-test.i: In function ‘lsp_quant_nb’:
minimal-test.i:14:6: internal compiler error: in vect_is_simple_use_1, at tree-vect-stmts.c:5867
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.launchpad.net/gcc-linaro> for instructions.

I've tested it with FSF gcc 4.6.3 and it does not crash.

The minimal options needed to reproduce this are -O1 -ftree-vectorize -mfpu=neon.

Attached is a reduced test case.

Revision history for this message
Juha Kallioinen (juha-kallioinen) wrote :
Revision history for this message
Zhenqiang Chen (zhenqiang-chen) wrote :

Thank you for the bug report. I can reproduce this in linaro gcc 4.6 2012.02/03 release. And it reports the same error with -O2/O3 -ftree-vectorize -mfpu=neon

It works without -mfpu=neon.

Revision history for this message
Zhenqiang Chen (zhenqiang-chen) wrote :

It also happens in the upstream 4.7 release candidate. Please log it in GCC bugzilla.

arm-linux-gnueabi-gcc -O1 -ftree-vectorize -mfpu=neon minimal-test.i -c
minimal-test.i: In function 'lsp_quant_nb':
minimal-test.i:14:6: internal compiler error: in vect_is_simple_use_1, at tree-vect-stmts.c:6057
Please submit a full bug report,
with preprocessed source if appropriate.

Revision history for this message
Juha Kallioinen (juha-kallioinen) wrote :
Changed in gcc-linaro:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Ulrich Weigand (uweigand)
Changed in gcc-linaro:
status: Confirmed → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.