re PR middle-end/23960 (ICE in compare_values in VRP)
authorKazu Hirata <kazu@codesourcery.com>
Mon, 26 Sep 2005 01:28:50 +0000 (01:28 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Mon, 26 Sep 2005 01:28:50 +0000 (01:28 +0000)
commit3f1dfb4145288595055e9fd06afa8a66fae4d86d
tree5cefb37b1e429e55e7dde5f0eb3774ca89ad2077
parent89251091ecd6afe2b425cb992a4caa8736ffc452
re PR middle-end/23960 (ICE in compare_values in VRP)

gcc/
PR tree-optimization/23960
* fold-const.c (fold_binary): Use op0 and op1 instead of arg0
and arg1 if we are passing them to fold_build2.

gcc/testsuite/
PR tree-optimization/23960
* gcc.c-torture/compile/pr23960.c: New.

From-SVN: r104634
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr23960.c [new file with mode: 0644]