2019-08-28 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR middle-end/89544
* gcc.target/arm/unaligned-argument-3.c: New test.
From-SVN: r274987
+2019-08-28 Bernd Edlinger <bernd.edlinger@hotmail.de>
+
+ PR middle-end/89544
+ * gcc.target/arm/unaligned-argument-3.c: New test.
+
2019-08-27 Marek Polacek <polacek@redhat.com>
PR c++/81676 - bogus -Wunused warnings in constexpr if.
--- /dev/null
+/* { dg-do compile } */
+/* { dg-require-effective-target arm_arm_ok } */
+/* { dg-options "-marm -mno-unaligned-access -O3" } */
+
+typedef int __attribute__((aligned(1))) s;
+
+void x(char*, s*);
+void f(char a, s f)
+{
+ x(&a, &f);
+}
+
+/* { dg-final { scan-assembler-times "str\t\[^\\n\]*\\\[sp\\\]" 1 } } */
+/* { dg-final { scan-assembler-times "str\t\[^\\n\]*\\\[sp, #3\\\]" 0 } } */