This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/17627] New: M68060 fails with libstdc++-v3/config/cpu/m68k/atomicity.h
- From: "cjohns at cybertec dot com dot au" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Sep 2004 03:59:12 -0000
- Subject: [Bug libstdc++/17627] New: M68060 fails with libstdc++-v3/config/cpu/m68k/atomicity.h
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Target: m68k-rtems
Version: 3.3.1
OS: RTEMS (4.6.1)
Hardware: MVME172 SBC
The M68060 User Manual:
http://www.freescale.com/files/32bit/doc/ref_manual/MC68060UM.pdf
states in Table D-1 (page D-2) that the CAS instruction is a
"Software-supported" instruction. On my M68EC060 the 'cas' instruction results
in an exception.
Software emulation of this instruction in this situation would not seem
appropriate. Further RTEMS does not support software emulation of missing
instructions on the M68060. It assumes code is rebuilt with the -m68060 flag.
Removing M68060 from the first #if test results in a working C++ application.
I am raising this bug as the current version in GCC's CVS is the same as the
3.3.1 version.
--
Summary: M68060 fails with libstdc++-
v3/config/cpu/m68k/atomicity.h
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cjohns at cybertec dot com dot au
CC: gcc-bugs at gcc dot gnu dot org,joel dot sherrill at
oarcorp dot com
GCC build triplet: i386-pc-linux-gnu
GCC host triplet: i386-pc-linux-gnu
GCC target triplet: m68k-rtems
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17627