re PR bootstrap/13848 (bootstrap failure - ICE in ada/utils.c)
authorIan Lance Taylor <ian@wasabisystems.com>
Sat, 24 Jan 2004 20:54:58 +0000 (20:54 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Sat, 24 Jan 2004 20:54:58 +0000 (20:54 +0000)
commit1f44254ccf5dca2edde504b4b1aa27715cf30717
treeb55b45fc6481bcaff82c645136aa4dcc68c3903b
parentb5142d8ae86610ed587103b22c33e1f3b46e8edc
re PR bootstrap/13848 (bootstrap failure - ICE in ada/utils.c)

PR bootstrap/13848
* cse.c (cse_cc_succs): Change the mode of the source expression
as soon as decide we need a new mode.  Don't permit changing modes
if we found a match in a successor block.
(cse_condition_code_reg): Save original mode of source expression
so that we know whether we have to change the mode in other
insns.

* gcc.dg/20040124-1.c: New test.

From-SVN: r76522
gcc/ChangeLog
gcc/cse.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20040124-1.c [new file with mode: 0644]