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

             Bug #: 56010
           Summary: Powerpc, -mcpu=native and -mtune=native  use the wrong
                    name for target 7450
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: ulrik.sverd...@gmail.com


-mcpu=native and -mtune=native  mismap/misspell the name of the (correctly)
identified cpu. Should be -mcpu=7450, not -mcpu=ppc7450.

$ gcc-4.7  -mcpu=native -c  rollsum.c
cc1: error: unrecognized argument in option ‘-mcpu=ppc7450’
cc1: note: valid arguments to ‘-mcpu=’ are: 401 403 405 405fp 440 440fp 464
464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801 821
823 8540 8548 860 970 G3 G4 G5 a2 cell common e300c2 e300c3 e500mc e500mc64
ec603e native power power2 power3 power4 power5 power5+ power6 power6x power7
powerpc powerpc64 rios rios1 rios2 rs64 rsc rsc1 titan

$ gcc-4.7 -mtune=native -c  rollsum.c
cc1: error: unrecognized argument in option ‘-mtune=ppc7450’
cc1: note: valid arguments to ‘-mtune=’ are: 401 403 405 405fp 440 440fp 464
464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801 821
823 8540 8548 860 970 G3 G4 G5 a2 cell common e300c2 e300c3 e500mc e500mc64
ec603e native power power2 power3 power4 power5 power5+ power6 power6x power7
powerpc powerpc64 rios rios1 rios2 rs64 rsc rsc1 titan

Using gcc-4.7 (Debian 4.7.2-4) 4.7.2

Reply via email to