[Bug c++/86347] Incorrect call order of allocation function in new expression

2018-06-28 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86347 Marc Glisse changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/86347] Incorrect call order of allocation function in new expression

2018-06-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86347 Jonathan Wakely changed: What|Removed |Added Keywords||wrong-code Status|WAITING

[Bug c++/86347] Incorrect call order of allocation function in new expression

2018-06-28 Thread stinkingmadgod at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86347 --- Comment #2 from stinkingmadgod at gmail dot com --- Apologies, not familiar with netiquette here #include #include #include void* operator new(size_t n) { std::cout << "new\n"; return std::malloc(n); } struct Y { Y() { std::cout

[Bug c++/86347] Incorrect call order of allocation function in new expression

2018-06-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86347 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|