This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/39509] [4.4 Regression] bad optimization(?) pure virtual function call with -O2


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]