This is the mail archive of the gcc@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]

Re: ATTRIBUTE_NORETURN on sets_cc0_p


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.


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