at stor-layout.c:403 with arm-linux-gnueabi.
*** gcc/ChangeLog ***
2018-02-21 Sudakshina Das <sudi.das@arm.com>
Backport from trunk
2018-01-10 Sudakshina Das <sudi.das@arm.com>
PR target/82096
* expmed.c (emit_store_flag_force): Swap if const op0
and change VOIDmode to mode of op0.
*** gcc/testsuite/ChangeLog ***
2018-02-21 Sudakshina Das <sudi.das@arm.com>
Backport from trunk
2018-01-12 Sudakshina Das <sudi.das@arm.com>
* gcc.c-torture/compile/pr82096.c: Add dg-skip-if
directive.
Backport from trunk
2018-01-10 Sudakshina Das <sudi.das@arm.com>
PR target/82096
* gcc.c-torture/compile/pr82096.c: New test.
From-SVN: r257871
+2018-02-21 Sudakshina Das <sudi.das@arm.com>
+
+ Backport from trunk
+ 2018-01-10 Sudakshina Das <sudi.das@arm.com>
+
+ PR target/82096
+ * expmed.c (emit_store_flag_force): Swap if const op0
+ and change VOIDmode to mode of op0.
+
2018-02-15 Michael Meissner <meissner@linux.vnet.ibm.com>
Back port from trunk
if (tem != 0)
return tem;
+ /* If one operand is constant, make it the second one. Only do this
+ if the other operand is not constant as well. */
+
+ if (swap_commutative_operands_p (op0, op1))
+ {
+ std::swap (op0, op1);
+ code = swap_condition (code);
+ }
+
+ if (mode == VOIDmode)
+ mode = GET_MODE (op0);
+
if (!target)
target = gen_reg_rtx (word_mode);
+2018-02-21 Sudakshina Das <sudi.das@arm.com>
+
+ Backport from trunk
+ 2018-01-12 Sudakshina Das <sudi.das@arm.com>
+
+ * gcc.c-torture/compile/pr82096.c: Add dg-skip-if
+ directive.
+
+ Backport from trunk
+ 2018-01-10 Sudakshina Das <sudi.das@arm.com>
+
+ PR target/82096
+ * gcc.c-torture/compile/pr82096.c: New test.
+
2018-02-16 Eric Botcazou <ebotcazou@adacore.com>
PR ada/84277
--- /dev/null
+/* { dg-require-effective-target arm_arch_v5t_ok { target arm*-*-* } } */
+/* { dg-skip-if "Do not combine float-abi values" { arm*-*-* } { "-mfloat-abi=*" } { "-mfloat-abi=soft" } } */
+/* { dg-additional-options "-march=armv5t -mthumb -mfloat-abi=soft" { target arm*-*-* } } */
+
+static long long AL[24];
+
+int
+check_ok (void)
+{
+ return (__sync_bool_compare_and_swap (AL+1, 0x200000003ll, 0x1234567890ll));
+}