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: Andreas Schwab <schwab at issan dot informatik dot uni-dortmund dot de>
- Subject: Re: ATTRIBUTE_NORETURN on sets_cc0_p
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sat, 17 Oct 1998 01:35:26 -0600
- cc: mark at markmitchell dot com, egcs at cygnus dot com, "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Reply-To: law at cygnus dot com
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.
For a cc0 machine it returns a value.
jeff