https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115187
--- Comment #6 from GCC Commits ---
The trunk branch has been updated by Jason Merrill :
https://gcc.gnu.org/g:ed63cd2aa5b114565fe5499c3a6bf8da5e8e48ba
commit r15-796-ged63cd2aa5b114565fe5499c3a6bf8da5e8e48ba
Author: Jason Merrill
Date: Wed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115187
--- Comment #5 from Mital Ashok ---
PR94264 prevented the first version from being an issue in GCC13, but the
second version
struct X { int x[2]; };
void f() {
delete X{}.x;
}
still crashed in older GCC versions. This isn't t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115187
Jason Merrill changed:
What|Removed |Added
Keywords||ice-on-invalid-code
Assignee|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115187
Andrew Pinski changed:
What|Removed |Added
Keywords|accepts-invalid,|
|ice-on-invalid-code
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115187
--- Comment #3 from Andrew Pinski ---
(In reply to Richard Biener from comment #1)
> clang complains:
>
> t.ii:3:7: error: cannot delete expression of type 'T' (aka 'int[2]')
> 3 | delete T{};
> | ^ ~~~
But that mig
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115187
Richard Biener changed:
What|Removed |Added
Summary|ICE when deleting temporary |[14/15 Regression] ICE when