------- Comment #10 from thomas at archlinux dot org 2010-05-05 10:58 ------- (In reply to comment #8) > Waiting for a testcase (which could be just preprocessed source of > sed.c).
Attached. If I find a better (shorter) test case, I'll add that too. > Can you reproduce the issue when you add -fno-inline? Yes. > Can you reproduce the issue with the current 4.5 branch? We've scheduled to build the latest snapshot next week. Maybe I can do it before then, I'll let you know as soon as I get to try. > As you can reproduce with -O1 I doubt this is an issue with type-punning. That was my thought too, but it seems to happen only in places where type-punning occurs. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43987