From fa69d74bd841dd75bd235f482b335e4c474ad3d5 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 28 Nov 2017 12:14:52 +0100 Subject: [PATCH] re PR c/83117 (FAIL: gcc.target/x86_64/abi/ms-sysv/ms-sysv.c (test for excess errors)) 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 | 6 ++++++ gcc/testsuite/gcc.target/x86_64/abi/ms-sysv/gen.cc | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 95bcafeb781..8a8fed7cb40 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2017-11-28 Jakub Jelinek + + 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 Sebastian Peryt diff --git a/gcc/testsuite/gcc.target/x86_64/abi/ms-sysv/gen.cc b/gcc/testsuite/gcc.target/x86_64/abi/ms-sysv/gen.cc index 947a12bf2ae..701531480f6 100644 --- a/gcc/testsuite/gcc.target/x86_64/abi/ms-sysv/gen.cc +++ b/gcc/testsuite/gcc.target/x86_64/abi/ms-sysv/gen.cc @@ -392,7 +392,7 @@ static void make_do_tests_decl (const vector &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 << ") ("; -- 2.30.2