https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101988
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101988
Richard Biener changed:
What|Removed |Added
Priority|P3 |P1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101988
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101988
Jonathan Wakely changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
---
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.
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
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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101988
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|