This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with new option handling?
Neil Booth wrote:-
> > >ada/ada.o
> > >gnat1: warning: `-gnatpg': unknown or unsupported -g option
> > >gnat1: warning: `-gnata': unknown or unsupported -g option
> > >gnat1: warning: `-gnatO': unknown or unsupported -g option
> >
> > This looks like fallout of the new option handling. Neil, do you
> > have an idea what's going wrong here? Thanks in advance.
>
> I can't test Ada sadly. Can you confirm that it was fixed in the
> patch I just committed? See my discussion of a latent bug in
> the option decoder:
>
> http://gcc.gnu.org/ml/gcc-patches/2003-06/msg02484.html
>
> I think it's the same bug and so it should now be OK.
To be sure, could you just apply the 4-or-5 line hunk in opts.c that
applies to find_opt()? If you apply the extra switches too, it might
simply be hidden but still present.
Neil.