https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113674
--- Comment #7 from GCC Commits ---
The master branch has been updated by Jakub Jelinek :
https://gcc.gnu.org/g:b42e978f29b33071addff6d7bb8bcdb11d176606
commit r14-8940-gb42e978f29b33071addff6d7bb8bcdb11d176606
Author: Jakub Jelinek
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113674
Jakub Jelinek changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113674
--- Comment #5 from Joseph S. Myers ---
C supports _Noreturn (and thus ___Noreturn__) as an attribute name, so that
code with "#define noreturn _Noreturn" (probably from stdnoreturn.h) works with
C23 [[noreturn]].
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113674
--- Comment #4 from Marek Polacek ---
Note that
[[pure]] int
g (int i)
{
return i;
}
doesn't crash: pure isn't a standard attribute. The crash seems to occur only
with an attribute that is registered twice: the GNU version and the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113674
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113674
--- Comment #2 from Marek Polacek ---
[[maybe_unused]] int
g (int i)
{
return i;
}
crashes in cc1plus since r8-2418-g577eec56569258 which is probably the real
culprit:
commit 577eec5656925889d99c658de2a54ba8bd3ebf79
Author: Martin
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113674
Richard Biener changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113674
Marek Polacek changed:
What|Removed |Added
Summary|[[attr]] causes |[11/12/13/14 Regression]