https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82445
Petr Cvek <petrcvekcz at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |petrcvekcz at gmail dot com --- Comment #5 from Petr Cvek <petrcvekcz at gmail dot com> --- Get the same bug with: gcc version 7.1.0 (crosstool-NG crosstool-ng-1.23.0-88-gfae66ae3) Bug free version: gcc version 6.3.0 (crosstool-NG crosstool-ng-1.22.0-452-gc7b1e295) Testing program: just main() with "helloworld" calling the example code (strd.c) compiled as object file. march/mtune combinations which are OK: -march=armv5te -mtune=xscale -march=armv5te -mtune=iwmmxt -march=iwmmxt -march=armv5t (actually less opcodes than variants above) -march=armv5 march/mtune combinations which generate an unaligned access in STRD (even with -mno-unaligned-access): -march=armv5te (tested on a real HW, generating alignment exceptions in /proc/cpu/alignment) -march=armv5tej (not existing on gcc 6.3.0) -march=armv5te -mtune=arm1020e -march=armv5te -mtune=arm926ej-s