Commit e28ea75b by Richard Kenner

(extract_bit_field): Don't abort if not MEM_IN_STRUCT_P.

From-SVN: r11022
parent 15c577a8
/* Medium-level subroutines: convert bit-field store and extract /* Medium-level subroutines: convert bit-field store and extract
and shifts, multiplies and divides to rtl instructions. 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. This file is part of GNU CC.
...@@ -876,9 +876,6 @@ extract_bit_field (str_rtx, bitsize, bitnum, unsignedp, ...@@ -876,9 +876,6 @@ extract_bit_field (str_rtx, bitsize, bitnum, unsignedp,
rtx spec_target = target; rtx spec_target = target;
rtx spec_target_subreg = 0; 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. /* Discount the part of the structure before the desired byte.
We need to know how many bytes are safe to reference after it. */ We need to know how many bytes are safe to reference after it. */
if (total_size >= 0) if (total_size >= 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment