(extract_bit_field): Don't abort if not MEM_IN_STRUCT_P.
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 16 Jan 1996 14:09:47 +0000 (09:09 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 16 Jan 1996 14:09:47 +0000 (09:09 -0500)
From-SVN: r11022

gcc/expmed.c

index 384ede443f0b7747f01913ab1620427d1d1aeb00..e79a8e2a49b5d3dc2dd58f99a29bea2adcc5135e 100644 (file)
@@ -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)