This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/56620] Memcpy optimization may lead to unaligned access on ARM Thumb
- From: "eleventen at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 14 Mar 2013 18:26:02 +0000
- Subject: [Bug target/56620] Memcpy optimization may lead to unaligned access on ARM Thumb
- Auto-submitted: auto-generated
- References: <bug-56620-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56620
--- Comment #3 from Marc Singer <eleventen at gmail dot com> 2013-03-14 18:26:02 UTC ---
The compiler was built as follows:
elf@cerise ~/memcpy-bug > /opt/gcc/arm-none-eabi/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/opt/gcc/arm-none-eabi/bin/gcc
Target: arm-none-eabi
Configured with: ../gcc-4.7.2/configure --target=arm-none-eabi
--prefix=/opt/gcc --enable-multilib --enable-languages=c,c++ --with-newlib
--with-gnu-as --with-gnu-ld --disable-nls --disable-shared --disable-threads
--with-headers=newlib/libc/include --disable-libssp --disable-libstdcxx-pch
--disable-libmudflap --disable-libgomp --disable-werror --with-system-zlib
--disable-newlib-supplied-syscalls
Thread model: single
gcc version 4.7.2 (GCC)
The invoking command line, available at the top of the sample source file, is
reproduced here for clarity.
arm-none-eabi-gcc -std=c99 -g -Os -c -mcpu=cortex-m3 -mthumb memcpy-test.c -o
memcpy-test.o