This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33407] [4.1/4.3 Regression] C++ operator new and new expression do not change dynamic type
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Sep 2007 10:18:49 -0000
- Subject: [Bug c++/33407] [4.1/4.3 Regression] C++ operator new and new expression do not change dynamic type
- References: <bug-33407-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from rguenth at gcc dot gnu dot org 2007-09-12 10:18 -------
4.2 works by luck as we weakened aliasing by the NONLOCAL stuff. 2.95 works
for whatever reason ;) Even pre-tree-ssa we fail with -O2 (but it works with
-O).
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |3.3.6 3.4.6 4.0.4 4.1.2
| |4.3.0
Known to work| |2.95.4 4.2.1
Summary|C++ operator new and new |[4.1/4.3 Regression] C++
|expression do not change |operator new and new
|dynamic type |expression do not change
| |dynamic type
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33407