[Bug target/47643] New: x86 -mtune docs still imply i386 is the default for codegen

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 8 10:41:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47643

           Summary: x86 -mtune docs still imply i386 is the default for
                    codegen
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: documentation
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: redi@gcc.gnu.org
            Target: i386-*


At http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html the docs
for -mtune still say:

"the compiler will not generate any code that does not run on the i386 without
the -march=cpu-type option being used."

Now that the default -march is implied by the target it's likely that generated
code will not run on i386 even when there is no -march used on the command line
or --with-arch used in the configure command.

The manual should be changed to make that clear.  Maybe something like:

"the compiler will not generate any code that does not run on the default
target architecture without the -march=cpu-type option being used (where the
default target arch is determined from the target triplet e.g.
i686-pc-linux-gnu)."



More information about the Gcc-bugs mailing list