------- Comment #5 from pinskia at gcc dot gnu dot org 2006-03-09 14:21 ------- Reduced testcase: int dev_alloc_name() { int i = 0; f(&i); if (__builtin_constant_p(i)) g(); }
---------- This is fixed in 4.0.0 and above by the tree-ssa merge and cannot be invoked in 4.0.0 and above because __builtin_constant_p is "foldded"/simplified early on. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26616