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

--- Comment #6 from Kewen Lin <linkw at gcc dot gnu.org> ---
(In reply to Bill Schmidt from comment #4)
> Kewen, how did you confirm this?  My cross doesn't accept -mvsx as valid.
> 
> $ /home/wschmidt/gcc/build/gcc-e300/gcc/xgcc -c -O2 -mvsx pr103625.c
> -B/home/wschmidt/gcc/build/gcc-e300/gcc 
> /home/wschmidt/gcc/build/gcc-e300/gcc/as: line 114: exec: -m: invalid option
> exec: usage: exec [-cl] [-a name] [command [arguments ...]] [redirection ...]

I used the original command which doesn't specify -O2. I just confirmed that
it's reproducible with that, just noticed that with O2 all seems optimized out,
then it's going to invoke assembler (-S can make it silent).

Reply via email to