This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/52092] [4.7 Regression] ICE: internal consistency failure
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 02 Feb 2012 05:56:30 +0000
- Subject: [Bug rtl-optimization/52092] [4.7 Regression] ICE: internal consistency failure
- Auto-submitted: auto-generated
- References: <bug-52092-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52092
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-02 05:56:30 UTC ---
Here is a slightly more reduced testcase (which only has one function):
int a,b,c,d,e,f,g;
void fn16 ()
{
for (;;)
{
int *h = 0;
int **j = &h;
if (e)
{
g = d||a?a:b;
if ((char)(3*g))
{
h = &f;
*h = 0;
}
**j = 0;
}
}
}