Backport the fix for PR51799
Bug #917967 reported by
Michael Hope
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro GCC |
Fix Released
|
High
|
Michael Hope | ||
gcc |
Fix Released
|
Medium
|
Bug Description
Ira says:
"""
In over-widening pattern we expect the last statement to be a type
demotion, but don't check this properly. The patch fixes the check, and
also updates vect-widen-
pattern instead of over-widening pattern.
"""
We have the same patches. Backport the fix.
Related branches
lp:~michaelh1/gcc-linaro/pr51799
Merged
into
lp:gcc-linaro/4.6
- Andrew Stubbs (community): Approve
Changed in gcc-linaro: | |
assignee: | nobody → Michael Hope (michaelh1) |
status: | Triaged → In Progress |
Changed in gcc: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Changed in gcc-linaro: | |
status: | In Progress → Fix Committed |
milestone: | none → 4.6-2012.02 |
Changed in gcc-linaro: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Created attachment 26281
Failing test case.
The attached test case causes the compiler to ICE as follows:
$ arm-none-eabi-gcc -O1 -ftree-vectorize -mcpu=cortex-a9 \ simple_ use_1, at tree-vect- stmts.c: 5987 gcc.gnu. org/bugs. html> for instructions.
-mfpu=neon -mfloat-abi=softfp ice.c
ice.c: In function 'f0a':
ice.c:7:1: internal compiler error: in vect_is_
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://
Checked against trunk revision 183018.