[Bug target/32450] -pg seemingly causes miscompilation
Andrew Pinski
pinskia@gmail.com
Wed Jun 27 15:06:00 GMT 2007
On 6/27/07, Dominique Dhumieres <dominiq@lps.ens.fr> wrote:
> > When you invoke gfortran with -v march=native and with a source file, it will
> > show the values. This is the recommended way of showing how you involved
> > gcc/gfortran anyways.
>
> I get:
>
> f951: error: unrecognized command line option "-march=native"
>
> with
>
> [karma] bug/timing% gfc -v -march=native -O3 time_trans.f90
> Driving: gfc -mmacosx-version-min=10.3 -v -march=native -O3 time_trans.f90 -lgfortranbegin -lgfortran -shared-libgcc
> Using built-in specs.
> Target: powerpc-apple-darwin7
That is because -m options are target specific and -march=native
(really -mcpu=native) have not been implemented for PowerPC yet.
Though it could by reading the processor description bit.
-- Pinski
More information about the Gcc-bugs
mailing list