[Bug c/101868] New: Incorrect reordering in -O2 with LTO

2021-08-11 Thread gcc at alanwu dot email via Gcc-bugs
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

[Bug c++/101316] New: [[maybe_unused]] to the right of array size accepted

2021-07-04 Thread gcc at alanwu dot email via Gcc-bugs
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

[Bug c/101265] C2X [[maybe_unused]] ignored when placed after array declaration

2021-07-01 Thread gcc at alanwu dot email via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101265 Alan Wu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/101265] C2X [[maybe_unused]] ignored when placed after array declaration

2021-06-30 Thread gcc at alanwu dot email via Gcc-bugs
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

[Bug c/101265] New: C2X [[maybe_unused]] ignored when placed after array declaration

2021-06-29 Thread gcc at alanwu dot email via Gcc-bugs
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