[Bug rtl-optimization/35643] gcc-4.2 -O1 -fstrict-aliasing misoptimization

2008-03-19 Thread edwintorok at gmail dot com
--- Comment #2 from edwintorok at gmail dot com 2008-03-19 19:35 --- Created an attachment (id=15346) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15346&action=view) another reduced testcase I reduced the testcase further using delta, however I had to be careful to avoid deleting

[Bug rtl-optimization/35643] gcc-4.2 -O1 -fstrict-aliasing misoptimization

2008-03-19 Thread edwintorok at gmail dot com
--- Comment #1 from edwintorok at gmail dot com 2008-03-19 18:54 --- Created an attachment (id=15345) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15345&action=view) testcase Some observations: If you remove some dead code the optimization bug goes away: Remove either of these a