[Bug target/26961] [4.0/4.1/4.2 Regression] ICE simplify_subreg:3813

2006-04-26 Thread pinskia at gcc dot gnu dot org


--- Comment #8 from pinskia at gcc dot gnu dot org  2006-04-26 15:46 ---
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
  Known to fail|3.4.0 4.1.0 4.0.0 4.0.3 |3.4.0 4.1.0 4.0.0 4.0.3
   |4.1.0   |
  Known to work|3.3.3   |3.3.3 4.1.1 4.0.4 4.2.0
 Resolution||FIXED


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



[Bug target/26961] [4.0/4.1/4.2 Regression] ICE simplify_subreg:3813

2006-04-25 Thread sayle at gcc dot gnu dot org


--- Comment #7 from sayle at gcc dot gnu dot org  2006-04-26 03:21 ---
Subject: Bug 26961

Author: sayle
Date: Wed Apr 26 03:20:56 2006
New Revision: 113266

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113266
Log:

PR target/26961
* fold-const.c (fold): When converting A ? B : C into either
A op B or A op C, we may need to convert A to the type of B and C.

* gcc.dg/fold-cond-1.c: New test case.
* gcc.dg/pr26961-1.c: Likewise.


Added:
branches/gcc-4_0-branch/gcc/testsuite/gcc.dg/fold-cond-1.c
branches/gcc-4_0-branch/gcc/testsuite/gcc.dg/pr26961-1.c
Modified:
branches/gcc-4_0-branch/gcc/ChangeLog
branches/gcc-4_0-branch/gcc/fold-const.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog


-- 


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



[Bug target/26961] [4.0/4.1/4.2 Regression] ICE simplify_subreg:3813

2006-04-24 Thread sayle at gcc dot gnu dot org


--- Comment #6 from sayle at gcc dot gnu dot org  2006-04-24 23:16 ---
Subject: Bug 26961

Author: sayle
Date: Mon Apr 24 23:16:29 2006
New Revision: 113232

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113232
Log:

PR target/26961
* fold-const.c (fold_ternary): When converting A ? B : C into either
A op B or A op C, we may need to convert A to the type of B and C.

* gcc.dg/fold-cond-1.c: New test case.
* gcc.dg/pr26961-1.c: Likewise.


Added:
branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/fold-cond-1.c
branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/pr26961-1.c
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/fold-const.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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



[Bug target/26961] [4.0/4.1/4.2 Regression] ICE simplify_subreg:3813

2006-04-16 Thread sayle at gcc dot gnu dot org


--- Comment #5 from sayle at gcc dot gnu dot org  2006-04-17 02:38 ---
Subject: Bug 26961

Author: sayle
Date: Mon Apr 17 02:38:50 2006
New Revision: 113001

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113001
Log:

PR target/26961
* fold-const.c (fold_ternary): When converting A ? B : C into either
A op B or A op C, we may need to convert A to the type of B and C.

* gcc.dg/fold-cond-1.c: New test case.
* gcc.dg/pr26961-1.c: Likewise.


Added:
trunk/gcc/testsuite/gcc.dg/fold-cond-1.c
trunk/gcc/testsuite/gcc.dg/pr26961-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog


-- 


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



[Bug target/26961] [4.0/4.1/4.2 Regression] ICE simplify_subreg:3813

2006-04-12 Thread pinskia at gcc dot gnu dot org


--- Comment #4 from pinskia at gcc dot gnu dot org  2006-04-13 01:05 ---
the TRUTH_AND_EXPR is long long here and we produce an ICE while expanding to
RTL so this is a middle-end issue.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

  Component|rtl-optimization|target


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