From c8a89d2a41c5cd9a651215d87edc6d3c0f04b9c8 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Mon, 19 Dec 2011 12:39:34 +0000 Subject: [PATCH] emit-rtl.c (init_emit_once): Initialize const_tiny_rtx[3] for partial integer modes. * emit-rtl.c (init_emit_once): Initialize const_tiny_rtx[3] for partial integer modes. From-SVN: r182477 --- gcc/ChangeLog | 5 +++++ gcc/emit-rtl.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4c70d2138df..e8e8f7cf3a9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-12-19 Bernd Schmidt + + * emit-rtl.c (init_emit_once): Initialize const_tiny_rtx[3] for + partial integer modes. + 2011-12-19 Andreas Schwab PR target/51532 diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index a537374fbad..452e99a3745 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -5717,6 +5717,11 @@ init_emit_once (void) mode = GET_MODE_WIDER_MODE (mode)) const_tiny_rtx[3][(int) mode] = constm1_rtx; + for (mode = GET_CLASS_NARROWEST_MODE (MODE_PARTIAL_INT); + mode != VOIDmode; + mode = GET_MODE_WIDER_MODE (mode)) + const_tiny_rtx[3][(int) mode] = constm1_rtx; + for (mode = GET_CLASS_NARROWEST_MODE (MODE_COMPLEX_INT); mode != VOIDmode; mode = GET_MODE_WIDER_MODE (mode)) -- 2.30.2