[Bug c++/33407] [4.1/4.3 Regression] C++ operator new and new expression do not change dynamic type
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 12 16:13:00 GMT 2007
------- Comment #5 from jakub at gcc dot gnu dot org 2007-09-12 16:13 -------
Could we limit adding of the CHANGE_DYNAMIC_TYPE_EXPRs just to the case
where operator new or __attribute__((malloc)) marked FUNCTION_DECL is not
external? That would be solid even for LTO, if you LTO and have say malloc
implemented among the stuff you read in, then we need to handle that carefully,
but if it is for the compiler just a black box in libc, there is no need
to pollute the IL.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33407
More information about the Gcc-bugs
mailing list