[Bug lto/70187] [6 Regression] ICE (segfault) in lto1 with -Wsuggest-final-methods/-Wsuggest-final-types
vries at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 16 10:22:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70187
--- Comment #4 from vries at gcc dot gnu.org ---
Author: vries
Date: Wed Mar 16 10:21:27 2016
New Revision: 234253
URL: https://gcc.gnu.org/viewcvs?rev=234253&root=gcc&view=rev
Log:
Safely use nodes[0] in possible_polymorphic_call_targets
2016-03-16 Tom de Vries <tom@codesourcery.com>
PR lto/70187
* ipa-devirt.c (possible_polymorphic_call_targets): Move
nodes.length () == 1 test to before first nodes[0] access.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-devirt.c
More information about the Gcc-bugs
mailing list