This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- Comment #6 from rguenth at gcc dot gnu dot org  2009-05-15 13:10 -------
Subject: Bug 39999

Author: rguenth
Date: Fri May 15 13:09:53 2009
New Revision: 147573

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147573
Log:
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.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr39999.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-sccvn.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39999


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]