20000717 ICE compiling gcc/tree.c on hppa2.0-hp-hpux10.20.gnu.org

John David Anglin dave@hiauly1.hia.nrc.ca
Tue Jul 25 14:08:00 GMT 2000


> (gdb) p low
> $4 = -20

The relevant code in calls.c (check_sibcall_argument_overlap) is

  low = arg->offset.constant;
  for (high = low + arg->size.constant; low < high; low++)
    SET_BIT (stored_args_map, low);

The second argument of SET_BIT must be non-negative.  Is the value
of `low' reasonable for the hppa?  If so, check_sibcall_argument_overlap
needs fixing to handle negative offsets.

The code for check_sibcall_argument_overlap is new.  It was added by
Jakub Jelinek on July 17.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


More information about the Gcc-bugs mailing list