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

2009-05-18 Thread rguenth at gcc dot gnu dot org


--- Comment #10 from rguenth at gcc dot gnu dot org  2009-05-18 10:13 
---
Subject: Bug 3

Author: rguenth
Date: Mon May 18 10:13:43 2009
New Revision: 147657

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=147657
Log:
2009-05-18  Richard Guenther  rguent...@suse.de

PR tree-optimization/3
* 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/pr3.c: New testcase.

Added:
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr3.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=3



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

2009-05-18 Thread rguenth at gcc dot gnu dot org


--- Comment #11 from rguenth at gcc dot gnu dot org  2009-05-18 10:14 
---
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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



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

2009-05-15 Thread rguenth at gcc dot gnu dot org


--- Comment #7 from rguenth at gcc dot gnu dot org  2009-05-15 13:10 ---
Fixed on the trunk.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

  Known to work|4.3.3   |4.3.3 4.5.0
Summary|[4.4/4.5 Regression] gcc|[4.4 Regression] gcc 4.4.0
   |4.4.0 compiles in infinite  |compiles in infinite loop
   |loop|


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



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

2009-05-15 Thread howarth at nitro dot med dot uc dot edu


--- Comment #8 from howarth at nitro dot med dot uc dot edu  2009-05-15 
13:37 ---
Will this fix be backported for gcc 4.4.1?


-- 


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



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

2009-05-15 Thread rguenther at suse dot de


--- Comment #9 from rguenther at suse dot de  2009-05-15 13:47 ---
Subject: Re:  [4.4 Regression] gcc 4.4.0 compiles
 in infinite loop

On Fri, 15 May 2009, howarth at nitro dot med dot uc dot edu wrote:

 --- Comment #8 from howarth at nitro dot med dot uc dot edu  2009-05-15 
 13:37 ---
 Will this fix be backported for gcc 4.4.1?

Yes, I will wait a few days to spot problems though.

Richard.


-- 


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