------- Comment #1 from galtgendo at o2 dot pl 2009-07-02 18:02 ------- Created an attachment (id=18124) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18124&action=view) a testcase for the bug
As I said in the Gentoo bug, one version of the 'area' line produces correct result, other does not and while that 'printf' should arithmetically be a no-op, it's required for correct compilation. I forgot to add that at least -O is required to trigger the bug, with -O0, both versions work fine, even without 'printf'. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40623