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.


> > +   && (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. 

Regards,
Claudiu

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