This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: noreturn function attribute and ret asm instruction
- From: Richard Henderson <rth at redhat dot com>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: Hans-Peter Nilsson <hp at bitrange dot com>, Jim Wilson <wilson at tuliptree dot org>, Kristis Makris <kristis dot makris at asu dot edu>, gcc-bugs at gcc dot gnu dot org
- Date: Wed, 1 Oct 2003 09:21:11 -0700
- Subject: Re: noreturn function attribute and ret asm instruction
- References: <Pine.BSF.4.44.0309100659540.10663-100000@dair.pair.com> <87n0cl788p.fsf@egil.codesourcery.com>
On Wed, Oct 01, 2003 at 12:00:22AM -0700, Zack Weinberg wrote:
> It might be harder at the tree level; I'm not sure how noreturn is
> being represented in tree-ssa.
Only in the CFG. If there's no edge to exit, then there's
no flow to exit. You'd have to find a way to represent the
noreturn attribute in the ASM_EXPR so that it survives until
the CFG is created.
r~