This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fw: Some porting help


Thanks for anwering! The problem is that I'm already using
"register_operand" and "r" when using (pre_dec ...) but still

(pre_dec:SI (mem:SI ...))

is used in the internals of GCC and makes a segmentation fault.

Any suggestions?

Anders

On Wed, 2003-05-14 at 21:00, kiran wrote:
> 
> 
> 
> > 
> > http://gcc.gnu.org/ml/gcc/2003-05/msg01403.html
> > 
> 
> you should fix the corresponding predicate and/or constraint for 'x' in (pre_dec:m x)  to not allow memory.
> 
> something on the following lines...
> 
> (pre_dec:SI "register_operand" "r")
> 
> if the register class which can be used for predecrement operation is different from the general register class you need to define a new constraint letter.
> 
> best regards,
> kiran.
> 
> 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]