summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/emit-rtl.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7ac43774bd9..d5cb603bfbb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2000-09-18 Richard Henderson <rth@cygnus.com>
+
+ * emit-rtl.c (init_emit_once): Initialize const_tiny_rtx
+ for BImode.
+
2000-09-18 Jim Wilson <wilson@cygnus.com>
* unroll.c (loop_iterations): Pass increment to extend_for_giv_value
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index 3fb272dd4c0..2b907171ebf 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -4178,6 +4178,10 @@ init_emit_once (line_numbers)
if (GET_MODE_CLASS (mode) == MODE_CC)
const_tiny_rtx[0][(int) mode] = const0_rtx;
+ const_tiny_rtx[0][(int) BImode] = const0_rtx;
+ if (STORE_FLAG_VALUE == 1)
+ const_tiny_rtx[1][(int) BImode] = const1_rtx;
+
/* For bounded pointers, `&const_tiny_rtx[0][0]' is not the same as
`(rtx *) const_tiny_rtx'. The former has bounds that only cover
`const_tiny_rtx[0]', whereas the latter has bounds that cover all. */