https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113674
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[[____attr____]] causes |[11/12/13/14 Regression]
|internal compiler error: in |[[____attr____]] causes
|decl_attributes, at |internal compiler error: in
|attribs.cc:776 |decl_attributes, at
| |attribs.cc:776
Keywords| |ice-on-valid-code
Priority|P3 |P2
Target Milestone|--- |11.5
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
g++9:
q.C:2:9: warning: ‘__noreturn__’ attribute directive ignored [-Wattributes]
2 | g (int i)
| ^
Caused by my r10-1214-g1bf32c1141e230 I think:
commit 1bf32c1141e230743f9248f7f7bf8aab91823df5
Author: Marek Polacek <[email protected]>
Date: Wed Jun 19 21:27:45 2019 +0000
PR c++/60364 - noreturn after first decl not diagnosed.
Marking as ICE-on-valid because we should just ignore the attribute.