On 24 Oct 20:33, Jakub Jelinek wrote: > On Fri, Oct 24, 2014 at 10:29:50PM +0400, Ilya Verbin wrote: > > diff --git a/gcc/opts.c b/gcc/opts.c > > index 9b2e1af..d1a626c 100644 > > --- a/gcc/opts.c > > +++ b/gcc/opts.c > > @@ -1732,6 +1732,13 @@ common_handle_option (struct gcc_options *opts, > > /* Deferred. */ > > break; > > > > +#ifndef ACCEL_COMPILER > > ifndef ? I would have expected ifdef. > > > + case OPT_foffload_abi_: > > + error_at (loc, "-foffload-abi option can be specified only for " > > + "offload compiler"); > > + break; > > +#endif > > + > > case OPT_fpack_struct_: > > if (value <= 0 || (value & (value - 1)) || value > 16) > > error_at (loc,
-foffload-abi option is intended only for the offload compiler, but we can't put the option under ifdef in common.opt, therefore I added error_at under ifndef. -- Ilya