Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-890

[HP aCC 6] add __attribute__((noreturn))

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.2.1
    • Component/s: Build and Installation
    • Labels:
      None
    • Environment:

      aCC: HP aC++/ANSI C B3910B A.06.00 [Aug 25 2004]

    • Severity:
      Inefficiency

      Description

      Like gcc, HP aCC 6 supports __attribute__((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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sebor Martin Sebor
                Reporter:
                sebor Martin Sebor

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h

                    Issue deployment