C99 testsuite readiness: Some unverified test case reductions

Message ID 87sf65w1v0.fsf@oldenburg.str.redhat.com
State Accepted
Headers
Series C99 testsuite readiness: Some unverified test case reductions |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

Florian Weimer Oct. 20, 2023, 7:05 p.m. UTC
  gcc/testsuite/

	* gcc.c-torture/compile/20000412-2.c (f): Call
	__builtin_strlen	instead of strlen.
	* gcc.c-torture/compile/20000427-1.c (FindNearestPowerOf2):
	Declare.
	* gcc.c-torture/compile/20000802-1.c (bar): Call
	__builtin_memcpy	instead of memcpy.
	* gcc.c-torture/compile/20010525-1.c (kind_varread): Likewise.
	* gcc.c-torture/compile/20010706-1.c (foo): Add missing int
	return type.
	* gcc.c-torture/compile/20020314-1.c (add_output_space_event)
	(del_tux_atom, add_req_to_workqueue): Declare.
	* gcc.c-torture/compile/20020701-1.c (f): Call
	__builtin_memcpy	instead of memcpy.
	* gcc.c-torture/compile/20021015-2.c (f): Call __builtin_bcmp
	instead of bcmo.
	* gcc.c-torture/compile/20030110-1.c (inb): Declare.
	* gcc.c-torture/compile/20030314-1.c (bar): Add missing
	void return type.
	* gcc.c-torture/compile/20030405-1.c (bar): Add missing int
	return type.
	* gcc.c-torture/compile/20030416-1.c (bar): Declare.
	(main): Add missing int return type.
	* gcc.c-torture/compile/20030503-1.c (bar): Declare.
	* gcc.c-torture/compile/20030530-1.c: (bar): Declare.
	* gcc.c-torture/compile/20031031-2.c (foo, bar, baz): Declare.
	* gcc.c-torture/compile/20040101-1.c (test16): Call
	__builtin_printf instead of printf.
	* gcc.c-torture/compile/20040124-1.c (f2, f3): Declare.
	* gcc.c-torture/compile/20040304-1.c (macarg): Declare.
	* gcc.c-torture/compile/20040705-1.c (f): Call
	__builtin_memcpy instead of memcpy.
	* gcc.c-torture/compile/20040908-1.c (bar): Declare.
	* gcc.c-torture/compile/20050510-1.c (dont_remove): Declare.
	* gcc.c-torture/compile/20051228-1.c (bar): Declare.
	* gcc.c-torture/compile/20060109-1.c (cpp_interpret_string):
	Declare.
	(int_c_lex, cb_ident): Add missing void return type.
	(cb_ident): Define as static.
	* gcc.c-torture/compile/20060202-1.c (sarray_get): Declare.
	* gcc.c-torture/compile/20070129.c (regcurly)
	(reguni): Declare.
	* gcc.c-torture/compile/20070529-1.c (__fswab16): Declare.
	* gcc.c-torture/compile/20070529-2.c (kmem_free): Declare.
	* gcc.c-torture/compile/20070605-1.c (quantize_fs_dither):
	Add missing void return type.
	* gcc.c-torture/compile/20071107-1.c
	(settings_install_property_parser): Declare.
	* gcc.c-torture/compile/20090907-1.c (load_waveform): Call
	__builtin_abort instead of abort.
	* gcc.c-torture/compile/20100907.c (t): Add missing void
	types.
	* gcc.c-torture/compile/20120524-1.c (build_packet): Call
	__builtin_memcpy instead of memcpy.
	* gcc.c-torture/compile/20120830-2.c
	(ubidi_writeReordered_49): Add missing void return type.
	* gcc.c-torture/compile/20121010-1.c (read_long): Add missing
	int return type.
	* gcc.c-torture/compile/920301-1.c (f, g): Add missing void
	types.
	* gcc.c-torture/compile/920409-1.c (x): Likewise.
	* gcc.c-torture/compile/920410-1.c (main): Add missing int
	return type.  Call __builtin_printf instead of printf.
	* gcc.c-torture/compile/920410-2.c (joe): Add missing void
	types.
	* gcc.c-torture/compile/920411-2.c (x): Likewise.
	* gcc.c-torture/compile/920413-1.c (f): Add missing int return
	type.
	* gcc.c-torture/compile/920428-3.c (x): Add missing int types.
	* gcc.c-torture/compile/920428-4.c (x): Add missing void
	return type and int parameter type.
	* gcc.c-torture/compile/920501-10.c (x): Add missing int
	types.
	* gcc.c-torture/compile/920501-12.c (x, a, b, A, B): Likewise.
	* gcc.c-torture/compile/920501-17.c (x): Add missing void
	types.
	* gcc.c-torture/compile/920501-19.c (y): Likewise.
	* gcc.c-torture/compile/920501-22.c (x): Likewise.
	* gcc.c-torture/compile/920501-3.c (x): Likewise.
	* gcc.c-torture/compile/920501-4.c (foo): Likewise.
	* gcc.c-torture/compile/920529-1.c (f): Call __builtin_abort
	instead of abort.
	* gcc.c-torture/compile/920615-1.c (f): Add missing void
	types.
	* gcc.c-torture/compile/920623-1.c (g): Likewise.
	* gcc.c-torture/compile/920624-1.c (f): Likewise.
	* gcc.c-torture/compile/920711-1.c (f): Add missing int types.
	* gcc.c-torture/compile/920729-1.c (f): Add missing void
	types.
	* gcc.c-torture/compile/920806-1.c (f): Likewise.
	* gcc.c-torture/compile/920821-2.c (f): Likewise.
	* gcc.c-torture/compile/920825-1.c (f): Likewise.
	* gcc.c-torture/compile/920825-2.c (f, g): Add missing void
	return type.
	* gcc.c-torture/compile/920826-1.c (f): Likewise.
	* gcc.c-torture/compile/920828-1.c (f): Add missing int types.
	* gcc.c-torture/compile/920829-1.c (f): Add missing void
	return type.
	* gcc.c-torture/compile/920928-3.c (f): Likewise.
	* gcc.c-torture/compile/921012-2.c (f): Likewise.
	* gcc.c-torture/compile/921013-1.c (f): Likewise.
	* gcc.c-torture/compile/921019-1.c (f): Add missing void
	types.
	* gcc.c-torture/compile/921026-1.c (f): Add missing void
	return type.
	* gcc.c-torture/compile/921126-1.c (f): Add missing int
	return type and missing void.
	* gcc.c-torture/compile/921227-1.c (f): Add missing void
	types.
	* gcc.c-torture/compile/930109-2.c (f): Add missing int types.
	* gcc.c-torture/compile/930210-1.c (f): Add missing void
	types.
	* gcc.c-torture/compile/930222-1.c (g): Declare.
	(f): Add missing int return type.
	* gcc.c-torture/compile/930421-1.c (f): Add missing void
	return type.
	* gcc.c-torture/compile/930503-1.c (f): Likewise.
	* gcc.c-torture/compile/930513-1.c (f): Add missing int return
	type.
	* gcc.c-torture/compile/930513-3.c (test): Add missing void
	types.
	* gcc.c-torture/compile/930523-1.c (f): Likewise.
	* gcc.c-torture/compile/930527-1.c (f): Likewise.
	* gcc.c-torture/compile/930603-1.c (f): Likewise.
	* gcc.c-torture/compile/930607-1.c (g): Likewise.
	* gcc.c-torture/compile/930702-1.c (f): Add missing int
	return type and missing void.
	* gcc.c-torture/compile/931018-1.c (f): Add missing void
	return type.
	* gcc.c-torture/compile/931031-1.c (f): Likewise.
	* gcc.c-torture/compile/931102-1.c (xxx): Add missing void
	types.
	* gcc.c-torture/compile/940611-1.c (f): Likewise.
	* gcc.c-torture/compile/940712-1.c (f): Add missing int
	return type and missing void.
	* gcc.c-torture/compile/950512-1.c (g): Declare.
	(f): Add missing void return type.
	* gcc.c-torture/compile/950530-1.c (f): Add missing int
	return type.
	* gcc.c-torture/compile/950610-1.c (f): Add missing void
	return type.
	* gcc.c-torture/compile/950613-1.c (f): Add missing void
	types.
	* gcc.c-torture/compile/950816-1.c (f): Add missing int return
	type and missing void.
	* gcc.c-torture/compile/950816-2.c (func): Declare.
	(f): Add missing void types.
	* gcc.c-torture/compile/950816-3.c (f): Add missing int
	return type and missing void.
	* gcc.c-torture/compile/950919-1.c (f): Add missing void
	types.
	* gcc.c-torture/compile/950921-1.c (f): Add missing int
	return type and missing void.
	* gcc.c-torture/compile/951004-1.c (f): Add missing void
	return type.
	* gcc.c-torture/compile/951116-1.c (f): Add missing int
	return type and missing void.
	* gcc.c-torture/compile/951128-1.c (f): Add missing void
	return type.
	* gcc.c-torture/compile/951220-1.c (f): Add missing int return
	type.
	* gcc.c-torture/compile/960220-1.c (f): Add missing void
	types.
	* gcc.c-torture/compile/960221-1.c (foo): Add missing void
	return type.
	* gcc.c-torture/compile/960704-1.c (main): Add missing int
	return type and missing void.
	* gcc.c-torture/compile/961031-1.c (f): Add missing void
	types.
	* gcc.c-torture/compile/961126-1.c (sub, sub2): Declare.
	(main): Add missing int return type and missing void.
	* gcc.c-torture/compile/961203-1.c (main): Call __builtin_exit
	instead of exit.
	* gcc.c-torture/compile/981001-1.c (main): Likewise.
	* gcc.c-torture/compile/981107-1.c (call): Declare.
	* gcc.c-torture/compile/990517-1.c (sdbm__splpage): Call
	__builtin_memcpy instead of memcpy.
	* gcc.c-torture/compile/990617-1.c (main): Call
	__builtin_printf instead of printf.
	* gcc.c-torture/compile/991026-2.c (detach): Add missing void
	types.
	* gcc.c-torture/compile/991229-1.c (ejEval): Likewise.
	* gcc.c-torture/compile/991229-3.c (rand): Declare.

---
 gcc/testsuite/gcc.c-torture/compile/20000412-2.c |  2 +-
 gcc/testsuite/gcc.c-torture/compile/20000427-1.c |  1 +
 gcc/testsuite/gcc.c-torture/compile/20000802-1.c |  2 +-
 gcc/testsuite/gcc.c-torture/compile/20010525-1.c |  2 +-
 gcc/testsuite/gcc.c-torture/compile/20010706-1.c |  2 +-
 gcc/testsuite/gcc.c-torture/compile/20020314-1.c |  3 +++
 gcc/testsuite/gcc.c-torture/compile/20020701-1.c |  2 +-
 gcc/testsuite/gcc.c-torture/compile/20021015-2.c |  2 +-
 gcc/testsuite/gcc.c-torture/compile/20030110-1.c |  1 +
 gcc/testsuite/gcc.c-torture/compile/20030314-1.c |  2 +-
 gcc/testsuite/gcc.c-torture/compile/20030405-1.c |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/20030416-1.c |  5 ++++-
 gcc/testsuite/gcc.c-torture/compile/20030503-1.c |  2 ++
 gcc/testsuite/gcc.c-torture/compile/20030530-1.c |  1 +
 gcc/testsuite/gcc.c-torture/compile/20031031-2.c |  4 ++++
 gcc/testsuite/gcc.c-torture/compile/20040101-1.c |  5 +++--
 gcc/testsuite/gcc.c-torture/compile/20040124-1.c |  2 ++
 gcc/testsuite/gcc.c-torture/compile/20040304-1.c |  1 +
 gcc/testsuite/gcc.c-torture/compile/20040705-1.c |  2 +-
 gcc/testsuite/gcc.c-torture/compile/20040908-1.c |  2 ++
 gcc/testsuite/gcc.c-torture/compile/20050510-1.c |  2 ++
 gcc/testsuite/gcc.c-torture/compile/20051228-1.c |  2 ++
 gcc/testsuite/gcc.c-torture/compile/20060109-1.c |  4 ++++
 gcc/testsuite/gcc.c-torture/compile/20060202-1.c |  1 +
 gcc/testsuite/gcc.c-torture/compile/20070129.c   |  3 +++
 gcc/testsuite/gcc.c-torture/compile/20070529-1.c |  1 +
 gcc/testsuite/gcc.c-torture/compile/20070529-2.c |  1 +
 gcc/testsuite/gcc.c-torture/compile/20070605-1.c |  1 +
 gcc/testsuite/gcc.c-torture/compile/20071107-1.c |  1 +
 gcc/testsuite/gcc.c-torture/compile/20090907-1.c |  2 +-
 gcc/testsuite/gcc.c-torture/compile/20100907.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/20120524-1.c |  2 +-
 gcc/testsuite/gcc.c-torture/compile/20120830-2.c |  1 +
 gcc/testsuite/gcc.c-torture/compile/20121010-1.c |  2 +-
 gcc/testsuite/gcc.c-torture/compile/920301-1.c   |  4 ++--
 gcc/testsuite/gcc.c-torture/compile/920409-1.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/920410-1.c   |  5 +++--
 gcc/testsuite/gcc.c-torture/compile/920410-2.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/920411-2.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/920413-1.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/920428-3.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/920428-4.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/920501-10.c  |  2 +-
 gcc/testsuite/gcc.c-torture/compile/920501-12.c  | 10 +++++-----
 gcc/testsuite/gcc.c-torture/compile/920501-17.c  |  2 +-
 gcc/testsuite/gcc.c-torture/compile/920501-19.c  |  2 +-
 gcc/testsuite/gcc.c-torture/compile/920501-22.c  |  2 +-
 gcc/testsuite/gcc.c-torture/compile/920501-3.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/920501-4.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/920529-1.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/920615-1.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/920623-1.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/920624-1.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/920711-1.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/920729-1.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/920806-1.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/920821-2.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/920825-1.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/920825-2.c   |  4 ++--
 gcc/testsuite/gcc.c-torture/compile/920826-1.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/920828-1.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/920829-1.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/920928-3.c   |  1 +
 gcc/testsuite/gcc.c-torture/compile/921012-2.c   |  1 +
 gcc/testsuite/gcc.c-torture/compile/921013-1.c   |  1 +
 gcc/testsuite/gcc.c-torture/compile/921019-1.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/921026-1.c   |  1 +
 gcc/testsuite/gcc.c-torture/compile/921126-1.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/921227-1.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/930109-2.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/930210-1.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/930222-1.c   |  3 +++
 gcc/testsuite/gcc.c-torture/compile/930421-1.c   |  1 +
 gcc/testsuite/gcc.c-torture/compile/930503-1.c   |  1 +
 gcc/testsuite/gcc.c-torture/compile/930513-1.c   |  1 +
 gcc/testsuite/gcc.c-torture/compile/930513-3.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/930523-1.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/930527-1.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/930603-1.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/930607-1.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/930702-1.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/931018-1.c   |  1 +
 gcc/testsuite/gcc.c-torture/compile/931031-1.c   |  1 +
 gcc/testsuite/gcc.c-torture/compile/931102-1.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/940611-1.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/940712-1.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/950512-1.c   |  2 ++
 gcc/testsuite/gcc.c-torture/compile/950530-1.c   |  1 +
 gcc/testsuite/gcc.c-torture/compile/950610-1.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/950613-1.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/950816-1.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/950816-2.c   |  4 +++-
 gcc/testsuite/gcc.c-torture/compile/950816-3.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/950919-1.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/950921-1.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/951004-1.c   |  1 +
 gcc/testsuite/gcc.c-torture/compile/951116-1.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/951128-1.c   |  1 +
 gcc/testsuite/gcc.c-torture/compile/951220-1.c   |  1 +
 gcc/testsuite/gcc.c-torture/compile/960220-1.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/960221-1.c   |  1 +
 gcc/testsuite/gcc.c-torture/compile/960704-1.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/961031-1.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/961126-1.c   |  5 ++++-
 gcc/testsuite/gcc.c-torture/compile/961203-1.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/981001-1.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/981107-1.c   |  1 +
 gcc/testsuite/gcc.c-torture/compile/990517-1.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/990617-1.c   |  2 +-
 gcc/testsuite/gcc.c-torture/compile/991026-2.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/991229-1.c   |  3 ++-
 gcc/testsuite/gcc.c-torture/compile/991229-3.c   |  1 +
 112 files changed, 174 insertions(+), 83 deletions(-)


base-commit: 1824a081ec9f04a9c68bce6b0a909b1323061023
  

Comments

Jeff Law Oct. 27, 2023, 2:56 p.m. UTC | #1
On 10/20/23 13:05, Florian Weimer wrote:
> gcc/testsuite/
> 
> 	* gcc.c-torture/compile/20000412-2.c (f): Call
> 	__builtin_strlen	instead of strlen.
> 	* gcc.c-torture/compile/20000427-1.c (FindNearestPowerOf2):
> 	Declare.
> 	* gcc.c-torture/compile/20000802-1.c (bar): Call
> 	__builtin_memcpy	instead of memcpy.
> 	* gcc.c-torture/compile/20010525-1.c (kind_varread): Likewise.
> 	* gcc.c-torture/compile/20010706-1.c (foo): Add missing int
> 	return type.
> 	* gcc.c-torture/compile/20020314-1.c (add_output_space_event)
> 	(del_tux_atom, add_req_to_workqueue): Declare.
> 	* gcc.c-torture/compile/20020701-1.c (f): Call
> 	__builtin_memcpy	instead of memcpy.
> 	* gcc.c-torture/compile/20021015-2.c (f): Call __builtin_bcmp
> 	instead of bcmo.
> 	* gcc.c-torture/compile/20030110-1.c (inb): Declare.
> 	* gcc.c-torture/compile/20030314-1.c (bar): Add missing
> 	void return type.
> 	* gcc.c-torture/compile/20030405-1.c (bar): Add missing int
> 	return type.
> 	* gcc.c-torture/compile/20030416-1.c (bar): Declare.
> 	(main): Add missing int return type.
> 	* gcc.c-torture/compile/20030503-1.c (bar): Declare.
> 	* gcc.c-torture/compile/20030530-1.c: (bar): Declare.
> 	* gcc.c-torture/compile/20031031-2.c (foo, bar, baz): Declare.
> 	* gcc.c-torture/compile/20040101-1.c (test16): Call
> 	__builtin_printf instead of printf.
> 	* gcc.c-torture/compile/20040124-1.c (f2, f3): Declare.
> 	* gcc.c-torture/compile/20040304-1.c (macarg): Declare.
> 	* gcc.c-torture/compile/20040705-1.c (f): Call
> 	__builtin_memcpy instead of memcpy.
> 	* gcc.c-torture/compile/20040908-1.c (bar): Declare.
> 	* gcc.c-torture/compile/20050510-1.c (dont_remove): Declare.
> 	* gcc.c-torture/compile/20051228-1.c (bar): Declare.
> 	* gcc.c-torture/compile/20060109-1.c (cpp_interpret_string):
> 	Declare.
> 	(int_c_lex, cb_ident): Add missing void return type.
> 	(cb_ident): Define as static.
> 	* gcc.c-torture/compile/20060202-1.c (sarray_get): Declare.
> 	* gcc.c-torture/compile/20070129.c (regcurly)
> 	(reguni): Declare.
> 	* gcc.c-torture/compile/20070529-1.c (__fswab16): Declare.
> 	* gcc.c-torture/compile/20070529-2.c (kmem_free): Declare.
> 	* gcc.c-torture/compile/20070605-1.c (quantize_fs_dither):
> 	Add missing void return type.
> 	* gcc.c-torture/compile/20071107-1.c
> 	(settings_install_property_parser): Declare.
> 	* gcc.c-torture/compile/20090907-1.c (load_waveform): Call
> 	__builtin_abort instead of abort.
> 	* gcc.c-torture/compile/20100907.c (t): Add missing void
> 	types.
> 	* gcc.c-torture/compile/20120524-1.c (build_packet): Call
> 	__builtin_memcpy instead of memcpy.
> 	* gcc.c-torture/compile/20120830-2.c
> 	(ubidi_writeReordered_49): Add missing void return type.
> 	* gcc.c-torture/compile/20121010-1.c (read_long): Add missing
> 	int return type.
> 	* gcc.c-torture/compile/920301-1.c (f, g): Add missing void
> 	types.
> 	* gcc.c-torture/compile/920409-1.c (x): Likewise.
> 	* gcc.c-torture/compile/920410-1.c (main): Add missing int
> 	return type.  Call __builtin_printf instead of printf.
> 	* gcc.c-torture/compile/920410-2.c (joe): Add missing void
> 	types.
> 	* gcc.c-torture/compile/920411-2.c (x): Likewise.
> 	* gcc.c-torture/compile/920413-1.c (f): Add missing int return
> 	type.
> 	* gcc.c-torture/compile/920428-3.c (x): Add missing int types.
> 	* gcc.c-torture/compile/920428-4.c (x): Add missing void
> 	return type and int parameter type.
> 	* gcc.c-torture/compile/920501-10.c (x): Add missing int
> 	types.
> 	* gcc.c-torture/compile/920501-12.c (x, a, b, A, B): Likewise.
> 	* gcc.c-torture/compile/920501-17.c (x): Add missing void
> 	types.
> 	* gcc.c-torture/compile/920501-19.c (y): Likewise.
> 	* gcc.c-torture/compile/920501-22.c (x): Likewise.
> 	* gcc.c-torture/compile/920501-3.c (x): Likewise.
> 	* gcc.c-torture/compile/920501-4.c (foo): Likewise.
> 	* gcc.c-torture/compile/920529-1.c (f): Call __builtin_abort
> 	instead of abort.
> 	* gcc.c-torture/compile/920615-1.c (f): Add missing void
> 	types.
> 	* gcc.c-torture/compile/920623-1.c (g): Likewise.
> 	* gcc.c-torture/compile/920624-1.c (f): Likewise.
> 	* gcc.c-torture/compile/920711-1.c (f): Add missing int types.
> 	* gcc.c-torture/compile/920729-1.c (f): Add missing void
> 	types.
> 	* gcc.c-torture/compile/920806-1.c (f): Likewise.
> 	* gcc.c-torture/compile/920821-2.c (f): Likewise.
> 	* gcc.c-torture/compile/920825-1.c (f): Likewise.
> 	* gcc.c-torture/compile/920825-2.c (f, g): Add missing void
> 	return type.
> 	* gcc.c-torture/compile/920826-1.c (f): Likewise.
> 	* gcc.c-torture/compile/920828-1.c (f): Add missing int types.
> 	* gcc.c-torture/compile/920829-1.c (f): Add missing void
> 	return type.
> 	* gcc.c-torture/compile/920928-3.c (f): Likewise.
> 	* gcc.c-torture/compile/921012-2.c (f): Likewise.
> 	* gcc.c-torture/compile/921013-1.c (f): Likewise.
> 	* gcc.c-torture/compile/921019-1.c (f): Add missing void
> 	types.
> 	* gcc.c-torture/compile/921026-1.c (f): Add missing void
> 	return type.
> 	* gcc.c-torture/compile/921126-1.c (f): Add missing int
> 	return type and missing void.
> 	* gcc.c-torture/compile/921227-1.c (f): Add missing void
> 	types.
> 	* gcc.c-torture/compile/930109-2.c (f): Add missing int types.
> 	* gcc.c-torture/compile/930210-1.c (f): Add missing void
> 	types.
> 	* gcc.c-torture/compile/930222-1.c (g): Declare.
> 	(f): Add missing int return type.
> 	* gcc.c-torture/compile/930421-1.c (f): Add missing void
> 	return type.
> 	* gcc.c-torture/compile/930503-1.c (f): Likewise.
> 	* gcc.c-torture/compile/930513-1.c (f): Add missing int return
> 	type.
> 	* gcc.c-torture/compile/930513-3.c (test): Add missing void
> 	types.
> 	* gcc.c-torture/compile/930523-1.c (f): Likewise.
> 	* gcc.c-torture/compile/930527-1.c (f): Likewise.
> 	* gcc.c-torture/compile/930603-1.c (f): Likewise.
> 	* gcc.c-torture/compile/930607-1.c (g): Likewise.
> 	* gcc.c-torture/compile/930702-1.c (f): Add missing int
> 	return type and missing void.
> 	* gcc.c-torture/compile/931018-1.c (f): Add missing void
> 	return type.
> 	* gcc.c-torture/compile/931031-1.c (f): Likewise.
> 	* gcc.c-torture/compile/931102-1.c (xxx): Add missing void
> 	types.
> 	* gcc.c-torture/compile/940611-1.c (f): Likewise.
> 	* gcc.c-torture/compile/940712-1.c (f): Add missing int
> 	return type and missing void.
> 	* gcc.c-torture/compile/950512-1.c (g): Declare.
> 	(f): Add missing void return type.
> 	* gcc.c-torture/compile/950530-1.c (f): Add missing int
> 	return type.
> 	* gcc.c-torture/compile/950610-1.c (f): Add missing void
> 	return type.
> 	* gcc.c-torture/compile/950613-1.c (f): Add missing void
> 	types.
> 	* gcc.c-torture/compile/950816-1.c (f): Add missing int return
> 	type and missing void.
> 	* gcc.c-torture/compile/950816-2.c (func): Declare.
> 	(f): Add missing void types.
> 	* gcc.c-torture/compile/950816-3.c (f): Add missing int
> 	return type and missing void.
> 	* gcc.c-torture/compile/950919-1.c (f): Add missing void
> 	types.
> 	* gcc.c-torture/compile/950921-1.c (f): Add missing int
> 	return type and missing void.
> 	* gcc.c-torture/compile/951004-1.c (f): Add missing void
> 	return type.
> 	* gcc.c-torture/compile/951116-1.c (f): Add missing int
> 	return type and missing void.
> 	* gcc.c-torture/compile/951128-1.c (f): Add missing void
> 	return type.
> 	* gcc.c-torture/compile/951220-1.c (f): Add missing int return
> 	type.
> 	* gcc.c-torture/compile/960220-1.c (f): Add missing void
> 	types.
> 	* gcc.c-torture/compile/960221-1.c (foo): Add missing void
> 	return type.
> 	* gcc.c-torture/compile/960704-1.c (main): Add missing int
> 	return type and missing void.
> 	* gcc.c-torture/compile/961031-1.c (f): Add missing void
> 	types.
> 	* gcc.c-torture/compile/961126-1.c (sub, sub2): Declare.
> 	(main): Add missing int return type and missing void.
> 	* gcc.c-torture/compile/961203-1.c (main): Call __builtin_exit
> 	instead of exit.
> 	* gcc.c-torture/compile/981001-1.c (main): Likewise.
> 	* gcc.c-torture/compile/981107-1.c (call): Declare.
> 	* gcc.c-torture/compile/990517-1.c (sdbm__splpage): Call
> 	__builtin_memcpy instead of memcpy.
> 	* gcc.c-torture/compile/990617-1.c (main): Call
> 	__builtin_printf instead of printf.
> 	* gcc.c-torture/compile/991026-2.c (detach): Add missing void
> 	types.
> 	* gcc.c-torture/compile/991229-1.c (ejEval): Likewise.
> 	* gcc.c-torture/compile/991229-3.c (rand): Declare.
OK.


Jeff
  

Patch

diff --git a/gcc/testsuite/gcc.c-torture/compile/20000412-2.c b/gcc/testsuite/gcc.c-torture/compile/20000412-2.c
index e76a1eb73b5..10ef1a65290 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20000412-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20000412-2.c
@@ -1,4 +1,4 @@ 
 char list[250][64];
 
-int f(int idx) { return (strlen(list[idx])); }
+int f(int idx) { return (__builtin_strlen(list[idx])); }
 
diff --git a/gcc/testsuite/gcc.c-torture/compile/20000427-1.c b/gcc/testsuite/gcc.c-torture/compile/20000427-1.c
index dc51419cf01..add457ec121 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20000427-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20000427-1.c
@@ -1,5 +1,6 @@ 
 int lwidth;                                                                   
 int lheight;                                                                  
+int FindNearestPowerOf2 (int);
 void ConvertFor3dDriver (int requirePO2, int maxAspect)       
 {                                                     
   int oldw = lwidth, oldh = lheight;                      
diff --git a/gcc/testsuite/gcc.c-torture/compile/20000802-1.c b/gcc/testsuite/gcc.c-torture/compile/20000802-1.c
index 0b2f1d6af56..e9db4a36e50 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20000802-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20000802-1.c
@@ -10,6 +10,6 @@  char y[3];
 
 void bar(void)
 {
-    memcpy(bs.a, y, 3);
+    __builtin_memcpy(bs.a, y, 3);
     bs.a[1] = ((x ? &bs.b : &bs.c) - (char *)&bs) - 2;
 }
diff --git a/gcc/testsuite/gcc.c-torture/compile/20010525-1.c b/gcc/testsuite/gcc.c-torture/compile/20010525-1.c
index c020c947826..c6f12feb245 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20010525-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20010525-1.c
@@ -1,7 +1,7 @@ 
 /* { dg-require-effective-target untyped_assembly } */
 static int kind_varread(char *str)
 {
-  if (0 == memcmp("%_#",               str, 3))  return 2;
+  if (0 == __builtin_memcmp("%_#",               str, 3))  return 2;
   /* NOTREACHED */
 }
 
diff --git a/gcc/testsuite/gcc.c-torture/compile/20010706-1.c b/gcc/testsuite/gcc.c-torture/compile/20010706-1.c
index 44aec371a99..b065af8e6ba 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20010706-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20010706-1.c
@@ -1,4 +1,4 @@ 
-
+int
 foo(unsigned int x)
 {
   return (x << 1) | (x >> 31);
diff --git a/gcc/testsuite/gcc.c-torture/compile/20020314-1.c b/gcc/testsuite/gcc.c-torture/compile/20020314-1.c
index b21eb14f8d9..03cdd5b9531 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20020314-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20020314-1.c
@@ -8,6 +8,9 @@  struct tux_req_struct
         char error;
         void *private;
 };
+int add_output_space_event(tux_req_t *req, struct socket *);
+void del_tux_atom(tux_req_t *req);
+void add_req_to_workqueue(tux_req_t *req);
 void user_send_buffer (tux_req_t *req, int cachemiss)
 {
         int ret;
diff --git a/gcc/testsuite/gcc.c-torture/compile/20020701-1.c b/gcc/testsuite/gcc.c-torture/compile/20020701-1.c
index 1258cec28b7..5d2f270fe88 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20020701-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20020701-1.c
@@ -30,7 +30,7 @@  f (const char* p1, const char* p2, char p3)
 
   a = v2 = v1;
   e = v5 = v4;
-  memcpy (&e, &e, sizeof (e));
+  __builtin_memcpy (&e, &e, sizeof (e));
 
   v3 = strchr (v2, ',');
   v6 = strchr (v5, ',');
diff --git a/gcc/testsuite/gcc.c-torture/compile/20021015-2.c b/gcc/testsuite/gcc.c-torture/compile/20021015-2.c
index bd1a6aa5305..b1a4053a280 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20021015-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20021015-2.c
@@ -3,6 +3,6 @@ 
 
 int f (char *p, char *q, int i)
 {
-  return bcmp (p, q, i);
+  return __builtin_bcmp (p, q, i);
 }
 
diff --git a/gcc/testsuite/gcc.c-torture/compile/20030110-1.c b/gcc/testsuite/gcc.c-torture/compile/20030110-1.c
index 1cbbaea3c10..61056fa4ba8 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20030110-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20030110-1.c
@@ -1,4 +1,5 @@ 
 extern char bpp;
+int inb(int);
 
 void foo()
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/20030314-1.c b/gcc/testsuite/gcc.c-torture/compile/20030314-1.c
index 02d4fed526a..0a7f9bab530 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20030314-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20030314-1.c
@@ -4,7 +4,7 @@ 
 /* Verify that the tree inliner doesn't mess up the types
    when passing the value of read-only constant arguments.  */
 
-static inline bar(const short int xs, const short int xe)
+static inline void bar(const short int xs, const short int xe)
 {
   if (xe && (xs < xe))
     ;
diff --git a/gcc/testsuite/gcc.c-torture/compile/20030405-1.c b/gcc/testsuite/gcc.c-torture/compile/20030405-1.c
index 0bdafb9239f..cd6f37baf8b 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20030405-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20030405-1.c
@@ -12,7 +12,8 @@  char foo();
 
 static const char * const str = "mingo";
 
-bar()
+int
+bar(void)
 {
   size_t c;
   char *x;
diff --git a/gcc/testsuite/gcc.c-torture/compile/20030416-1.c b/gcc/testsuite/gcc.c-torture/compile/20030416-1.c
index c3d18b68281..c212cbac67d 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20030416-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20030416-1.c
@@ -1,3 +1,5 @@ 
+void bar (void);
+
 void foo(int x)
 {
   if (x > 3)
@@ -7,7 +9,8 @@  void foo(int x)
   x = 9;
 }
 
-main()
+int
+main(void)
 {
   int j;
 
diff --git a/gcc/testsuite/gcc.c-torture/compile/20030503-1.c b/gcc/testsuite/gcc.c-torture/compile/20030503-1.c
index 3c2b28d8386..f3a803f2c5e 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20030503-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20030503-1.c
@@ -1,3 +1,5 @@ 
+void bar (void);
+
 void foo ()
 {
   if (1)
diff --git a/gcc/testsuite/gcc.c-torture/compile/20030530-1.c b/gcc/testsuite/gcc.c-torture/compile/20030530-1.c
index b479ea22b1d..6e9aa34bd48 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20030530-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20030530-1.c
@@ -9,6 +9,7 @@  union tree_node
 {
   struct tree_common common;
 };
+void bar (tree);
 static void
 java_check_regular_methods (tree class_decl)
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/20031031-2.c b/gcc/testsuite/gcc.c-torture/compile/20031031-2.c
index d69dc75cad8..cdad85975fa 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20031031-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20031031-2.c
@@ -1,5 +1,9 @@ 
 /* PR/10239 */
 
+void foo ();
+void bar ();
+void baz ();
+
 enum node_type
 {
   INITIAL = 0, FREE,
diff --git a/gcc/testsuite/gcc.c-torture/compile/20040101-1.c b/gcc/testsuite/gcc.c-torture/compile/20040101-1.c
index 6027cb53fb4..734bd40dc70 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20040101-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20040101-1.c
@@ -26,6 +26,7 @@  void test16(uint16_t x, uint32_t eflags)
         __asm volatile(""
                 : "=&r" (bsf_result), "=&r" (bsf_eflags)
                 : "r" (x), "i" (~EFLAGS_BITS), "r" (eflags));
-        printf("%08x %04x bsrw %02x %08x bsfw %02x %08x\n",
-                x, eflags, bsr_result, bsr_eflags, bsf_result, bsf_eflags);
+        __builtin_printf("%08x %04x bsrw %02x %08x bsfw %02x %08x\n",
+                         x, eflags, bsr_result, bsr_eflags, bsf_result,
+                         bsf_eflags);
 }
diff --git a/gcc/testsuite/gcc.c-torture/compile/20040124-1.c b/gcc/testsuite/gcc.c-torture/compile/20040124-1.c
index 01c9002389e..eb3f1b79dda 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20040124-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20040124-1.c
@@ -1,3 +1,5 @@ 
+int f2 (int, int);
+int f3 (int);
 int
 f1 (int a, int b)
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/20040304-1.c b/gcc/testsuite/gcc.c-torture/compile/20040304-1.c
index ee277d799a4..cf92909699c 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20040304-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20040304-1.c
@@ -1,3 +1,4 @@ 
+int macarg (char *, int);
 void
 cpplib_macroExpand (char * pfile)
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/20040705-1.c b/gcc/testsuite/gcc.c-torture/compile/20040705-1.c
index 1e45ee289bf..16ae9bbf4b6 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20040705-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20040705-1.c
@@ -1,2 +1,2 @@ 
 extern char foo[], bar[];
-void f (void) { memcpy (foo, bar, 7); }
+void f (void) { __builtin_memcpy (foo, bar, 7); }
diff --git a/gcc/testsuite/gcc.c-torture/compile/20040908-1.c b/gcc/testsuite/gcc.c-torture/compile/20040908-1.c
index f52bf5ee0d4..65d21852ce3 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20040908-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20040908-1.c
@@ -1,5 +1,7 @@ 
 /* PR 17186 */
 
+void bar(void);
+
 double foo()
 {
     int i;
diff --git a/gcc/testsuite/gcc.c-torture/compile/20050510-1.c b/gcc/testsuite/gcc.c-torture/compile/20050510-1.c
index 84f198fa8f7..288a60f6b8d 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20050510-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20050510-1.c
@@ -1,6 +1,8 @@ 
 /* { dg-require-effective-target indirect_jumps } */
 /* { dg-require-effective-target label_values } */
 
+void dont_remove (void);
+
 void bar (int k)
 {
   void *label = (k) ? &&x : &&y;
diff --git a/gcc/testsuite/gcc.c-torture/compile/20051228-1.c b/gcc/testsuite/gcc.c-torture/compile/20051228-1.c
index e997ae3946b..0f10a701727 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20051228-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20051228-1.c
@@ -2,6 +2,8 @@ 
 /* Bitwise shift with negative shift count has undefined behavior,
    but we shouldn't ICE on it.  */
 
+void bar (void);
+
 void
 foo (long x)
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/20060109-1.c b/gcc/testsuite/gcc.c-torture/compile/20060109-1.c
index 9ef9c2fdd9f..073d222c193 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20060109-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20060109-1.c
@@ -16,11 +16,15 @@  struct cpp_callbacks
   void (*ident) (cpp_reader *, unsigned int, const cpp_string *);
 };
 static void cb_ident (cpp_reader *, unsigned int, const cpp_string *);
+int cpp_interpret_string (cpp_reader *, const cpp_string *, int,
+                          cpp_string *, int);
+void
 init_c_lex (void)
 {
   struct cpp_callbacks *cb;
   cb->ident = cb_ident;
 }
+static void
 cb_ident (cpp_reader * pfile __attribute__ ((__unused__)), unsigned int
 line
           __attribute__ ((__unused__)), const cpp_string * str
diff --git a/gcc/testsuite/gcc.c-torture/compile/20060202-1.c b/gcc/testsuite/gcc.c-torture/compile/20060202-1.c
index d16e7b7c5ad..5e3a5780baa 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20060202-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20060202-1.c
@@ -35,6 +35,7 @@  soffset_decode (sidx indx)
   x.idx = indx;
   return x.off.eoffset + (x.off.boffset * (1 << 5));
 }
+void *sarray_get (struct sarray *array, sidx indx);
 static __inline__ void *
 sarray_get_safe (struct sarray *array, sidx indx)
 {
diff --git a/gcc/testsuite/gcc.c-torture/compile/20070129.c b/gcc/testsuite/gcc.c-torture/compile/20070129.c
index 3204d965807..d54e92649c6 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20070129.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20070129.c
@@ -13,6 +13,9 @@  struct regnode_string
  char string[1];
 };
 
+int regcurly (char *);
+void reguni (RExC_state_t *, unsigned, unsigned char *, unsigned long *);
+
 static void *regatom (RExC_state_t * pRExC_state, int *flagp);
 
 static void *
diff --git a/gcc/testsuite/gcc.c-torture/compile/20070529-1.c b/gcc/testsuite/gcc.c-torture/compile/20070529-1.c
index f34add2b6c5..f929b2069b4 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20070529-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20070529-1.c
@@ -6,6 +6,7 @@  typedef __u16 __be16;
 struct hfs_extent {
  __be16 count;
 };
+__u16 __fswab16 (__u16);
 int hfs_free_fork( int type)
 {
  u32 total_blocks, blocks, start;
diff --git a/gcc/testsuite/gcc.c-torture/compile/20070529-2.c b/gcc/testsuite/gcc.c-torture/compile/20070529-2.c
index cb38d20610a..decab2565a2 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20070529-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20070529-2.c
@@ -1,3 +1,4 @@ 
+void kmem_free (void *);
 void xfs_dir2_grow_inode(void)
 {
  int map;
diff --git a/gcc/testsuite/gcc.c-torture/compile/20070605-1.c b/gcc/testsuite/gcc.c-torture/compile/20070605-1.c
index 8bf53253cc7..5a5337ba7f1 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20070605-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20070605-1.c
@@ -1,3 +1,4 @@ 
+void
 quantize_fs_dither (unsigned width, short *errorptr, int dir)
 {
   short bpreverr;
diff --git a/gcc/testsuite/gcc.c-torture/compile/20071107-1.c b/gcc/testsuite/gcc.c-torture/compile/20071107-1.c
index 627b705d5bd..e93643ea64b 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20071107-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20071107-1.c
@@ -3,6 +3,7 @@ 
 
 enum { PROP_0, PROP_DOUBLE_CLICK_TIME, PROP_DOUBLE_CLICK_DISTANCE, PROP_CURSOR_BLINK, PROP_CURSOR_BLINK_TIME, PROP_CURSOR_BLINK_TIMEOUT, PROP_SPLIT_CURSOR, PROP_THEME_NAME, PROP_ICON_THEME_NAME, PROP_FALLBACK_ICON_THEME, PROP_KEY_THEME_NAME, PROP_MENU_BAR_ACCEL, PROP_DND_DRAG_THRESHOLD, PROP_FONT_NAME, PROP_ICON_SIZES, PROP_MODULES, PROP_XFT_ANTIALIAS, PROP_XFT_HINTING, PROP_XFT_HINTSTYLE, PROP_XFT_RGBA, PROP_XFT_DPI, PROP_CURSOR_THEME_NAME, PROP_CURSOR_THEME_SIZE, PROP_ALTERNATIVE_BUTTON_ORDER, PROP_ALTERNATIVE_SORT_ARROWS, PROP_SHOW_INPUT_METHOD_MENU, PROP_SHOW_UNICODE_MENU, PROP_TIMEOUT_INITIAL, PROP_TIMEOUT_REPEAT, PROP_TIMEOUT_EXPAND, PROP_COLOR_SCHEME, PROP_ENABLE_ANIMATIONS, PROP_TOUCHSCREEN_MODE, PROP_TOOLTIP_TIMEOUT, PROP_TOOLTIP_BROWSE_TIMEOUT, PROP_TOOLTIP_BROWSE_MODE_TIMEOUT, PROP_KEYNAV_CURSOR_ONLY, PROP_KEYNAV_WRAP_AROUND, PROP_ERROR_BELL, PROP_COLOR_HASH, PROP_FILE_CHOOSER_BACKEND, PROP_PRINT_BACKENDS, PROP_PRINT_PREVIEW_COMMAND, PROP_ENABLE_MNEMONICS, PROP_ENABLE_ACCELS, PROP_RECENT_FILES_LIMIT };
 void g_assert_warning (void) __attribute__((__noreturn__));
+unsigned int settings_install_property_parser (void);
 void gtk_settings_class_init (void)
 {
     unsigned int result;
diff --git a/gcc/testsuite/gcc.c-torture/compile/20090907-1.c b/gcc/testsuite/gcc.c-torture/compile/20090907-1.c
index 907574c4230..12cf1185b93 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20090907-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20090907-1.c
@@ -72,7 +72,7 @@  load_waveform (u8 * mem, size_t size, int m, int t, struct metronomefb_par *par)
     cksum_idx = tta + trn * 4 + 3;
     cksum = calc_cksum (cksum_idx - 3, cksum_idx, mem);
     if (cksum != mem[cksum_idx]) {
-	abort();
+	__builtin_abort();
     }
 }
 extern struct firmware *fw_entry;
diff --git a/gcc/testsuite/gcc.c-torture/compile/20100907.c b/gcc/testsuite/gcc.c-torture/compile/20100907.c
index 2e6cfb9ff9f..7270f9f93c0 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20100907.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20100907.c
@@ -1,7 +1,7 @@ 
 struct a {int a,b;};
 const static struct a a[1]={{1,2}};
 struct a b,c;
-t()
+void t(void)
 {
   int idx = 0;
   b=a[idx];
diff --git a/gcc/testsuite/gcc.c-torture/compile/20120524-1.c b/gcc/testsuite/gcc.c-torture/compile/20120524-1.c
index 021756b0526..afecd83b5f9 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20120524-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20120524-1.c
@@ -1,4 +1,4 @@ 
   char CJPAT_Packet[1508] = {};
 void build_packet(int port, char *packet) {
-            memcpy(packet, CJPAT_Packet, sizeof(CJPAT_Packet)); 
+            __builtin_memcpy(packet, CJPAT_Packet, sizeof(CJPAT_Packet)); 
 }
diff --git a/gcc/testsuite/gcc.c-torture/compile/20120830-2.c b/gcc/testsuite/gcc.c-torture/compile/20120830-2.c
index 27479b687a7..7b809282047 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20120830-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20120830-2.c
@@ -1,3 +1,4 @@ 
+void
 ubidi_writeReordered_49( int *dest, const unsigned char *dirProps) 
 {
     if (!(1&(1UL<<*dirProps)))
diff --git a/gcc/testsuite/gcc.c-torture/compile/20121010-1.c b/gcc/testsuite/gcc.c-torture/compile/20121010-1.c
index 9fac9b820e3..197ca3c1ad8 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20121010-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20121010-1.c
@@ -1,5 +1,5 @@ 
 int _IO_getc(int*);
-read_long(int *fp)
+int read_long(int *fp)
 {
   unsigned char b0, b1, b2, b3;
   b0 = _IO_getc (fp);
diff --git a/gcc/testsuite/gcc.c-torture/compile/920301-1.c b/gcc/testsuite/gcc.c-torture/compile/920301-1.c
index b61fe93b554..937e52a8936 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920301-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920301-1.c
@@ -1,4 +1,4 @@ 
 /* { dg-require-effective-target label_values } */
 
-f(){static void*t[]={&&x};x:;}
-g(){static unsigned p[5];}
+void f(void){static void*t[]={&&x};x:;}
+void g(void){static unsigned p[5];}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920409-1.c b/gcc/testsuite/gcc.c-torture/compile/920409-1.c
index b96ec53d595..7f235ffc640 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920409-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920409-1.c
@@ -1 +1 @@ 
-x(){int y;y>0.0?y:y-1;}
+void x(void){int y;y>0.0?y:y-1;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920410-1.c b/gcc/testsuite/gcc.c-torture/compile/920410-1.c
index 4bfa7a665a3..857cd0ebaed 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920410-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920410-1.c
@@ -21,10 +21,11 @@  float c_float(int obj)
   return u.f;
 }
 
-main()
+int
+main(void)
 { int x=alloc_float(1.2);
   int y=alloc_float(5.7);
   int z=alloc_float(c_float(x)*c_float(y));
 
-  printf("%g\n",(double)c_float(z));
+  __builtin_printf("%g\n",(double)c_float(z));
 }
diff --git a/gcc/testsuite/gcc.c-torture/compile/920410-2.c b/gcc/testsuite/gcc.c-torture/compile/920410-2.c
index 958aae9cb0f..ab61c222944 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920410-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920410-2.c
@@ -1,4 +1,5 @@ 
-joe()
+void
+joe(void)
 {
   int j;
 
diff --git a/gcc/testsuite/gcc.c-torture/compile/920411-2.c b/gcc/testsuite/gcc.c-torture/compile/920411-2.c
index 0cc13c8436a..848fb89f667 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920411-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920411-2.c
@@ -1 +1 @@ 
-x(){int n;double x;n=x<1?n:n+1;}
+void x(void){int n;double x;n=x<1?n:n+1;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920413-1.c b/gcc/testsuite/gcc.c-torture/compile/920413-1.c
index 45b5fc5d09c..f1f8d1e383f 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920413-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920413-1.c
@@ -1,2 +1,2 @@ 
 union u {double d;long long ll;};
-f(double x, int n){union u v;v.d=x;if(n>=0){v.ll<<=63;}else{v.ll+=1<<-n;v.ll>>=-n;}return v.ll;}
+int f(double x, int n){union u v;v.d=x;if(n>=0){v.ll<<=63;}else{v.ll+=1<<-n;v.ll>>=-n;}return v.ll;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920428-3.c b/gcc/testsuite/gcc.c-torture/compile/920428-3.c
index 0e9031e6fea..c3b99058080 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920428-3.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920428-3.c
@@ -1,4 +1,4 @@ 
 /* { dg-require-effective-target label_values } */
 /* { dg-require-effective-target indirect_jumps } */
 
-x(a){static void*j[]={&&l1,&&l2};goto*j[a];l1:return 0;l2:return 1;}
+int x(int a){static void*j[]={&&l1,&&l2};goto*j[a];l1:return 0;l2:return 1;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920428-4.c b/gcc/testsuite/gcc.c-torture/compile/920428-4.c
index 293c466dcbb..e53a8da965f 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920428-4.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920428-4.c
@@ -1,2 +1,2 @@ 
 /* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
-x(a){struct{int p[a],i;}l;l.i;}
+void x(int a){struct{int p[a],i;}l;l.i;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920501-10.c b/gcc/testsuite/gcc.c-torture/compile/920501-10.c
index ecb5bb4151c..f9674850051 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920501-10.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920501-10.c
@@ -1 +1 @@ 
-x(y){return 8193*y;}
+int x(int y){return 8193*y;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920501-12.c b/gcc/testsuite/gcc.c-torture/compile/920501-12.c
index 089de4dcddb..b939f567dfd 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920501-12.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920501-12.c
@@ -2,8 +2,8 @@ 
 /* { dg-skip-if "Array too big" { "pdp11-*-*" } { "-mint32" } } */
 /* { dg-require-stack-size "9999*4" } */
 
-x(x){            return 3 + x;}
-a(x){int y[994]; return 3 + x;}
-b(x){int y[999]; return 2*(x + 3);}
-A(x){int y[9999];return 2*(x + 3);}
-B(x){int y[9949];return 3 + x;}
+int x(int x){            return 3 + x;}
+int a(int x){int y[994]; return 3 + x;}
+int b(int x){int y[999]; return 2*(x + 3);}
+int A(int x){int y[9999];return 2*(x + 3);}
+int B(int x){int y[9949];return 3 + x;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920501-17.c b/gcc/testsuite/gcc.c-torture/compile/920501-17.c
index 05a4d408d50..3838bc0ef98 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920501-17.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920501-17.c
@@ -1 +1 @@ 
-x(){static const char x[]="x";char y[2];y[0]=x[1];}
+void x(void){static const char x[]="x";char y[2];y[0]=x[1];}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920501-19.c b/gcc/testsuite/gcc.c-torture/compile/920501-19.c
index 1671cc37e68..1d6217445a0 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920501-19.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920501-19.c
@@ -1 +1 @@ 
-long long x=0;y(){x=0;}
+long long x=0;void y(void){x=0;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920501-22.c b/gcc/testsuite/gcc.c-torture/compile/920501-22.c
index b15d7984b1b..e9297ac33d9 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920501-22.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920501-22.c
@@ -1 +1 @@ 
-x(){int y[]={};}
+void x(void){int y[]={};}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920501-3.c b/gcc/testsuite/gcc.c-torture/compile/920501-3.c
index 41ef87fbf7f..ecde11ace7a 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920501-3.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920501-3.c
@@ -1,2 +1,2 @@ 
 struct{long long x:24,y:40;}v;
-x(){v.y=0;}
+void x(void){v.y=0;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920501-4.c b/gcc/testsuite/gcc.c-torture/compile/920501-4.c
index 2ef54b5d35d..1924a708d09 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920501-4.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920501-4.c
@@ -3,7 +3,7 @@ 
 /* { dg-skip-if "Array too big" { "pdp11-*-*" } { "-mint32" } } */
 /* { dg-require-stack-size "8196*4" } */
 
-foo ()
+void foo (void)
 {
   int r0[8186 ];
   int r1[2 ];
diff --git a/gcc/testsuite/gcc.c-torture/compile/920529-1.c b/gcc/testsuite/gcc.c-torture/compile/920529-1.c
index 0f50309a27c..c946b01acd6 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920529-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920529-1.c
@@ -7,7 +7,7 @@  f (a, b, m, n)
   int qn;
   int j;
 
-  abort ();
+  __builtin_abort ();
 
   acc = a[m - 1];
   a += 0;
diff --git a/gcc/testsuite/gcc.c-torture/compile/920615-1.c b/gcc/testsuite/gcc.c-torture/compile/920615-1.c
index 9b1c6aceef3..32a82a8aeed 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920615-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920615-1.c
@@ -1,4 +1,5 @@ 
-f()
+void
+f(void)
 {
   int x[20] = {[0] = 5, [10] = 12};
 }
diff --git a/gcc/testsuite/gcc.c-torture/compile/920623-1.c b/gcc/testsuite/gcc.c-torture/compile/920623-1.c
index 9b6ad51e102..ae8fb058fd3 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920623-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920623-1.c
@@ -1,2 +1,2 @@ 
 int f(int c){return f(c--);}
-g(){}
+void g(void){}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920624-1.c b/gcc/testsuite/gcc.c-torture/compile/920624-1.c
index 8b4d2979d26..ee0ef9fb822 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920624-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920624-1.c
@@ -1,2 +1,2 @@ 
 int B[],Q[];
-f(){int s;for(s=0;s<=1;s++)switch(s){case 2:case 3:++B[s];case 4:case 5:++Q[s];}}
+void f(void){int s;for(s=0;s<=1;s++)switch(s){case 2:case 3:++B[s];case 4:case 5:++Q[s];}}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920711-1.c b/gcc/testsuite/gcc.c-torture/compile/920711-1.c
index a5aa7df1127..87f2b213b88 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920711-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920711-1.c
@@ -1 +1 @@ 
-f(a){a=(1,1)/2;}
+int f(int a){a=(1,1)/2;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920729-1.c b/gcc/testsuite/gcc.c-torture/compile/920729-1.c
index de00be5af88..6f977957f3b 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920729-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920729-1.c
@@ -1,2 +1,2 @@ 
 extern volatile int i;
-f(){int j;for(;;)j = i;}
+void f(void){int j;for(;;)j = i;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920806-1.c b/gcc/testsuite/gcc.c-torture/compile/920806-1.c
index 0928fe8a784..3f9d22419d4 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920806-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920806-1.c
@@ -1 +1 @@ 
-f(){short x=32000;}
+void f(void){short x=32000;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920821-2.c b/gcc/testsuite/gcc.c-torture/compile/920821-2.c
index a69c0a901ba..70746602ac7 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920821-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920821-2.c
@@ -1,4 +1,4 @@ 
 typedef struct{int p[25];}t1;
 struct{t1 x,y;}y;
 t1 x[1];
-f(){y.x=*x;y.y=*x;}
+void f(void){y.x=*x;y.y=*x;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920825-1.c b/gcc/testsuite/gcc.c-torture/compile/920825-1.c
index 514d63f977f..f90a58b0ca6 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920825-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920825-1.c
@@ -1,3 +1,3 @@ 
 #pragma pack(1)
 struct{unsigned short f1:5;unsigned short f2:6;}x;
-f(){x.f2=1;}
+void f(void){x.f2=1;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920825-2.c b/gcc/testsuite/gcc.c-torture/compile/920825-2.c
index 9834aac1783..5c485e3883d 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920825-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920825-2.c
@@ -1,3 +1,3 @@ 
-f(double*a,int m){int j;for(j=0;j<m;j++)a[j]=1;}
-g(double*a){int j;for(j=0;j<4;j++)a[j]=1;}
+void f(double*a,int m){int j;for(j=0;j<m;j++)a[j]=1;}
+void g(double*a){int j;for(j=0;j<4;j++)a[j]=1;}
 
diff --git a/gcc/testsuite/gcc.c-torture/compile/920826-1.c b/gcc/testsuite/gcc.c-torture/compile/920826-1.c
index 2a1754567fa..28c7af3ab83 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920826-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920826-1.c
@@ -1,3 +1,3 @@ 
 /* { dg-require-effective-target indirect_jumps } */
 
-f(int*x){goto*(void*)(__INTPTR_TYPE__)(char)*x;}
+void f(int*x){goto*(void*)(__INTPTR_TYPE__)(char)*x;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920828-1.c b/gcc/testsuite/gcc.c-torture/compile/920828-1.c
index 4893173423b..7241855ca88 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920828-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920828-1.c
@@ -1 +1 @@ 
-char a[]={4,5};f(n){return a[n<2?n:0];}
+char a[]={4,5};int f(int n){return a[n<2?n:0];}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920829-1.c b/gcc/testsuite/gcc.c-torture/compile/920829-1.c
index 593400bac92..e674c924021 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920829-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920829-1.c
@@ -1 +1 @@ 
-f(double x){double y;y=x/0.5;if(y<0.1)y=1.0;}
+void f(double x){double y;y=x/0.5;if(y<0.1)y=1.0;}
diff --git a/gcc/testsuite/gcc.c-torture/compile/920928-3.c b/gcc/testsuite/gcc.c-torture/compile/920928-3.c
index 583dc69b74c..9fccd236da9 100644
--- a/gcc/testsuite/gcc.c-torture/compile/920928-3.c
+++ b/gcc/testsuite/gcc.c-torture/compile/920928-3.c
@@ -1,3 +1,4 @@ 
+void
 f (int phaseone)
 {
   typedef struct
diff --git a/gcc/testsuite/gcc.c-torture/compile/921012-2.c b/gcc/testsuite/gcc.c-torture/compile/921012-2.c
index 6f4de779549..1400e596174 100644
--- a/gcc/testsuite/gcc.c-torture/compile/921012-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/921012-2.c
@@ -1,6 +1,7 @@ 
 struct foo {
 int a,b,c;
 };
+void
 f(struct foo*a,struct foo*b)
 {
 *a=*b;
diff --git a/gcc/testsuite/gcc.c-torture/compile/921013-1.c b/gcc/testsuite/gcc.c-torture/compile/921013-1.c
index 0d14cbc6bb6..9ac7db2aafc 100644
--- a/gcc/testsuite/gcc.c-torture/compile/921013-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/921013-1.c
@@ -1,3 +1,4 @@ 
+void
 f(int x,short y)
 {
 long z=y<0?x>0?x:0:y;
diff --git a/gcc/testsuite/gcc.c-torture/compile/921019-1.c b/gcc/testsuite/gcc.c-torture/compile/921019-1.c
index 227bdc276fa..d13882e811e 100644
--- a/gcc/testsuite/gcc.c-torture/compile/921019-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/921019-1.c
@@ -3,7 +3,8 @@  struct
 int n:1,c:1;
 }p;
 
-f()
+void
+f(void)
 {
 p.c=p.n=0;
 }
diff --git a/gcc/testsuite/gcc.c-torture/compile/921026-1.c b/gcc/testsuite/gcc.c-torture/compile/921026-1.c
index 18238de8332..746df60ea48 100644
--- a/gcc/testsuite/gcc.c-torture/compile/921026-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/921026-1.c
@@ -1,3 +1,4 @@ 
+void
 f(unsigned short*a)
 {
 a[0]=65535;
diff --git a/gcc/testsuite/gcc.c-torture/compile/921126-1.c b/gcc/testsuite/gcc.c-torture/compile/921126-1.c
index a7b908b2ef0..c9af532253c 100644
--- a/gcc/testsuite/gcc.c-torture/compile/921126-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/921126-1.c
@@ -1,4 +1,5 @@ 
-f()
+int
+f(void)
 {
   long long a0, a1, a0s, val;
   int width;
diff --git a/gcc/testsuite/gcc.c-torture/compile/921227-1.c b/gcc/testsuite/gcc.c-torture/compile/921227-1.c
index a49750c81af..9f6cde25d30 100644
--- a/gcc/testsuite/gcc.c-torture/compile/921227-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/921227-1.c
@@ -2,4 +2,4 @@ 
 char *s = k(k(1,2));
 char *t = k(#) k(#undef k) k(x);
 
-f(){}
+void f(void){}
diff --git a/gcc/testsuite/gcc.c-torture/compile/930109-2.c b/gcc/testsuite/gcc.c-torture/compile/930109-2.c
index 61e3a4df99f..265ba1ac3a6 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930109-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930109-2.c
@@ -1,4 +1,5 @@ 
-f(r)
+int
+f(int r)
 {
   int i;
   for (i = 0; i < 2; i++)
diff --git a/gcc/testsuite/gcc.c-torture/compile/930210-1.c b/gcc/testsuite/gcc.c-torture/compile/930210-1.c
index 47d2da2aca5..d0731c6d00c 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930210-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930210-1.c
@@ -1,4 +1,5 @@ 
-f()
+void
+f(void)
 {
   char  c1, c2;
   char *p1, *p2;
diff --git a/gcc/testsuite/gcc.c-torture/compile/930222-1.c b/gcc/testsuite/gcc.c-torture/compile/930222-1.c
index c6d6aa3b47d..0352cbf37c8 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930222-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930222-1.c
@@ -4,6 +4,9 @@  typedef struct
     double f;
   } T;
 
+extern int g(T *);
+
+int
 f (T *n1, T *n2)
 {
   if (g (n2))
diff --git a/gcc/testsuite/gcc.c-torture/compile/930421-1.c b/gcc/testsuite/gcc.c-torture/compile/930421-1.c
index 9e16fe17dd9..f46854a4a7a 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930421-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930421-1.c
@@ -2,6 +2,7 @@ 
 
 double q(double);
 
+void
 f (int **x, int *r, int *s, int a, int b, int c, int d)
 {
   int i, j, k, m, e, f, g, z[1024], y[2];
diff --git a/gcc/testsuite/gcc.c-torture/compile/930503-1.c b/gcc/testsuite/gcc.c-torture/compile/930503-1.c
index 6889e8b7aed..c86cc75a10b 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930503-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930503-1.c
@@ -1,3 +1,4 @@ 
+void
 f (const char *s, char *d, unsigned l)
 {
   if (0)
diff --git a/gcc/testsuite/gcc.c-torture/compile/930513-1.c b/gcc/testsuite/gcc.c-torture/compile/930513-1.c
index 463fd89b401..fff05f76027 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930513-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930513-1.c
@@ -8,6 +8,7 @@  struct s {
   int f2 : 8;
 };
 
+int
 f (struct s *x)
 {
   return x->f2++ == 0;
diff --git a/gcc/testsuite/gcc.c-torture/compile/930513-3.c b/gcc/testsuite/gcc.c-torture/compile/930513-3.c
index f8d4e60341c..a7d64b4d788 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930513-3.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930513-3.c
@@ -1,4 +1,5 @@ 
-test ()
+void
+test (void)
 {
   short *p, q[3];
   int x;
diff --git a/gcc/testsuite/gcc.c-torture/compile/930523-1.c b/gcc/testsuite/gcc.c-torture/compile/930523-1.c
index 5f2b5b5d7e3..4c470337180 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930523-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930523-1.c
@@ -1,6 +1,7 @@ 
 int v;
 
-f ()
+void
+f (void)
 {
   unsigned long *a1, *a2;
   int vertex2;
diff --git a/gcc/testsuite/gcc.c-torture/compile/930527-1.c b/gcc/testsuite/gcc.c-torture/compile/930527-1.c
index 53e00e65ed1..0f97e944607 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930527-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930527-1.c
@@ -5,7 +5,8 @@  int x[] =
   [e0] = 0
 };
 
-f ()
+void
+f (void)
 {
   switch (1)
     {
diff --git a/gcc/testsuite/gcc.c-torture/compile/930603-1.c b/gcc/testsuite/gcc.c-torture/compile/930603-1.c
index 643cc52d4c2..16cd5908573 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930603-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930603-1.c
@@ -1,7 +1,8 @@ 
 union u { union u *a; double d; };
 union u *s, g();
 
-f()
+void
+f(void)
 {
   union u x = g();
 
diff --git a/gcc/testsuite/gcc.c-torture/compile/930607-1.c b/gcc/testsuite/gcc.c-torture/compile/930607-1.c
index 360bbbc1508..8c82fcfa281 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930607-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930607-1.c
@@ -4,7 +4,8 @@  typedef void f ();
 typedef f *pf;
 long long i;
 
-g ()
+void
+g (void)
 {
   long long p = i;
   ((pf) (long) p) ();
diff --git a/gcc/testsuite/gcc.c-torture/compile/930702-1.c b/gcc/testsuite/gcc.c-torture/compile/930702-1.c
index 9f51dd876ee..a9348d719a0 100644
--- a/gcc/testsuite/gcc.c-torture/compile/930702-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/930702-1.c
@@ -1,4 +1,5 @@ 
-f ()
+int
+f (void)
 {
   {({});}
   return 1;
diff --git a/gcc/testsuite/gcc.c-torture/compile/931018-1.c b/gcc/testsuite/gcc.c-torture/compile/931018-1.c
index 7efe40ec094..e8034516809 100644
--- a/gcc/testsuite/gcc.c-torture/compile/931018-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/931018-1.c
@@ -3,6 +3,7 @@  typedef struct
   int a, b;
 } T;
 
+void
 f (T *bs)
 {
   long long x;
diff --git a/gcc/testsuite/gcc.c-torture/compile/931031-1.c b/gcc/testsuite/gcc.c-torture/compile/931031-1.c
index 9015f54f7bf..adee1b90313 100644
--- a/gcc/testsuite/gcc.c-torture/compile/931031-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/931031-1.c
@@ -3,6 +3,7 @@  struct s
   int pad:1, no:1;
 };
 
+void
 f (struct s *b, int c)
 {
   char d = b->no && c;
diff --git a/gcc/testsuite/gcc.c-torture/compile/931102-1.c b/gcc/testsuite/gcc.c-torture/compile/931102-1.c
index a039c26331c..f60b2799302 100644
--- a/gcc/testsuite/gcc.c-torture/compile/931102-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/931102-1.c
@@ -4,7 +4,8 @@  char *e ();
   if (d > *b++) d |= a; \
   if (b) b = e(b);
 
-xxx()
+void
+xxx(void)
 {
   int a, d;
   char *b, *c;
diff --git a/gcc/testsuite/gcc.c-torture/compile/940611-1.c b/gcc/testsuite/gcc.c-torture/compile/940611-1.c
index 90f72486ada..5cbcc41c3d8 100644
--- a/gcc/testsuite/gcc.c-torture/compile/940611-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/940611-1.c
@@ -1,4 +1,5 @@ 
-f ()
+void
+f (void)
 {
   do
 L:;
diff --git a/gcc/testsuite/gcc.c-torture/compile/940712-1.c b/gcc/testsuite/gcc.c-torture/compile/940712-1.c
index 10a6961dcb7..ef8446435b1 100644
--- a/gcc/testsuite/gcc.c-torture/compile/940712-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/940712-1.c
@@ -1,4 +1,5 @@ 
-f ()
+int
+f (void)
 {
   return (*(volatile unsigned int *)8000) / 3;
 }
diff --git a/gcc/testsuite/gcc.c-torture/compile/950512-1.c b/gcc/testsuite/gcc.c-torture/compile/950512-1.c
index e43ec48d165..6b933d252ab 100644
--- a/gcc/testsuite/gcc.c-torture/compile/950512-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/950512-1.c
@@ -1,4 +1,6 @@ 
 typedef unsigned short uint16;
+int g (int);
+void
 f (unsigned char *w)
 {
   w[2] = (uint16) ((((g (0) % 10000 + 42) & 0xFF) << 8) | (((g (0) % 10000 + 42) >> 8) & 0xFF)) & 0xFF,
diff --git a/gcc/testsuite/gcc.c-torture/compile/950530-1.c b/gcc/testsuite/gcc.c-torture/compile/950530-1.c
index 2b714e059bc..ef7e97e9067 100644
--- a/gcc/testsuite/gcc.c-torture/compile/950530-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/950530-1.c
@@ -1,3 +1,4 @@ 
+int
 f (int *s, int *t)
 {
   return (t - s) / 2;
diff --git a/gcc/testsuite/gcc.c-torture/compile/950610-1.c b/gcc/testsuite/gcc.c-torture/compile/950610-1.c
index 16d0d0e60f5..b9a3af7e399 100644
--- a/gcc/testsuite/gcc.c-torture/compile/950610-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/950610-1.c
@@ -1 +1 @@ 
-f (int n, int a[2][n]) {}
+void f (int n, int a[2][n]) {}
diff --git a/gcc/testsuite/gcc.c-torture/compile/950613-1.c b/gcc/testsuite/gcc.c-torture/compile/950613-1.c
index 595f9efd8b4..141037cf5fd 100644
--- a/gcc/testsuite/gcc.c-torture/compile/950613-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/950613-1.c
@@ -1,7 +1,8 @@ 
 /* { dg-require-effective-target label_values } */
 /* { dg-require-effective-target indirect_jumps } */
 
-f ()
+void
+f (void)
 {
   long *sp;
   long *pc;
diff --git a/gcc/testsuite/gcc.c-torture/compile/950816-1.c b/gcc/testsuite/gcc.c-torture/compile/950816-1.c
index da849bbad0a..cc21742a3a7 100644
--- a/gcc/testsuite/gcc.c-torture/compile/950816-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/950816-1.c
@@ -1,4 +1,5 @@ 
-f ()
+int
+f (void)
 {
   unsigned char b[2];
   float f;
diff --git a/gcc/testsuite/gcc.c-torture/compile/950816-2.c b/gcc/testsuite/gcc.c-torture/compile/950816-2.c
index 41e770d177d..e7f3bf79453 100644
--- a/gcc/testsuite/gcc.c-torture/compile/950816-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/950816-2.c
@@ -1,4 +1,6 @@ 
-f ()
+int func (char *);
+void
+f (void)
 {
   int i;
   float a,b,c;
diff --git a/gcc/testsuite/gcc.c-torture/compile/950816-3.c b/gcc/testsuite/gcc.c-torture/compile/950816-3.c
index b3cb0fca377..9c2ef75d0c2 100644
--- a/gcc/testsuite/gcc.c-torture/compile/950816-3.c
+++ b/gcc/testsuite/gcc.c-torture/compile/950816-3.c
@@ -1,4 +1,5 @@ 
-f ()
+int
+f (void)
 {
   int i;
   short	x, z;
diff --git a/gcc/testsuite/gcc.c-torture/compile/950919-1.c b/gcc/testsuite/gcc.c-torture/compile/950919-1.c
index 8320f6d025a..a5322528c5d 100644
--- a/gcc/testsuite/gcc.c-torture/compile/950919-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/950919-1.c
@@ -2,4 +2,4 @@ 
 #if empty#cpu(m68k)
 #endif
 
-f (){}
+void f (void){}
diff --git a/gcc/testsuite/gcc.c-torture/compile/950921-1.c b/gcc/testsuite/gcc.c-torture/compile/950921-1.c
index 371c7d569c5..7bd0c93dc5f 100644
--- a/gcc/testsuite/gcc.c-torture/compile/950921-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/950921-1.c
@@ -1,4 +1,5 @@ 
-f ()
+int
+f (void)
 {
   union
     {
diff --git a/gcc/testsuite/gcc.c-torture/compile/951004-1.c b/gcc/testsuite/gcc.c-torture/compile/951004-1.c
index 1ca60819cdd..75644e91b56 100644
--- a/gcc/testsuite/gcc.c-torture/compile/951004-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/951004-1.c
@@ -5,6 +5,7 @@  typedef struct
 
 S a;
 
+void
 f (S pnt)
 {
   S mpnt, mtp;
diff --git a/gcc/testsuite/gcc.c-torture/compile/951116-1.c b/gcc/testsuite/gcc.c-torture/compile/951116-1.c
index 100d6902a72..d21b5ce4220 100644
--- a/gcc/testsuite/gcc.c-torture/compile/951116-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/951116-1.c
@@ -1,4 +1,5 @@ 
-f ()
+int
+f (void)
 {
   long long i;
   int j;
diff --git a/gcc/testsuite/gcc.c-torture/compile/951128-1.c b/gcc/testsuite/gcc.c-torture/compile/951128-1.c
index 5e4dc7093c8..ac0eb9871d0 100644
--- a/gcc/testsuite/gcc.c-torture/compile/951128-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/951128-1.c
@@ -1,4 +1,5 @@ 
 char a[];
+void
 f (const int i)
 {
   a[i] = 0;
diff --git a/gcc/testsuite/gcc.c-torture/compile/951220-1.c b/gcc/testsuite/gcc.c-torture/compile/951220-1.c
index 33e98f6221e..5a7a5055b49 100644
--- a/gcc/testsuite/gcc.c-torture/compile/951220-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/951220-1.c
@@ -1,3 +1,4 @@ 
+int
 f (char *x)
 {
   return (*x & 2) || (*x & 3);
diff --git a/gcc/testsuite/gcc.c-torture/compile/960220-1.c b/gcc/testsuite/gcc.c-torture/compile/960220-1.c
index 766a066c449..fc2f97d831d 100644
--- a/gcc/testsuite/gcc.c-torture/compile/960220-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/960220-1.c
@@ -1,4 +1,5 @@ 
-f ()
+void
+f (void)
 {
   unsigned long long int a = 0, b;
   while (b > a)
diff --git a/gcc/testsuite/gcc.c-torture/compile/960221-1.c b/gcc/testsuite/gcc.c-torture/compile/960221-1.c
index 0e02496c104..923fa39b8be 100644
--- a/gcc/testsuite/gcc.c-torture/compile/960221-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/960221-1.c
@@ -5,6 +5,7 @@  struct s2 {
   int f2;
 };
 
+void
 foo (struct s2 *ptr)
 {
   *ptr = (struct s2) {{}, 0};
diff --git a/gcc/testsuite/gcc.c-torture/compile/960704-1.c b/gcc/testsuite/gcc.c-torture/compile/960704-1.c
index 5a9d35cfd9a..913ef721916 100644
--- a/gcc/testsuite/gcc.c-torture/compile/960704-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/960704-1.c
@@ -4,7 +4,8 @@  struct A {
 
 struct A f ();
 
-main ()
+int
+main (void)
 {
   struct A a = f();
 }
diff --git a/gcc/testsuite/gcc.c-torture/compile/961031-1.c b/gcc/testsuite/gcc.c-torture/compile/961031-1.c
index ea8718f763b..1cb88afa964 100644
--- a/gcc/testsuite/gcc.c-torture/compile/961031-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/961031-1.c
@@ -10,7 +10,8 @@  g ()
   return sd;
 }
 
-f ()
+void
+f (void)
 {
   g ();
 }
diff --git a/gcc/testsuite/gcc.c-torture/compile/961126-1.c b/gcc/testsuite/gcc.c-torture/compile/961126-1.c
index f3b6af55595..fdf7040680e 100644
--- a/gcc/testsuite/gcc.c-torture/compile/961126-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/961126-1.c
@@ -1,6 +1,9 @@ 
 int *p;
+int sub(void);
+int sub2(int);
 
-main()
+int
+main(void)
 {
   int i = sub ();
 
diff --git a/gcc/testsuite/gcc.c-torture/compile/961203-1.c b/gcc/testsuite/gcc.c-torture/compile/961203-1.c
index 91823524a2e..0a58242d28f 100644
--- a/gcc/testsuite/gcc.c-torture/compile/961203-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/961203-1.c
@@ -16,7 +16,7 @@  main ()
 
   p = (struct s*) 0;
   if (p->x == p->y)
-    exit (1);
+    __builtin_exit (1);
 }
 #else
 int g;
diff --git a/gcc/testsuite/gcc.c-torture/compile/981001-1.c b/gcc/testsuite/gcc.c-torture/compile/981001-1.c
index d7cf0dc64b0..f6b5f4bea73 100644
--- a/gcc/testsuite/gcc.c-torture/compile/981001-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/981001-1.c
@@ -14,5 +14,5 @@  int main (void)
       low  |= 0x4000;
     }
   
-  exit (0);
+  __builtin_exit (0);
 }
diff --git a/gcc/testsuite/gcc.c-torture/compile/981107-1.c b/gcc/testsuite/gcc.c-torture/compile/981107-1.c
index 987ec180f9f..0be822f62bf 100644
--- a/gcc/testsuite/gcc.c-torture/compile/981107-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/981107-1.c
@@ -1,3 +1,4 @@ 
+void call(void);
 unsigned long seed(void)
 {
     unsigned long u;
diff --git a/gcc/testsuite/gcc.c-torture/compile/990517-1.c b/gcc/testsuite/gcc.c-torture/compile/990517-1.c
index afdd844e305..3ac11741977 100644
--- a/gcc/testsuite/gcc.c-torture/compile/990517-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/990517-1.c
@@ -17,7 +17,7 @@  sdbm__splpage (char *pag, char *New, long int sbit)
 	register int off = 1024 ;
 	char cur[1024 ];
 	register short *ino = (short *) cur;
-	(void) memcpy(cur, pag, 1024 );
+	(void) __builtin_memcpy(cur, pag, 1024 );
 	(void) ({ void *__s = ( pag ); __builtin_memset ( __s , '\0',     1024   ) ; __s; });
 	(void) ({ void *__s = ( New ); __builtin_memset ( __s , '\0',     1024   ) ; __s; });
 	n = ino[0];
diff --git a/gcc/testsuite/gcc.c-torture/compile/990617-1.c b/gcc/testsuite/gcc.c-torture/compile/990617-1.c
index 350b96a61c8..5931ba06d01 100644
--- a/gcc/testsuite/gcc.c-torture/compile/990617-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/990617-1.c
@@ -11,7 +11,7 @@  int main()
         p += 2;
         {
             unsigned int *addr = (unsigned int *)0x70000000;
-            printf("%d, %d\n", addr[1], addr[0]);
+            __builtin_printf("%d, %d\n", addr[1], addr[0]);
         }
         
     } while (1);
diff --git a/gcc/testsuite/gcc.c-torture/compile/991026-2.c b/gcc/testsuite/gcc.c-torture/compile/991026-2.c
index bb358f411ec..630cb0ecada 100644
--- a/gcc/testsuite/gcc.c-torture/compile/991026-2.c
+++ b/gcc/testsuite/gcc.c-torture/compile/991026-2.c
@@ -13,7 +13,8 @@  extern int open  (__const char *__file, int __oflag, ...)    ;
 
 char	myname[]="foo";
 
-detach()
+void
+detach(void)
 {
 	switch(fork()) {
 	    case -1:
diff --git a/gcc/testsuite/gcc.c-torture/compile/991229-1.c b/gcc/testsuite/gcc.c-torture/compile/991229-1.c
index d11fd91fcbd..344f5ce5884 100644
--- a/gcc/testsuite/gcc.c-torture/compile/991229-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/991229-1.c
@@ -1,7 +1,8 @@ 
 static int parse (int, int);
 static int parseStmt (int, int);
 
-ejEval()
+void
+ejEval(void)
 {
 	int		state;
 	state = parse(8  , 0x1 );
diff --git a/gcc/testsuite/gcc.c-torture/compile/991229-3.c b/gcc/testsuite/gcc.c-torture/compile/991229-3.c
index 710e4c99593..51292c9c56e 100644
--- a/gcc/testsuite/gcc.c-torture/compile/991229-3.c
+++ b/gcc/testsuite/gcc.c-torture/compile/991229-3.c
@@ -1,4 +1,5 @@ 
 int m[8],b[8];
+int rand(void);
 
 int main(){
 	int i;