[Bug middle-end/39509] [4.4 Regression] bad optimization(?) pure virtual function call with -O2
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 8 08:59:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39509
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.5.2, 4.6.2, 4.7.0
Summary|[4.4/4.5/4.6/4.7 |[4.4 Regression] bad
|Regression] bad |optimization(?) pure
|optimization(?) pure |virtual function call with
|virtual function call with |-O2
|-O2 |
--- Comment #24 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-08 08:55:29 UTC ---
Works with 4.5 and 4.6 because tree-ssa-sink.c is basically "broken" for
memory there (after alias improvements merge). That was fixed for 4.7
which was in turn broken again for this testcase which indeed was fixed
by Michas patch.
Thus, a 4.4. regression only now.
More information about the Gcc-bugs
mailing list