This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR c/11370: Skip stack adjust after noreturn call


> 	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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]