This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR c/11370: Skip stack adjust after noreturn call
- From: Richard Henderson <rth at redhat dot com>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 8 Jul 2003 16:03:57 -0700
- Subject: Re: [PATCH] PR c/11370: Skip stack adjust after noreturn call
- References: <Pine.LNX.4.44.0307052126270.1926-100000@www.eyesopen.com>
> PR c/11370
> * calls.c (emit_call_1): Don't bother popping the arguments off of
> the stack after a noreturn function call; The adjustment is dead.
> (expand_call): Likewise.
>
> * gcc.dg/Wunreachable-6.c: New testcase.
> * gcc.dg/Wunreachable-7.c: New testcase.
Ok.
r~