This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Some porting help
- From: Anders Ådland <adland at stud dot ntnu dot no>
- To: gcc at gcc dot gnu dot org
- Date: 14 May 2003 15:04:37 +0200
- Subject: Some porting help
Hi. I need some help in my port of GCC. It is probably a silly question,
but I'm running out of time and is desperate...
In gccint it is written about the (pre_dec:m x) that "x must be reg or
mem, but most machines allow only a reg". How can I tell GCC that only
reg is allowed? I have tried to do this in GO_IF_LEGITIMATE_ADDRESS but
it don't work (in all cases). The problem occurs when x in
kill_autoinc_value() (regrename.c) is
(pre_dec:SI (mem:SI (plus:SI (reg:SI)
(const_int -28))))
later a REGNO(XEXP(x, 0)) is called which can't be found. This value is
later sent to set_value_regno() which leads to a segmentation fault.
Anders