This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/17627] M68060 fails with libstdc++-v3/config/cpu/m68k/atomicity.h
- From: "schwab at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Nov 2004 23:45:00 -0000
- Subject: [Bug libstdc++/17627] M68060 fails with libstdc++-v3/config/cpu/m68k/atomicity.h
- References: <20040923035910.17627.cjohns@cybertec.com.au>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From schwab at suse dot de 2004-11-03 23:44 -------
Even the 68020 should already show slight improvement when using 4 byte
aligment due to the 32 bit data bus (the 68000/010 only have a 16 bit data
bus).
Adding an aligned attribute to the _Atomic_int type doesn't help for automatic
variables as gcc limits the alignment to STACK_BOUNDARY. But it will work for
static variables.
About the ABI change you are of course safe if everything is using the changed
aligment (including the interface to the RTEMS kernel).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17627