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

2020-04-23 Thread Joe via Gcc
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 is going wrong. The function i

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 se

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

2020-04-18 Thread Joe via Gcc
: test.c: In function ‘main’: test.c:5:1: error: insn does not satisfy its constraints: 5 | } | ^ (insn 8 7 9 (set (reg:SI 12) (plus:SI (reg:SI 13) (const_int 1 [0x1]))) "test.c":4:6 1 {addsi3} (nil)) during RTL pass: final test.c:5:1: internal compiler

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) >

insn does not satisfy its constraints

2008-08-28 Thread Omar Torres
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 11 %i2h