stdcxx-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Created: (STDCXX-890) [HP aCC 6] add __attribute__((noreturn))
Date Wed, 23 Apr 2008 04:49:31 GMT
[HP aCC 6] add __attribute__((noreturn))
----------------------------------------

                 Key: STDCXX-890
                 URL: https://issues.apache.org/jira/browse/STDCXX-890
             Project: C++ Standard Library
          Issue Type: Improvement
          Components: Build
    Affects Versions: 4.2.0
         Environment: aCC: HP aC++/ANSI C B3910B A.06.00 [Aug 25 2004]
            Reporter: Martin Sebor
            Assignee: Martin Sebor
             Fix For: 4.2.1


Like gcc, HP aCC 6 supports [{{\_\_attribute__((noreturn))}}|http://docs.hp.com/en/7730/newhelp0610/pragmas.htm#noreturn]
to indicate to the optimizer that a function does not return. Making use of the attribute
on the declaration of {{\_\_rw::__rw_assert_fail()}} will silence certain warnings and might
improve generated code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message