https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101868
Bug ID: 101868
Summary: Incorrect reordering in -O2 with LTO
Product: gcc
Version: 11.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101316
Bug ID: 101316
Summary: [[maybe_unused]] to the right of array size accepted
Product: gcc
Version: 11.1.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101265
Alan Wu changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101265
--- Comment #2 from Alan Wu ---
> int thisdoesnt[1] [[maybe_unused]];
> Whereas that one appertains to the array type
This seems to contradict the latest document I could find about the attribute
syntax proposal. From N2335
http://www.o
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101265
Bug ID: 101265
Summary: C2X [[maybe_unused]] ignored when placed after array
declaration
Product: gcc
Version: 11.1.0
Status: UNCONFIRMED
Severity: normal