https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80082
--- Comment #11 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> --- Author: thopre01 Date: Tue Apr 11 15:26:20 2017 New Revision: 246844 URL: https://gcc.gnu.org/viewcvs?rev=246844&root=gcc&view=rev Log: Fix PR80082: LDRD erronously used for 64bit load on ARMv7-R 2017-04-11 Thomas Preud'homme <thomas.preudho...@arm.com> Backport from GCC 6 2017-04-06 Thomas Preud'homme <thomas.preudho...@arm.com> gcc/ PR target/80082 * config/arm/arm-protos.h (FL_LPAE): Define macro. (FL_FOR_ARCH7VE): Add FL_LPAE. (arm_arch_lpae): Declare extern. * config/arm/arm.c (arm_arch_lpae): Declare. (arm_option_override): Define arm_arch_lpae. * config/arm/arm.h (TARGET_HAVE_LPAE): Redefine in term of arm_arch_lpae. gcc/testsuite/ PR target/80082 * gcc.target/arm/atomic_loaddi_10.c: New testcase. * gcc.target/arm/atomic_loaddi_11.c: Likewise. Added: branches/gcc-5-branch/gcc/testsuite/gcc.target/arm/atomic_loaddi_10.c branches/gcc-5-branch/gcc/testsuite/gcc.target/arm/atomic_loaddi_11.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/config/arm/arm-protos.h branches/gcc-5-branch/gcc/config/arm/arm.c branches/gcc-5-branch/gcc/config/arm/arm.h branches/gcc-5-branch/gcc/testsuite/ChangeLog