[Bug c++/94314] [10 Regression] Optimizing mismatched new/delete pairs since r10-2106-g6343b6bf3bb83c87
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 8 18:04:53 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94314
--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:6c9a711575d8fdf9e75f01d7a0e84d558600df40
commit r10-7638-g6c9a711575d8fdf9e75f01d7a0e84d558600df40
Author: Jakub Jelinek <jakub@redhat.com>
Date: Wed Apr 8 20:04:01 2020 +0200
testsuite: Fix up pr94314*.C tests [PR94314]
The test FAIL everywhere where size_t is not unsigned long. Fixed by
using __SIZE_TYPE__ instead.
2020-04-08 Jakub Jelinek <jakub@redhat.com>
PR c++/94314
* g++.dg/pr94314.C (A::operator new, B::operator new, C::operator
new):
Use __SIZE_TYPE__ instead of unsigned long.
* g++.dg/pr94314-3.C (base::operator new, B::operator new):
Likewise.
More information about the Gcc-bugs
mailing list