------- Comment #5 from rguenth at gcc dot gnu dot org 2010-06-22 11:16 -------
gimplification is bogus:
switch (1) <default: <D.2122>, case 1: <D.2096>>
{
char x[0:D.2106] [value-expr: *x.0];
saved_stack.1 = __builtin_stack_save ();
try
{
<D.2096>:
...
}
finally
{
__builtin_stack_restore (saved_stack.1);
}
but pre-tree-ssa we didn't get it right either.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |middle-end
Keywords| |wrong-code
Known to fail| |3.4.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44613