other/5405: mips -march/-mtune problem

brad@ltc.com brad@ltc.com
Wed Jan 16 11:56:00 GMT 2002


>Number:         5405
>Category:       other
>Synopsis:       mips -march/-mtune problem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 16 11:56:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     brad@ltc.com
>Release:        gcc 3.0.3
>Organization:
>Environment:
Linux mips, binutils 2.11.92.0.12.3 20011121
>Description:
$ mipsel-linux-gcc -mcpu=r4600 -mips2 temp.c
Assembler messages:
Warning: The -mcpu option is deprecated.  Please use -march and -mtune instead.
Warning: The -march option is incompatible to -mipsN and therefore ignored.

$ mipsel-linux-gcc -mcpu=r4600 temp.c
Assembler messages:
Warning: The -mcpu option is deprecated.  Please use -march and -mtune instead.

$ mipsel-linux-gcc -march=r4600 temp.c
cc1: Invalid option `arch=r4600'

$ mipsel-linux-gcc -mtune=r4600 temp.c
cc1: Invalid option `tune=r4600'
>How-To-Repeat:
Compile with -march=arch or -mtune=arch to see failure.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-prs mailing list