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
This commit is contained in:
Jakub Jelinek 2017-11-28 12:14:52 +01:00 committed by Jakub Jelinek
parent 5e9d6aa4c2
commit fa69d74bd8
2 changed files with 7 additions and 1 deletions

View 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>

View 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 << ") (";