[Bug middle-end/26616] internal compiler error: in fixup_var_refs_1

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 9 14:21:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list