re PR middle-end/77798 (465.tonto ICE with trunk with -O2)
authorRichard Biener <rguenther@suse.de>
Sat, 1 Oct 2016 14:34:18 +0000 (14:34 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Sat, 1 Oct 2016 14:34:18 +0000 (14:34 +0000)
commitf00b6283fbc6d1489f403764fd25c64d37f18ad3
tree950d06aa812fb57babca263e710c574a544041eb
parent0f0565b1438c82118f1f31f6880c509c472c3bf5
re PR middle-end/77798 (465.tonto ICE with trunk with -O2)

2016-10-01  Richard Biener  <rguenther@suse.de>

PR middle-end/77798
* genmatch.c (get_operand_type): Add operand position arg
and handle COND_EXPR comparison operand with fixed boolean_type_node.
(expr::gen_transform): Adjust.
(dt_simplify::gen_1): Likewise.

* gfortran.fortran-torture/compile/pr77798.f90: New testcase.

From-SVN: r240696
gcc/ChangeLog
gcc/genmatch.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.fortran-torture/compile/pr77798.f90 [new file with mode: 0644]