This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Rename PR middle-end/66726 testcase


Hi!

This PR fix has been committed with a *.c testcase in g++.dg/tree-ssa/,
where *.c tests are ignored (need *.C).

Fixed as obvious, committed to trunk.

2015-12-07  Jakub Jelinek  <jakub@redhat.com>

	PR middle-end/66726
	* g++.dg/tree-ssa/pr66726.c: Renamed to...
	* g++.dg/tree-ssa/pr66726.C: ... this.

--- gcc/testsuite/g++.dg/tree-ssa/pr66726.c.jj	2015-07-14 15:13:09.954918439 +0200
+++ gcc/testsuite/g++.dg/tree-ssa/pr66726.c	2015-12-07 15:45:17.359359028 +0100
@@ -1,36 +0,0 @@
-
-/* { dg-do run } */
-/* { dg-options "-O2" } */
-
-/* Execution test for converting VIEW_CONVERT_EXPR.  */
-
-struct cpp_num {
-  bool f;
-};
-
-extern cpp_num  __attribute__((noinline))
-foo (cpp_num lhs,
-     cpp_num rhs)
-{
-  lhs.f = lhs.f || rhs.f;
-  return lhs;
-}
-
-cpp_num lhs, rhs, r;
-
-int main ()
-{
-
-  lhs.f = false;
-  rhs.f = false;
-  r = foo (lhs, rhs);
-  if (r.f)
-    __builtin_abort ();
-
-
-  lhs.f = false;
-  rhs.f = true;
-  r = foo (lhs, rhs);
-  if (!r.f)
-    __builtin_abort ();
-}
--- gcc/testsuite/g++.dg/tree-ssa/pr66726.C.jj	2015-12-07 15:45:09.156473497 +0100
+++ gcc/testsuite/g++.dg/tree-ssa/pr66726.C	2015-07-14 15:13:09.000000000 +0200
@@ -0,0 +1,35 @@
+/* { dg-do run } */
+/* { dg-options "-O2" } */
+
+/* Execution test for converting VIEW_CONVERT_EXPR.  */
+
+struct cpp_num {
+  bool f;
+};
+
+extern cpp_num  __attribute__((noinline))
+foo (cpp_num lhs,
+     cpp_num rhs)
+{
+  lhs.f = lhs.f || rhs.f;
+  return lhs;
+}
+
+cpp_num lhs, rhs, r;
+
+int main ()
+{
+
+  lhs.f = false;
+  rhs.f = false;
+  r = foo (lhs, rhs);
+  if (r.f)
+    __builtin_abort ();
+
+
+  lhs.f = false;
+  rhs.f = true;
+  r = foo (lhs, rhs);
+  if (!r.f)
+    __builtin_abort ();
+}

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]