On Fri, Mar 06, 2015 at 04:09:40PM +0000, James Greenhalgh wrote:
> On Wed, Mar 04, 2015 at 09:38:51AM +0000, James Greenhalgh wrote:
> > It took me a while longer than expected to get round to it, but
> > I've committed the attached (revision 221175) as the obvious fix, after
> > checking that it worked on aarch64-none-elf.
> >
> > Thanks,
> > James
> >
> > ---
> > gcc/testsuite/
> >
> > 2015-03-04 James Greenhalgh <[email protected]>
> >
> > * gcc.target/aarch64/atomic-comp-swap-release-acquire.c: Add
> > -fno-ipa-icf to dg-options
> > * gcc.target/aarch64/vect_saddl_1.c: Likewise.
> > * gcc.target/aarch64/vect_smlal_1.c: Likewise.
>
> Hi,
>
> ARM will want the same fix for the copy of
> atomic-comp-swap-release-acquire.c that lives in gcc.target/arm/ .
>
> I've committed the attached as obvious as revision 221243 after testing
> on arm-none-eabi with no issues.
ENOPATCH, I'll try again!
r221243 looks like this...
Cheers,
James
Index: gcc/testsuite/gcc.target/arm/atomic-comp-swap-release-acquire.c
===================================================================
--- gcc/testsuite/gcc.target/arm/atomic-comp-swap-release-acquire.c (revision 221242)
+++ gcc/testsuite/gcc.target/arm/atomic-comp-swap-release-acquire.c (revision 221243)
@@ -1,6 +1,6 @@
/* { dg-do compile } */
/* { dg-require-effective-target arm_arch_v8a_ok } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -fno-ipa-icf" } */
/* { dg-add-options arm_arch_v8a } */
#include "../aarch64/atomic-comp-swap-release-acquire.x"
Index: gcc/testsuite/ChangeLog
===================================================================
--- gcc/testsuite/ChangeLog (revision 221242)
+++ gcc/testsuite/ChangeLog (revision 221243)
@@ -1,5 +1,10 @@
2015-03-06 James Greenhalgh <[email protected]>
+ * gcc.target/arm/atomic-comp-swap-release-acquire.c: Add
+ -fno-ipa-icf to dg-options.
+
+2015-03-06 James Greenhalgh <[email protected]>
+
* c-c++-common/torture/aarch64-vect-lane-2.c: XFAIL for LTO
compiles using the linker plugin.