------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 06:24 ------- Ignore the comment about fold, copy prop is doing its job.
Also here is a testcase which can be repduced with a simple -O2 so this is definitely a regression now and not just a latent bug waiting to be exposed by other changes: int h(int); int t; static inline int f(const int i) { int tt = i; _Bool a = i < t; if (a) return h(t); return 9; } int g(void) { return f(0x7FFFFFFF); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23476