http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51644

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-12-21
          Component|c                           |middle-end
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-21 
09:48:11 UTC ---
We are gimplifying this to

a (int s)
{
  struct  args[1];

  try
    {
      __builtin_va_start (&args, 0);
      b (s, &args);
      __builtin_va_end (&args);
    }
  finally
    {
      args = {CLOBBER};
    }
}

So the cleanup returns normally when b throws.  The ehcleanup stuff does
not trigger at -O0.

Reply via email to