[Bug middle-end/51644] [4.7 Regression] va_list vs. warning: ‘noreturn’ function does return is not fixable
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 21 09:52:00 GMT 2011
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.
More information about the Gcc-bugs
mailing list