------- Comment #1 from rguenth at gcc dot gnu dot org 2007-04-27 12:04 ------- I think this is ipa-pure-const again:
Function found to be const: bla Function found to be const: main and DCE removes pure/const function calls. (We should also not CSE such calls) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31727