This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/7099: G++ doesn't set the noreturn attribute on std::exit and std::abort
- From: ghazi at caip dot rutgers dot edu
- To: gcc-gnats at gcc dot gnu dot org
- Cc: mark at codesourcery dot com, roger at eyesopen dot com
- Date: 21 Jun 2002 15:33:33 -0000
- Subject: c++/7099: G++ doesn't set the noreturn attribute on std::exit and std::abort
- Reply-to: ghazi at caip dot rutgers dot edu
>Number: 7099
>Category: c++
>Synopsis: G++ doesn't set the noreturn attribute on std::exit and std::abort
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: pessimizes-code
>Submitter-Id: net
>Arrival-Date: Fri Jun 21 08:36:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Kaveh Ghazi
>Release: gcc version 3.2 20020620 (experimental)
>Organization:
>Environment:
all
>Description:
G++ doesn't set the noreturn attribute on std::exit and std::abort. This results in missed optimizations and spurious warnings. For a testcase see: http://gcc.gnu.org/ml/gcc-patches/2002-06/msg01629.html
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: