This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/69051] Misaligned read from the stack when using odd sized character array
- From: "mikpelinux at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 25 Dec 2015 18:21:49 +0000
- Subject: [Bug target/69051] Misaligned read from the stack when using odd sized character array
- Auto-submitted: auto-generated
- References: <bug-69051-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69051
--- Comment #3 from Mikael Pettersson <mikpelinux at gmail dot com> ---
Sounds like you're using the wrong target. m68k-linux implies a 68020, 030,
040, or 060 CPU, and they don't have alignment constraints. Perhaps you should
be using an m68k-elf toolchain?