[Bug target/95843] New: Duplicated ISA info in driver-i386.c and i386-builtins.c

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Jun 23 14:52:59 GMT 2020


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

            Bug ID: 95843
           Summary: Duplicated ISA info in driver-i386.c and
                    i386-builtins.c
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: hubicka at gcc dot gnu.org, ubizjak at gmail dot com
  Target Milestone: ---
            Target: i386,x86-64

i386-builtins.c has _isa_names_table to map command-line option to ISA
feature.  driver-i386.c has many conditional statements to map ISA to
command-line option.  _isa_names_table doesn't cover all ISA features
GCC supports.  _isa_names_table should be enhanced to support both
i386-builtins.c and driver-i386.c.


More information about the Gcc-bugs mailing list