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