gcc.dg/Warray-bounds-3.c test regression
Bug #602277 reported by
Andrew Stubbs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro GCC |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Linaro GCC has a test regression vs. FSF GCC:
+FAIL: gcc.dg/
This is caused by an unexpected warning message and depends on the use of -funroll-loops. It is thought to be quite hard to fix.
[CodeSourcery internal ID #5156]
Changed in gcc-linaro: | |
importance: | Undecided → Low |
tags: | added: testsuite |
Changed in gcc-linaro: | |
status: | New → Confirmed |
tags: | added: regression |
To post a comment you must log in.
More infomation:
The warnings are correct. The reason it's hard to fix is that they only occur when you use -funroll-loops, so it's hard to harden the testcase against it.
The way to fix it would be to fix the compiler such that it gives consistent warning messages across all optimization levels, and then fix up the testcase to match.