hello.c:1: error: bad value (corei7) for -march= switch
although, gcc451 --help=target -march=corei7 is successful.
gcc 4.4.4-10.fc13 (fedora 13 distribution) fails as well.
gcc451 -march=generic produces .s code with -march=core2
configured with:
../gcc-4.5.1/configure --prefix=/usr/local --program-suffix=451
--enable-threads \
--enable-languages=c,c++
--
Summary: gcc 4.5.1 -march=corei7 fails
Product: gcc
Version: 4.5.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dcy665 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45731