This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ATTRIBUTE_NORETURN on sets_cc0_p
- To: law at cygnus dot com
- Subject: Re: ATTRIBUTE_NORETURN on sets_cc0_p
- From: Andreas Schwab <schwab at issan dot informatik dot uni-dortmund dot de>
- Date: 19 Oct 1998 10:29:50 +0200
- Cc: mark at markmitchell dot com, egcs at cygnus dot com, "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- References: <17159.908609726@hurl.cygnus.com>
Jeffrey A Law <law@cygnus.com> writes:
|> In message <vyzvhlkykg9.fsf@issan.cs.uni-dortmund.de>you write:
|> > It looks pretty bogus to me to have a function that returns a value but
|> > does not return. ATTRIBUTE_NORETURN does not make sense on a non-void
|> > function and is most likely misplaced here.
|> For a non-cc0 machine sets_cc0_p unconditionally aborts.
In other words, for non-cc0 machine it is never called, is it? Thus the
actual declaration doesn't matter at all then?
Andreas.