------- Comment #11 from pinskia at gcc dot gnu dot org 2005-11-03 01:11 ------- There is no size regression here with -Os. The only thing which will help here is having load PRE on the tree level. Which makes the trees look like: int f(void) { static int i; int i1; i1 = i; if (i1 == 0) i = i1 = 2; return i1; }
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23488