diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-02 01:22:31 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-02 01:22:31 +0000 |
commit | e2fbcc744d225cd1f5698ff5633ebd03b1ef8da3 (patch) | |
tree | 78d14bec39a1d5e57f83efbca168f45f64a0ccf4 /gcc/emit-rtl.c | |
parent | 20e58c02879f4395b58ffc4d6c33c0171fe75a34 (diff) | |
download | gcc-e2fbcc744d225cd1f5698ff5633ebd03b1ef8da3.tar.gz |
* emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
to step through CC modes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29041 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r-- | gcc/emit-rtl.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 3535a23239d..8d3f2fae61d 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -3550,10 +3550,9 @@ init_emit_once (line_numbers) const_tiny_rtx[i][(int) mode] = GEN_INT (i); } - for (mode = GET_CLASS_NARROWEST_MODE (MODE_CC); mode != VOIDmode; - mode = GET_MODE_WIDER_MODE (mode)) - const_tiny_rtx[0][(int) mode] = const0_rtx; - + for (mode = CCmode; mode < MAX_MACHINE_MODE; ++mode) + if (GET_MODE_CLASS (mode) == MODE_CC) + const_tiny_rtx[0][(int) mode] = const0_rtx; /* Assign register numbers to the globally defined register rtx. This must be done at runtime because the register number field |