[Bug c++/55776] -Wshadow generates an incorrect warning with enum classes

2020-09-17 Thread ian.s.mcinerney at ieee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55776 Ian McInerney changed: What|Removed |Added CC||ian.s.mcinerney at ieee dot org

[Bug c++/96063] [10/11 Regression] mismatched-tags warnings in stdlib headers

2020-07-13 Thread ian.s.mcinerney at ieee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96063 --- Comment #17 from Ian McInerney --- I think that r11-1899 is the more important one to backport, since that will also allow for warnings that are generated by headers inside "-isystem" include directories to not have the notes printed without

[Bug c++/96063] [10/11 Regression] mismatched-tags warnings in stdlib headers

2020-07-13 Thread ian.s.mcinerney at ieee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96063 --- Comment #15 from Ian McInerney --- Martin, can you backport you compiler patch to the GCC10 branch so it is fixed there as well? As I said, this makes the warning essentially useless to use on large codebases with the current release.

[Bug c++/96063] [10/11 Regression] mismatched-tags warnings in stdlib headers

2020-07-07 Thread ian.s.mcinerney at ieee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96063 --- Comment #14 from Ian McInerney --- Is it possible to backport this to the GCC 10 branch? The printing of these notes makes this warning almost impossible to use on any large project that uses the standard library.

[Bug libstdc++/96063] mismatched-tags warnings in stdlib headers

2020-07-06 Thread ian.s.mcinerney at ieee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96063 --- Comment #6 from Ian McInerney --- They are showing up when I don't have -Wsystem-headers passed in on the command line. Compiling the attached test program with `g++ -Wmismatched-tags main.cpp` shows the warnings. All that is doing is

[Bug libstdc++/96063] mismatched-tags warnings in stdlib headers

2020-07-06 Thread ian.s.mcinerney at ieee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96063 --- Comment #5 from Ian McInerney --- Created attachment 48837 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48837=edit test program

[Bug libstdc++/96063] mismatched-tags warnings in stdlib headers

2020-07-06 Thread ian.s.mcinerney at ieee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96063 --- Comment #2 from Ian McInerney --- I'd be fine with disabling them for the library (although I would have hoped they would have been disabled there from the start since warnings from the library weren't requested), but as it stands currently

[Bug libstdc++/96063] New: mismatched-tags warnings in stdlib headers

2020-07-04 Thread ian.s.mcinerney at ieee dot org
: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ian.s.mcinerney at ieee dot org Target Milestone: --- There are several places in the library headers where warnings can be emitted for mismatched-tags (this was found when a mingw g++ compile misbehaved and printed

[Bug inline-asm/93190] Failure to link with .note.GNU-stack in inline assembly

2020-01-07 Thread ian.s.mcinerney at ieee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93190 --- Comment #5 from Ian McInerney --- Created attachment 47605 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47605=edit Verbose output from successful linking

[Bug inline-asm/93190] Failure to link with .note.GNU-stack in inline assembly

2020-01-07 Thread ian.s.mcinerney at ieee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93190 --- Comment #4 from Ian McInerney --- Created attachment 47604 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47604=edit GCC verbose output from failed linking

[Bug inline-asm/93190] Failure to link with .note.GNU-stack in inline assembly

2020-01-07 Thread ian.s.mcinerney at ieee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93190 --- Comment #3 from Ian McInerney --- Note that I am compiling this with g++ -fno-lto -v -Wl,-v main.cpp

[Bug inline-asm/93190] Failure to link with .note.GNU-stack in inline assembly

2020-01-07 Thread ian.s.mcinerney at ieee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93190 --- Comment #2 from Ian McInerney --- Created attachment 47603 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47603=edit Object file from successful linking

[Bug inline-asm/93190] Failure to link with .note.GNU-stack in inline assembly

2020-01-07 Thread ian.s.mcinerney at ieee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93190 --- Comment #1 from Ian McInerney --- Created attachment 47602 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47602=edit Object file from failed linking

[Bug inline-asm/93190] New: Failure to link with .note.GNU-stack in inline assembly

2020-01-07 Thread ian.s.mcinerney at ieee dot org
Priority: P3 Component: inline-asm Assignee: unassigned at gcc dot gnu.org Reporter: ian.s.mcinerney at ieee dot org Target Milestone: --- Created attachment 47601 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47601=edit Example program When compiling inl