https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64534

--- Comment #2 from Viktor Yu. Kovalskii <vityokster at gmail dot com> ---
(In reply to Martin Sebor from comment #1)
> Confirmed:
> 
> $ echo | /home/msebor/build/gcc-trunk-svn/gcc/xgcc
> -B/home/msebor/build/gcc-trunk-svn/gcc -S -march=foobar -march=core2
> -o/dev/null -xc -
> 
> $ echo | /home/msebor/build/gcc-trunk-svn/gcc/xgcc
> -B/home/msebor/build/gcc-trunk-svn/gcc -S -march=foobar -march=native
> -o/dev/null -xc -
> <stdin>:1:0: error: bad value (foobar) for -march= switch
> 
> This seems to be due to the special treatment of -march=native by the i386
> driver which forces it before any other -march= options, even if they are
> specified first on the command line.

Any progress?

Reply via email to