This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/26616] internal compiler error: in fixup_var_refs_1
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Mar 2006 14:21:26 -0000
- Subject: [Bug middle-end/26616] internal compiler error: in fixup_var_refs_1
- References: <bug-26616-12322@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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