On 11/10/23 15:06, Florian Weimer wrote:
gcc/testsuite/ * gcc.c-torture/compile/BUG17.c (main): Add missing int return type and missing void type. * gcc.c-torture/compile/BUG18.c (main): Likewise. Call __builtin_printf instead of printf. * gcc.c-torture/compile/BUG21.c (Nase): Add missing void types. * gcc.c-torture/compile/BUG23.c (main): Add missing int return type and missing void type. * gcc.c-torture/compile/BUG5.c (bar): Call __builtin_printf instead of printf. * gcc.c-torture/compile/BUG6.c (main): Likewise. Add missing int return type and missing void type. * gcc.c-torture/compile/b.c (main): Add missing int return type and missing void type. * gcc.c-torture/compile/b1.c (main): Likewise. Call __builtin_printf instead of printf. * gcc.c-torture/compile/b88.c (main): Add missing int return type and missing void type. * gcc.c-torture/compile/bbb.c (flset): Add missing void return type and switch to prototype style. * gcc.c-torture/compile/bf.c (clr, atoi): Declare. (main): Add missing int return type. Call __builtin_printf instead of printf. * gcc.c-torture/compile/bt.c (main): Add missing int return type and missing void type. * gcc.c-torture/compile/charmtst.c (foo, bar): Declare. (c_move_tst): Add missing int return type. * gcc.c-torture/compile/cmpdi-1.c (f, g): Add missing int return type. * gcc.c-torture/compile/cmphi.c (foo): Likewise. * gcc.c-torture/compile/conv.c (main): Likewise. Add missing void type. Call __builtin_printf instead of printf. * gcc.c-torture/compile/ddd.c (main): Add missing int return type and missing void type. * gcc.c-torture/compile/dilayout.c (str, ll): Add missing void return type. * gcc.c-torture/compile/dimove.c (foo): Likewise. * gcc.c-torture/compile/f2.c (foo): Likewise. * gcc.c-torture/compile/flatten.c (main): Add missing int return type and missing void type. * gcc.c-torture/compile/fnul.c (main): Likewise. Call __builtin_printf instead of printf. * gcc.c-torture/compile/fq.c (expand_to_ascii): Add missing void return type. * gcc.c-torture/compile/funcptr-1.c (g): Call __builtin_printf instead of printf. (f): Likewise. Add missing void types. * gcc.c-torture/compile/glob.c (foo): Add missing void types. * gcc.c-torture/compile/goto-1.c (f): Likewise. * gcc.c-torture/compile/i++.c (main): Call __builtin_printf instead of printf. * gcc.c-torture/compile/ic.c (foo): Add missing int return type. * gcc.c-torture/compile/iftrap-1.c (bar, baz): Declare. (f4, f6): Call __builtin_abort instead of abort. * gcc.c-torture/compile/iftrap-2.c (bar): Declare. * gcc.c-torture/compile/jmp.c (foo): Add missing int types. * gcc.c-torture/compile/labels-1.c (f): Add missing int return type and missing void type. Call __builtin_abort instead of abort. * gcc.c-torture/compile/labels-2.c (f): Likewise. * gcc.c-torture/compile/lbug.c (main): Add missing int return type and missing void type. * gcc.c-torture/compile/memtst.c (memtst): Add missing void return type. (main): Add missing int return type and missing void type. Call __builtin_bzero instead of bzero. * gcc.c-torture/compile/miscomp.c (main): Add missing int return type and missing void type. Call __builtin_printf instead of printf. * gcc.c-torture/compile/msp.c (bar): Declare. (foo): Add missing void types. * gcc.c-torture/compile/mtst.c (foo): Add missing int return type. * gcc.c-torture/compile/packed-1.c (f): Add missing void types. * gcc.c-torture/compile/pr17119.c (func1, func2): Declare. * gcc.c-torture/compile/pr18712.c (foo, foo1): Declare. * gcc.c-torture/compile/pr20412.c (bar1, bar2, bar3): Declare. * gcc.c-torture/compile/pr21532.c (foo): Declare. * gcc.c-torture/compile/pr22398.c (main): Call __builtin_exit instead of exit. * gcc.c-torture/compile/pr24883.c (orec_str_list): Add missing void return type. * gcc.c-torture/compile/pr25311.c (use): Declare. * gcc.c-torture/compile/pr25514.c (foo): Declare. * gcc.c-torture/compile/pr26425.c (key_put): Declare. * gcc.c-torture/compile/pr27087.c (g): Declare. * gcc.c-torture/compile/pr27282.c (colrow_equal): Add missing int return type. * gcc.c-torture/compile/pr27907.c (fann_run): Add missing void return type. * gcc.c-torture/compile/pr28489.c (c_compile): Likewise. * gcc.c-torture/compile/pr28776-1.c (tree_contains_struct_check_failed): Declare. * gcc.c-torture/compile/pr29128.c (process_main): Add missing void return type. * gcc.c-torture/compile/pr29945.c (unget_char): Declare. (main) Add missing void return type. * gcc.c-torture/compile/pr33382.c (show_configuration): Add missing int types. * gcc.c-torture/compile/pr36141.c (ffi_prep_closure_loc): Add missing return type. * gcc.c-torture/compile/pr36988.c (__writel): Declare. * gcc.c-torture/compile/pr37026.c (foo): Declare. * gcc.c-torture/compile/pr37285.c (_bfd_abort): Declare. (_bfd_xcoff_canonicalize_dynamic_reloc): Add missing void return type. * gcc.c-torture/compile/pr38554.c (applyFunction): Add missing void return type. * gcc.c-torture/compile/pr42164.c (swp_offset, __BUG_ON): Declare. * gcc.c-torture/compile/pr44788.c (foo): Declare. * gcc.c-torture/compile/pr47364-1.c (arc4_init): Add missing void return type. * gcc.c-torture/compile/pr48596.c (_nrrdCenter): Declare. * gcc.c-torture/compile/rel.c (foo): Add missing int return type. * gcc.c-torture/compile/run.c (main): Likewise. Add missing void type. * gcc.c-torture/compile/sar.c (main): Likewise. * gcc.c-torture/compile/selfrec.c (foo): Add missing int parameter type. * gcc.c-torture/compile/shloop.c (main): Add missing int return type and missing void type. * gcc.c-torture/compile/shm.c (foo): Add missing int return type. * gcc.c-torture/compile/sim.c (main): Likewise. Add missing void type. * gcc.c-torture/compile/simd-5.c (main): Add missing int return type and missing void type. Call __builtin_printf instead of printf. * gcc.c-torture/compile/sne.c (foo): Add missing int return type. * gcc.c-torture/compile/sound.c (write): Declare. (main): Add missing int return type and missing void type. * gcc.c-torture/compile/speed.c (main): Likewise. * gcc.c-torture/compile/store0.c (foo): Add missing void return type. * gcc.c-torture/compile/storecc.c (foo): Add missing int return type. * gcc.c-torture/compile/strcpy-1.c (rezero): Add missing void types. * gcc.c-torture/compile/stru.c (foo): Add missing void return type. * gcc.c-torture/compile/stuct.c (main): Add missing int return type and missing void type. * gcc.c-torture/compile/time.c (main): Likewise. * gcc.c-torture/compile/unalign-1.c (f): Declare. * gcc.c-torture/compile/v.c (main): Add missing int return type. * gcc.c-torture/compile/xcsebug.c (foo): Add missing void types. * gcc.c-torture/compile/xmtst.c (p2, p3, p4): Add missing int return type. * gcc.c-torture/compile/xz.c (foo): Add missing void return type. * gcc.c-torture/execute/loop-2f.c (f): Add missing void return type. (main): Return instead of calling exit. Call __builtin_abort instead of abort. * gcc.c-torture/execute/loop-2g.c (f): Add missing void return type. (main): Return instead of calling exit. Call __builtin_abort instead of abort. * gcc.dg/20020206-1.c: Build without -w. (main): Call __builtin_abort instead of abort and __builtin_exit instead of exit. * gcc.dg/ipa/20040703-wpa.c (main): Call __builtin_abort instead of abort and __builtin_exit instead of exit. * gcc.dg/torture/pr84528.c (main): Add missing int and void types. Call __builtin_abort instead of abort, and __builtin_exit instead of exit. * gcc.dg/tree-ssa/pr68619-2.c (vector_type_mode, real_inf): Declare. * gcc.dg/tree-ssa/pr68619-3.c (iterative_hash): Declare. (e_hash): Call __builtin_abort instead of abort. * gcc.dg/tree-ssa/pr68619-4.c (rhs_regno, foop, arf): Declare. * gcc.dg/tree-ssa/pr68619-5.c (invert_tree_comparison) (vector_type_mode): Declare. * gcc.dg/tree-ssa/pr69270-2.c (arf, gimple_debug_bind_p) (gimple_bb, gimple_assign_rhs_to_tree) (is_gimple_min_invariant, unshare_expr): Declare. * gcc.dg/tree-ssa/pr69270-3.c: (end_imm_use_stmt_p) (next_imm_use_stmt, arf, boo, update_stmt): Declare. * gcc.dg/tree-ssa/ranger-threader-2.c (gimple_call_arg): Declare. (gimple_op): Call __builtin_abort instead of abort. * gcc.dg/tree-ssa/ranger-threader-3.c (expand_binop): Declare. * gcc.dg/tree-ssa/ssa-dom-branch-1.c (arf, foo): Declare. (try_combine): Add casts to rtx. * gcc.dg/tree-ssa/split-path-3.c (vec_heap_o_reserve) (VEC_int_base_length, bmp_iter_and_compl_init) (bmp_iter_and_compl, bmp_iter_next, VEC_int_heap_free): Declare. * gcc.dg/tree-ssa/split-path-7.c (linit): Call __builtin_strcmp instead of strcmp. * gcc.dg/tree-ssa/ssa-dom-thread-12.c (gimple_call_arg): Declare. (gimple_op): Call __builtin_abort instead of abort. * gcc.dg/tree-ssa/ssa-dom-thread-13.c (arf, error): Declare. (convert): Call __builtin_abort instead of abort. * gcc.dg/tree-ssa/ssa-dom-thread-14.c (exand_binop): Declare. * gcc.dg/tree-ssa/ssa-dom-thread-15.c (ix86_target_stack_probe, pro_epilogue_adjust_stack) (gen_rtx_CONST_INT, fancy_abort): Declare. * gcc.dg/tree-ssa/ssa-dse-25.c (foo): Call __builtin_memset instead of memset. * gcc.target/aarch64/aapcs64/va_arg-17.c (init_data): Call __builtin_memset instead of memset. * gcc.target/i386/pr69030.c (fn1): Call __builtin_printf instead of printf. ---
OK. Spot checked, as with previous patches. jeff