diff options
author | Bernd Schmidt <bernds@codesourcery.com> | 2011-12-19 12:39:34 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2011-12-19 12:39:34 +0000 |
commit | c8a89d2a41c5cd9a651215d87edc6d3c0f04b9c8 (patch) | |
tree | ffb9feae1e03f1a403388990e7b186904dd3b678 | |
parent | 6a2b269b06fc3fb0f1bdba0fb88bfe358b4f51c0 (diff) | |
download | gcc-c8a89d2a41c5cd9a651215d87edc6d3c0f04b9c8.zip gcc-c8a89d2a41c5cd9a651215d87edc6d3c0f04b9c8.tar.gz gcc-c8a89d2a41c5cd9a651215d87edc6d3c0f04b9c8.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/emit-rtl.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4c70d21..e8e8f7c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-12-19 Bernd Schmidt <bernds@codesourcery.com> + + * emit-rtl.c (init_emit_once): Initialize const_tiny_rtx[3] for + partial integer modes. + 2011-12-19 Andreas Schwab <schwab@linux-m68k.org> PR target/51532 diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index a537374..452e99a 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)) |