ICE with 4.6 when using neon intrinsics
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Linaro Android |
Fix Released
|
High
|
Bernhard Rosenkraenzer | |
| Linaro GCC |
Fix Released
|
High
|
Ramana Radhakrishnan |
Bug Description
The current Linaro GCC 4.6 gets an ICE when compiling Qt in case neon support is enabled:
gcc -fpreprocessed -c testcase.i -march=armv7-a -mfloat-abi=hard -mfpu=neon -O1
testcase.i: In function 'foo':
testcase.i:7:29: internal compiler error: in expand_expr_real_1, at expr.c:8936
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://
Here's a reduced testcase (thanks Uli):
$ cat testcase.i
void foo (void)
{
__builtin_
int f;
for (f = 0; f < 128; f += 8)
_
}
Related branches
- Ulrich Weigand (community): Approve on 2012-06-28
Ken Werner (kwerner) wrote : | #1 |
description: | updated |
Ramana Radhakrishnan (ramana) wrote : | #2 |
I have been able to reproduce this for Linaro GCC 4.6 and there is something going on in the way in which the backend expands these builtins.
Ramana
Changed in gcc-linaro: | |
importance: | Undecided → High |
assignee: | nobody → Ramana Radhakrishnan (ramana) |
status: | New → Triaged |
Changed in gcc-linaro: | |
status: | Triaged → In Progress |
milestone: | none → 4.6-2012.07 |
Changed in linaro-android: | |
assignee: | nobody → Bernhard Rosenkraenzer (berolinux) |
status: | New → Triaged |
Ramana Radhakrishnan (ramana) wrote : | #3 |
Bero can you now try tip of tree.
Ramana
Changed in gcc-linaro: | |
status: | In Progress → Fix Committed |
Changed in gcc-linaro: | |
status: | Fix Committed → Fix Released |
Changed in linaro-android: | |
milestone: | none → 12.07 |
Changed in linaro-android: | |
status: | Triaged → Fix Committed |
status: | Fix Committed → Triaged |
milestone: | 12.07 → 12.08 |
importance: | Undecided → High |
Changed in linaro-android: | |
milestone: | 12.08 → 12.07 |
status: | Triaged → Fix Released |
It looks like the issue has been introduced by: bazaar. launchpad. net/~linaro- toolchain- dev/gcc- linaro/ 4.6/revision/ 106893
http://
which is a fix for: bug #990530
Linaro GCC 4.7 is not affected.