------- Comment #10 from rguenth at gcc dot gnu dot org 2009-05-18 10:13 ------- Subject: Bug 39999
Author: rguenth Date: Mon May 18 10:13:43 2009 New Revision: 147657 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147657 Log: 2009-05-18 Richard Guenther <rguent...@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. Added: branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr39999.c Modified: branches/gcc-4_4-branch/gcc/ChangeLog branches/gcc-4_4-branch/gcc/gimple.h branches/gcc-4_4-branch/gcc/testsuite/ChangeLog branches/gcc-4_4-branch/gcc/tree-ssa-sccvn.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39999