]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ChangeLog
re PR tree-optimization/39999 (gcc 4.4.0 compiles in infinite loop)
authorRichard Guenther <rguenther@suse.de>
Fri, 15 May 2009 13:09:53 +0000 (13:09 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 15 May 2009 13:09:53 +0000 (13:09 +0000)
commit828552ed0b8aff5e46770b4c32a7608b04ee3788
treef22e80535ee47a66c5898bcd81363b613840d2c2
parent248fc9f328f5f1c4d94052c073bdc7699cacb382
re PR tree-optimization/39999 (gcc 4.4.0 compiles in infinite loop)

2009-05-15  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/39999
* gimple.h (gimple_expr_type): Use the expression type looking
through useless conversions.
* tree-ssa-sccvn.c (vn_nary_op_lookup_stmt): Use gimple_expr_type.
(vn_nary_op_insert_stmt): Likewise.
(simplify_binary_expression): Likewise.

* gcc.c-torture/compile/pr39999.c: New testcase.

From-SVN: r147573
gcc/ChangeLog
gcc/gimple.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr39999.c [new file with mode: 0644]
gcc/tree-ssa-sccvn.c