This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

c++/7099: G++ doesn't set the noreturn attribute on std::exit and std::abort


>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:


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