[Bug c++/106629] GCC accepts invalid program involving {1,2,3,4} as template argument

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106629 --- Comment #5 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #4) > Even though cppreference is not part of the C++ standard. It would be useful > to put a reference to that defect report on >

[Bug c++/106629] GCC accepts invalid program involving {1,2,3,4} as template argument

2022-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106629 --- Comment #4 from Andrew Pinski --- (In reply to Marek Polacek from comment #3) > Not a bug, this is > https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#2450 I > implemented in GCC. Oh I see, I should have looked into the active

[Bug c++/106629] GCC accepts invalid program involving {1,2,3,4} as template argument

2022-08-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106629 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/106629] GCC accepts invalid program involving {1,2,3,4} as template argument

2022-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106629 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/106629] GCC accepts invalid program involving {1,2,3,4} as template argument

2022-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106629 --- Comment #1 from Andrew Pinski --- Created attachment 53462 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53462=edit full testcase