[Bug target/26349] config/i386/i386.h: typo in comment?

bje at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Feb 1 02:20:00 GMT 2008



------- Comment #1 from bje at gcc dot gnu dot org  2008-02-01 02:19 -------
Thanks for the report.  In the mainline i386.h (changed since 4.2), the cpu
types are enumerated rather than a sequence of #defines.  As a result, i486
really is "2", so the comment is now correct.

  enum target_cpu_default
  {
    TARGET_CPU_DEFAULT_generic = 0,
    TARGET_CPU_DEFAULT_i386,
    TARGET_CPU_DEFAULT_i486,
    TARGET_CPU_DEFAULT_pentium,
    ...
  }


-- 

bje at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list