http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59196
Bug ID: 59196
Summary: ./configure --with=cpu is broken for some m68k targets
Product: gcc
Version: 4.6.4
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: miro.kropacek at gmail dot com
I've found a small bug in GCC source code. At line 631 in
gcc-4.6.4/gcc/config/m68k/m68k.c is:
m68k_tune_flags = all_devices[dev]->flags;
but should be:
m68k_tune_flags = all_devices[dev].flags;
you can see this if you configure gcc with --with-cpu=m68020-60 (or
-40).