[Bug sanitizer/78270] [7 Regression] ICE in gimplify_switch_expr, at gimplify.c:2272
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 11 10:18:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78270
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Not completelly fixed, there's another case from linux kernel.
I've been testing patch for that:
// { dg-do compile }
// { dg-additional-options "-Wno-switch-unreachable" }
int a;
void
fn1 ()
{
switch (a)
{
char b;
case 8:
&b;
switch (0)
;
}
}
More information about the Gcc-bugs
mailing list