This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/39509] [4.4 Regression] bad optimization(?) pure virtual function call with -O2
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 08 Dec 2011 08:55:29 +0000
- Subject: [Bug middle-end/39509] [4.4 Regression] bad optimization(?) pure virtual function call with -O2
- Auto-submitted: auto-generated
- References: <bug-39509-4@http.gcc.gnu.org/bugzilla/>
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.