[Bug tree-optimization/70190] [6 Regression] ICE (segfault) at -O2 and -O3 on x86_64-linux-gnu

2016-03-11 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70190

Jeffrey A. Law  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Jeffrey A. Law  ---
Fixed on the trunk.

[Bug tree-optimization/70190] [6 Regression] ICE (segfault) at -O2 and -O3 on x86_64-linux-gnu

2016-03-11 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70190

--- Comment #2 from Jeffrey A. Law  ---
Author: law
Date: Fri Mar 11 22:32:11 2016
New Revision: 234151

URL: https://gcc.gnu.org/viewcvs?rev=234151=gcc=rev
Log:
PR tree-optimization/70190
* tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
Handle cases where we can not extract the taken edge, even though we
found a constant value.

PR tree-optimization/70190
* gcc.c-torture/compile/pr70190.c: New test.

Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr70190.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-threadbackward.c