------- Comment #3 from pinskia at gcc dot gnu dot org 2008-09-14 04:50 ------- Here is a reduced testcase without -ffast-math (aka it also applies to integers :) ): int zot(int ); struct bar { ~bar() { } }; int x; void doit(int a, int b, int c) { bar pn; int b1 = zot(a) * c; int b2 = zot(b) * c; x = b1 + b2; }
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37456