This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c/7242: Incorrect specs for cpp_cpucommon on i386
- From: ban at ipl dot t dot u-tokyo dot ac dot jp
- To: gcc-gnats at gcc dot gnu dot org
- Date: Tue, 9 Jul 2002 22:53:29 +0900 (JST)
- Subject: c/7242: Incorrect specs for cpp_cpucommon on i386
>Number: 7242
>Category: c
>Synopsis: Incorrect specs for cpp_cpucommon on i386
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 09 06:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: BAN Nobuhiro
>Release: 3.1.1 20020701 (prerelease) [FreeBSD]
>Organization:
>Environment:
i386
>Description:
``gcc -mcpu=pentium[23]'' invokes cc1 without ``-D__tune_pentiumpro__''
>How-To-Repeat:
% gcc -mcpu=pentium3 -v --help
or
% gcc -mcpu=pentium2 -v --help
shows what options are given for cc1.
>Fix:
Replace gcc/config/i386/i386.h with the output of:
% sed 's/\|cpu=pentium2\|cpu=pentium3/\|mcpu=pentium2\|mcpu=pentium3/' gcc/config/i386/i386.h
>Release-Note:
>Audit-Trail:
>Unformatted: