[Bug c++/99926] Parameter packs and variadic arguments: Clang, gcc, and msvc differ on this one

2021-04-16 Thread matthurd at acm dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99926 --- Comment #2 from Matt Hurd --- FWIW, MSVC claims to have fixed their bug in version 16.10 Preview 2, leaving just gcc generating incorrect code. https://developercommunity.visualstudio.com/t/parameter-packs-and-variadic-arguments-clang-gcc-a/

[Bug c++/99926] Parameter packs and variadic arguments: Clang, gcc, and msvc differ on this one

2021-04-06 Thread matthurd at acm dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99926 --- Comment #1 from Matt Hurd --- Just a correction to the commentary. The variadic after the pack is not unreachable as Richard Smith points out the following code can make the variadic argument reachable if you wrote such evil and it had a name

[Bug c++/99926] New: Parameter packs and variadic arguments: Clang, gcc, and msvc differ on this one

2021-04-06 Thread matthurd at acm dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99926 Bug ID: 99926 Summary: Parameter packs and variadic arguments: Clang, gcc, and msvc differ on this one Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: