https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117751

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |redi at gcc dot gnu.org

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I'd say the test tests something the C++ standard doesn't guarantee, we could
have omitted the ::operator new/::operator delete calls altogether and say
replace them with stack allocation or similar.
We don't actually do that just yet, but the test also relies on the
side-effects of those so is a perfect candidate for
-fno-assume-sane-operators-new-delete, because those are "insane" exactly
because they modify the global state the callers test.

Reply via email to