This is the mail archive of the gcc-patches@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: [PATCH] [ARC] Various small miscellaneous fixes.


* Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com> [2016-07-08 08:18:00 +0000]:

> > > +   && (register_operand (operands[1], SFmode)
> > > +       || register_operand (operands[2], SFmode))"
> 
> This condition is necessary for reload cases.
> 
> > And, with this patch applied, I get a build error:
> > 
> >     In file included from ./tm.h:43:0,
> >                      from /path/to/gcc/gcc/backend.h:28,
> >                      from insn-opinit.c:7:
> >     insn-opinit.c: In function ‘void init_all_optabs(target_optabs*)’:
> >     ./insn-flags.h:160:26: error: ‘operands’ was not declared in this scope
> >         && (register_operand (operands[1], SFmode) \
> >                               ^
> >     insn-opinit.c:220:13: note: in expansion of macro ‘HAVE_divsf3’
> >        ena[46] = HAVE_divsf3;
> 
> I applied this patch on the current trunk, but I've got no error. 

That's strange.  I doubled checked fresh this morning, and I still see
the same error.

Could you confirm how you're configuring & building, maybe that's why
we're seeing different behaviours.

I'm using the official GNU GCC git mirror, commit 798fc30 (2 days old
now) with your patch applied on top.

Then just

   ../src/configure --target=arc-elf32 --enable-languages=c --with-cpu=arc700
   make all-gcc

And I still hit the error above.  Can you offer any advice?

Thanks,
Andrew


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