https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88118
--- Comment #8 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #7)
> Fixed in GCC 10 by r10-2105-gcb50701ec2c7a (I found a slight missed
> optimization but I will file that as a seperate issue).
The slight missed optimization is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88118
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88118
Andrew Pinski changed:
What|Removed |Added
Severity|normal |enhancement
See Also|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88118
--- Comment #6 from Tiago Macarios ---
Related clang bug: https://bugs.llvm.org/show_bug.cgi?id=39731
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88118
--- Comment #5 from Marc Glisse ---
"An implementation is allowed to omit a call to a replaceable global allocation
function" (not any operator new) so I am not sure DECL_IS_OPERATOR_NEW is the
right test.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88118
--- Comment #4 from Jonathan Wakely ---
(In reply to Richard Biener from comment #3)
> If clang removes the new calls then DECL_IS_OPERATOR_NEW may not have
> side-effects that need to be preserved. (hopefully)
Since C++14 the C++ standard
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88118
Richard Biener changed:
What|Removed |Added
Keywords||missed-optimization
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88118
Marc Glisse changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88118
Andrew Pinski changed:
What|Removed |Added
Depends on||19831
--- Comment #1 from Andrew Pinski