[Bug tree-optimization/109920] [14 Regression] value-range.h: Mismatched new [] and delete
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109920 Aldy Hernandez changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #5 from Aldy Hernandez --- Fixed. David, thanks for the analysis. You did 99% of the work here :).
[Bug tree-optimization/109920] [14 Regression] value-range.h: Mismatched new [] and delete
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109920 --- Comment #4 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:493a63af6cbab094c36a76435c12b1886328dab8 commit r14-1083-g493a63af6cbab094c36a76435c12b1886328dab8 Author: Aldy Hernandez Date: Mon May 22 21:03:05 2023 +0200 Use delete[] in int_range destructor [PR109920] gcc/ChangeLog: PR tree-optimization/109920 * value-range.h (RESIZABLE>::~int_range): Use delete[].
[Bug tree-optimization/109920] [14 Regression] value-range.h: Mismatched new [] and delete
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109920 --- Comment #3 from David Binderman --- (In reply to Aldy Hernandez from comment #2) > Created attachment 55137 [details] > untested patch > > Does this fix the problem? Yes.
[Bug tree-optimization/109920] [14 Regression] value-range.h: Mismatched new [] and delete
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109920 --- Comment #2 from Aldy Hernandez --- Created attachment 55137 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55137=edit untested patch Does this fix the problem?
[Bug tree-optimization/109920] [14 Regression] value-range.h: Mismatched new [] and delete
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109920 Andrew Pinski changed: What|Removed |Added Summary|value-range.h: Mismatched |[14 Regression] |new [] and delete |value-range.h: Mismatched ||new [] and delete Version|unknown |14.0 Keywords||ice-checking, ||ice-on-valid-code Target Milestone|--- |14.0