[Bug c++/95553] New: Incorrect/misspelled designators not triggering compilation error

2020-06-05 Thread alex at weej dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: alex at weej dot com Target Milestone: --- The following code, I believe, should not compile in C++20 or otherwise (we use it in gnu++17 mode). #include auto take_a_string(std::string

[Bug c++/80293] New: g++ 5.4 -> 6.1 regression: unnecessary code at -O2 (-O1 is fine)

2017-04-03 Thread alex at weej dot com
mal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: alex at weej dot com Target Milestone: --- Created attachment 41110 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41110&action=edit repro.cpp Apologies for the poor