diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1996-01-16 09:09:47 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1996-01-16 09:09:47 -0500 |
commit | e28ea75bd149315cfa085edb86d76755f2a9209d (patch) | |
tree | 67d9eb6b1bfcd8ccecb71afc5d703c70c5c35d55 /gcc/expmed.c | |
parent | 15c577a80fc70c9e3db99925427d119a7b1da632 (diff) | |
download | gcc-e28ea75bd149315cfa085edb86d76755f2a9209d.zip gcc-e28ea75bd149315cfa085edb86d76755f2a9209d.tar.gz gcc-e28ea75bd149315cfa085edb86d76755f2a9209d.tar.bz2 |
(extract_bit_field): Don't abort if not MEM_IN_STRUCT_P.
From-SVN: r11022
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r-- | gcc/expmed.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c index 384ede4..e79a8e2 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -1,6 +1,6 @@ /* Medium-level subroutines: convert bit-field store and extract and shifts, multiplies and divides to rtl instructions. - Copyright (C) 1987, 88, 89, 92, 93, 94, 1995 Free Software Foundation, Inc. + Copyright (C) 1987, 88, 89, 92-5, 1996 Free Software Foundation, Inc. This file is part of GNU CC. @@ -876,9 +876,6 @@ extract_bit_field (str_rtx, bitsize, bitnum, unsignedp, rtx spec_target = target; rtx spec_target_subreg = 0; - if (GET_CODE (str_rtx) == MEM && ! MEM_IN_STRUCT_P (str_rtx)) - abort (); - /* Discount the part of the structure before the desired byte. We need to know how many bytes are safe to reference after it. */ if (total_size >= 0) |