------- 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