Re: incorrect parsing of -fopt-info

2019-01-28 Thread Richard Biener
On Mon, Jan 21, 2019 at 12:31 PM Ulrich Drepper wrote: > > There is a problem with parsing the second part of the -fopt-info > command line parameter in case there is an equal sign followed by a > filename with a dash: > > $ g++ -c -O -fopt-info-all=some-file u.cc > cc1plus: warning: unknown optio

incorrect parsing of -fopt-info

2019-01-21 Thread Ulrich Drepper
There is a problem with parsing the second part of the -fopt-info command line parameter in case there is an equal sign followed by a filename with a dash: $ g++ -c -O -fopt-info-all=some-file u.cc cc1plus: warning: unknown option ‘all=some’ in ‘-fopt-info-all=some-file’ cc1plus: error: unrecogniz