[Bug tree-optimization/56075] [gcc-4.7.1] 64-bit version, -Os eliminate some line of code which working fine in gcc-4.6.2 64-bit version

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 23 11:27:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56075

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-23 11:26:50 UTC ---
Non-preprocessed testcase is useless (the original isn't preprocessed either). 
But furthermore, why do you expect that foo won't be optimized just into an
empty function?  If fun is inlined, it doesn't have any side-effects.



More information about the Gcc-bugs mailing list