aarch64: move pr113356.C under g++.target

Message ID ortt17vuh3.fsf@lxoliva.fsfla.org
State Committed
Headers
Series aarch64: move pr113356.C under g++.target |

Commit Message

Alexandre Oliva Sept. 13, 2025, 4:37 a.m. UTC
  This test requires a C++ compiler.

This patch by Clément has been tested with multiple targets variants,
including native aarch64-linux-gnu.  Barring objections in the next few
days, I'm going to put it in as obvious.

for gcc/testsuite/ChangeLog

	* gcc.target/aarch64/pr113356.C: Move to ...
	* g++.target/aarch64/pr113356.C: ... here.
---
 gcc/testsuite/g++.target/aarch64/pr113356.C |    8 ++++++++
 gcc/testsuite/gcc.target/aarch64/pr113356.C |    8 --------
 2 files changed, 8 insertions(+), 8 deletions(-)
 create mode 100644 gcc/testsuite/g++.target/aarch64/pr113356.C
 delete mode 100644 gcc/testsuite/gcc.target/aarch64/pr113356.C
  

Comments

Andrea Pinski Sept. 13, 2025, 5:47 a.m. UTC | #1
On Fri, Sep 12, 2025 at 9:38 PM Alexandre Oliva <oliva@adacore.com> wrote:
>
>
> This test requires a C++ compiler.
>
> This patch by Clément has been tested with multiple targets variants,
> including native aarch64-linux-gnu.  Barring objections in the next few
> days, I'm going to put it in as obvious.

The patch is ok.

>
> for gcc/testsuite/ChangeLog
>
>         * gcc.target/aarch64/pr113356.C: Move to ...
>         * g++.target/aarch64/pr113356.C: ... here.
> ---
>  gcc/testsuite/g++.target/aarch64/pr113356.C |    8 ++++++++
>  gcc/testsuite/gcc.target/aarch64/pr113356.C |    8 --------
>  2 files changed, 8 insertions(+), 8 deletions(-)
>  create mode 100644 gcc/testsuite/g++.target/aarch64/pr113356.C
>  delete mode 100644 gcc/testsuite/gcc.target/aarch64/pr113356.C
>
> diff --git a/gcc/testsuite/g++.target/aarch64/pr113356.C b/gcc/testsuite/g++.target/aarch64/pr113356.C
> new file mode 100644
> index 0000000000000..0de17a54a53fc
> --- /dev/null
> +++ b/gcc/testsuite/g++.target/aarch64/pr113356.C
> @@ -0,0 +1,8 @@
> +// { dg-do compile }
> +// { dg-options "-Os -fnon-call-exceptions -mearly-ldp-fusion -fno-lifetime-dse -fno-forward-propagate" }
> +struct Class1 {
> +  virtual ~Class1() {}
> +  unsigned Field1;
> +};
> +struct Class4 : virtual Class1 {};
> +int main() { Class4 var1; }
> diff --git a/gcc/testsuite/gcc.target/aarch64/pr113356.C b/gcc/testsuite/gcc.target/aarch64/pr113356.C
> deleted file mode 100644
> index 0de17a54a53fc..0000000000000
> --- a/gcc/testsuite/gcc.target/aarch64/pr113356.C
> +++ /dev/null
> @@ -1,8 +0,0 @@
> -// { dg-do compile }
> -// { dg-options "-Os -fnon-call-exceptions -mearly-ldp-fusion -fno-lifetime-dse -fno-forward-propagate" }
> -struct Class1 {
> -  virtual ~Class1() {}
> -  unsigned Field1;
> -};
> -struct Class4 : virtual Class1 {};
> -int main() { Class4 var1; }
>
>
> --
> Alexandre Oliva, happy hacker            https://blog.lx.oliva.nom.br/
> Free Software Activist     FSFLA co-founder     GNU Toolchain Engineer
> More tolerance and less prejudice are key for inclusion and diversity.
> Excluding neuro-others for not behaving ""normal"" is *not* inclusive!
  

Patch

diff --git a/gcc/testsuite/g++.target/aarch64/pr113356.C b/gcc/testsuite/g++.target/aarch64/pr113356.C
new file mode 100644
index 0000000000000..0de17a54a53fc
--- /dev/null
+++ b/gcc/testsuite/g++.target/aarch64/pr113356.C
@@ -0,0 +1,8 @@ 
+// { dg-do compile }
+// { dg-options "-Os -fnon-call-exceptions -mearly-ldp-fusion -fno-lifetime-dse -fno-forward-propagate" }
+struct Class1 {
+  virtual ~Class1() {}
+  unsigned Field1;
+};
+struct Class4 : virtual Class1 {};
+int main() { Class4 var1; }
diff --git a/gcc/testsuite/gcc.target/aarch64/pr113356.C b/gcc/testsuite/gcc.target/aarch64/pr113356.C
deleted file mode 100644
index 0de17a54a53fc..0000000000000
--- a/gcc/testsuite/gcc.target/aarch64/pr113356.C
+++ /dev/null
@@ -1,8 +0,0 @@ 
-// { dg-do compile }
-// { dg-options "-Os -fnon-call-exceptions -mearly-ldp-fusion -fno-lifetime-dse -fno-forward-propagate" }
-struct Class1 {
-  virtual ~Class1() {}
-  unsigned Field1;
-};
-struct Class4 : virtual Class1 {};
-int main() { Class4 var1; }