re PR c/83117 (FAIL: gcc.target/x86_64/abi/ms-sysv/ms-sysv.c (test for excess errors))
authorJakub Jelinek <jakub@redhat.com>
Tue, 28 Nov 2017 11:14:52 +0000 (12:14 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 28 Nov 2017 11:14:52 +0000 (12:14 +0100)
PR c/83117
* gcc.target/x86_64/abi/ms-sysv/gen.cc (make_do_tests_decl): Drop
const from do_test_{u,v}*.

From-SVN: r255196

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/x86_64/abi/ms-sysv/gen.cc

index 95bcafeb781880a33d0572ebba89a0920cf16986..8a8fed7cb405dd691355c63ef5e6b7addf6d4201 100644 (file)
@@ -1,3 +1,9 @@
+2017-11-28  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/83117
+       * gcc.target/x86_64/abi/ms-sysv/gen.cc (make_do_tests_decl): Drop
+       const from do_test_{u,v}*.
+
 2017-11-28  Julia Koval  <julia.koval@intel.com>
             Sebastian Peryt  <sebastian.peryt@intel.com>
 
index 947a12bf2aefba0591444e0c0d0b13abd4528517..701531480f629e084756031442117479683e5ea8 100644 (file)
@@ -392,7 +392,7 @@ static void make_do_tests_decl (const vector<class arg> &args, ostream &out)
            continue;
 
          comma.reset ();
-         out << "static __attribute__ ((ms_abi)) long (*const do_test_"
+         out << "static __attribute__ ((ms_abi)) long (*do_test_"
              << (unaligned ? "u" : "")
              << (varargs ? "v" : "") << i << ") (";