[Bug c++/101988] [12 Regression] Accepts invalid new-expression of array of deduced class template

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

[Bug c++/101988] [12 Regression] Accepts invalid new-expression of array of deduced class template

2022-01-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101988 --- Comment #6 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:0c0f453c4af4880c522c8472c33eef42bee9eda1 commit r12-6894-g0c0f453c4af4880c522c8472c33eef42bee9eda1 Author: Marek Polacek Date:

[Bug c++/101988] [12 Regression] Accepts invalid new-expression of array of deduced class template

2022-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101988 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug c++/101988] [12 Regression] Accepts invalid new-expression of array of deduced class template

2021-08-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101988 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/101988] [12 Regression] Accepts invalid new-expression of array of deduced class template

2021-08-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101988 Jonathan Wakely changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org ---

[Bug c++/101988] [12 Regression] Accepts invalid new-expression of array of deduced class template

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101988 --- Comment #4 from Andrew Pinski --- Maybe related to PR 82110 but there has been other CTAD changes in GCC 12 too.

[Bug c++/101988] [12 Regression] Accepts invalid new-expression of array of deduced class template

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101988 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > I also noticed, GCC accepts while clang rejects: > template struct A { A(T); }; > auto p = new A[]{A(1),A(1)}; > > While changing it to [2], both GCC and clang

[Bug c++/101988] [12 Regression] Accepts invalid new-expression of array of deduced class template

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101988 --- Comment #2 from Andrew Pinski --- I also noticed, GCC accepts while clang rejects: template struct A { A(T); }; auto p = new A[]{A(1),A(1)}; While changing it to [2], both GCC and clang accepts it.

[Bug c++/101988] [12 Regression] Accepts invalid new-expression of array of deduced class template

2021-08-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101988 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|