[Bug tree-optimization/39999] [4.4 Regression] gcc 4.4.0 compiles in infinite loop

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon May 18 10:14:00 GMT 2009



------- 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  <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.

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



More information about the Gcc-bugs mailing list