------- Comment #11 from pinskia at gcc dot gnu dot org 2007-06-26 21:33 ------- I can find a testcase, if we change where we generate the promotion at the RTL expansion time, worse code. Simple testcase:
int f(int b, char a) { if (b) a = 1; g(a); } You can see the difference by looking 3.4 vs 4.2's code generation :). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32492