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: error: unrecognizable insn:


On Sat, May 17, 2014 at 06:13:56PM +0530, Umesh Kalappa wrote:
> Dear All,
> We are porting the gcc 4.8.1 for our private target .
> The compiler pops up with below error .
> 
> error: unrecognizable insn:
> 
> (insn 22 21 32 6 (set (reg:HI 30 [ D.1532 ])
>         (plus:HI (symbol_ref:HI ("stringArray")  <var_decl 0xb751a228
> stringArray>)
>             (const_int -1 [0xffffffff]))) -1
>      (nil))

The plus should have been surrounded by CONST:
(const:HI (plus:HI (symbol_ref:HI ...) (const_int -1)))

So, find out what has created the plus and why it hasn't been wrapped into
CONST.

	Jakub


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