This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/56620] Memcpy optimization may lead to unaligned access on ARM Thumb


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]