http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49039
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work|4.5.3 | Version|4.6.0 |4.6.1 Target Milestone|4.6.1 |4.3.6 Summary|[4.6/4.7 Regression] LLVM |[4.3/4.4/4.5 Regression] |StringRef miscompilation |LLVM StringRef |with -O2 |miscompilation with -O2 --- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-18 20:46:10 UTC --- Fixed for 4.6+ so far. The execute/pr49039.c testcase fails in 4.3/4.4/4.5 too though and worked in 4.2, so regression on those branches too.