Re: `insn does not satisfy its constraints` when compiling a simple program.

2020-04-23 Thread Joe via Gcc
Hi, thanks for the response, I've given debugging it a try but I cannot figure out what is causing it to fail. It's probably just my inexperience. Thanks for the input, it's very much appreciated. Cheers, Joe On 20/04/2020 19:43, Jim Wilson wrote: On Sat, Apr 18, 2020 at 8:45 AM Joe via Gcc

Re: `insn does not satisfy its constraints` when compiling a simple program.

2020-04-20 Thread Jim Wilson
On Sat, Apr 18, 2020 at 8:45 AM Joe via Gcc wrote: > test.c: In function ‘main’: > test.c:5:1: error: insn does not satisfy its constraints: The constrain_operands function is failing to match the insn to its constraints. Try putting a breakpoint there, and stepping through the code to see what

Re: insn does not satisfy its constraints

2008-08-31 Thread Mohamed Shafi
- Original Message > From: Omar Torres <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Cc: gcc@gcc.gnu.org > Sent: Saturday, August 30, 2008 12:11:36 AM > Subject: Re: insn does not satisfy its constraints > > shafi wrote: > >Operand 0 is a regi

Re: insn does not satisfy its constraints

2008-08-29 Thread Omar Torres
shafi wrote: >Operand 0 is a register >Operand 1 is a memory >Operand 2 is a register > > >> The md description for this instruction is: >> >> ;; addhi3 >> (define_expand "addhi3" >> [(set (match_operand:HI 0 "register_operand" "") >> (plus:HI (match_operand:HI 1 "coo

Re: insn does not satisfy its constraints

2008-08-29 Thread shafi
>Hi All, > I am getting the error message bellow while hacking my gcc backend. >Any suggestions on how to fix this? > >error: insn does not satisfy its constraints: >(insn 25 50 26 2 (set (reg:HI 1 %r0 [33]) > (plus:HI (mem/s/j:HI (plus:HI (reg:HI 3 %r2) > (reg/v/f:HI