Interesting - with our internal compiler version it only triggered with the 2 options combined, not sure why. But I just verified that on the gcc 4.6 branch it only needed the -fPIE option. Sorry about that, I will remove the -W option from the test case.
Teresa On Thu, Dec 8, 2011 at 8:23 AM, Uros Bizjak <ubiz...@gmail.com> wrote: > On Thu, Dec 8, 2011 at 3:23 PM, Teresa Johnson <tejohn...@google.com> wrote: >> Sounds good. I will fix the 4.7 version to use the fpie target >> selector. The other thing I noticed is that you had removed the >> -Wwrite-strings option, but I needed to keep that as it was the >> combination of -fPIE and -Wwrite-strings that triggered the bug. > > No, the testacase ICEes also without -Wwrite-strings on unpatched gcc. > It is a warning option. > > Uros. -- Teresa Johnson | Software Engineer | tejohn...@google.com | 408-460-2413