This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/71207] [5/6 Regression] gcc 5.3 and 6.1 generates wrong code with -O2
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 20 Jan 2017 08:49:40 +0000
- Subject: [Bug ipa/71207] [5/6 Regression] gcc 5.3 and 6.1 generates wrong code with -O2
- Auto-submitted: auto-generated
- References: <bug-71207-4@http.gcc.gnu.org/bugzilla/>
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