ATTRIBUTE_NORETURN on sets_cc0_p

Andreas Schwab schwab@issan.informatik.uni-dortmund.de
Mon Oct 19 01:30:00 GMT 1998


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.



More information about the Gcc mailing list