[Bug c++/79267] [6 Regression] internal compiler error with -O3 or -O2 -finline-functions
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 15 07:02:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79267
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 15 07:01:14 2017
New Revision: 245466
URL: https://gcc.gnu.org/viewcvs?rev=245466&root=gcc&view=rev
Log:
Backported from mainline
2017-01-31 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/79267
* value-prof.c (gimple_ic): Only drop lhs for noreturn calls
if should_remove_lhs_p is true.
* g++.dg/opt/pr79267.C: New test.
Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/opt/pr79267.C
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/testsuite/ChangeLog
branches/gcc-6-branch/gcc/value-prof.c
More information about the Gcc-bugs
mailing list