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 ipa/71207] [5/6 Regression] gcc 5.3 and 6.1 generates wrong code with -O2


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71207

--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Fri Jan 20 08:49:08 2017
New Revision: 244688

URL: https://gcc.gnu.org/viewcvs?rev=244688&root=gcc&view=rev
Log:
Fix wrong assumption in contains_type_p (PR ipa/71207).

2017-01-20  Martin Liska  <mliska@suse.cz>

        Backport from mainline
        2017-01-17  Martin Liska  <mliska@suse.cz>

        PR ipa/71207
        * ipa-polymorphic-call.c (contains_type_p): Fix wrong
        assumption and add comment.
2017-01-20  Martin Liska  <mliska@suse.cz>

        Backport from mainline
        2017-01-17  Martin Liska  <mliska@suse.cz>

        PR ipa/71207
        * g++.dg/ipa/pr71207.C: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/ipa/pr71207.C
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/ipa-polymorphic-call.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

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