Kaveh R. Ghazi
cd1661d6b1
Warning fixes:
...
* mips-tfile.c (add_local_symbol): Cast width format specifier to int.
(add_ext_symbol): Likewise.
(add_file): Likewise.
(parse_def): Likewise.
(write_varray): Use HOST_PTR_PRINTF to print a pointer. Fix
remaining format specifiers and arguments.
(write_object): Likewise, several times.
(read_seek): Likewise.
(out_of_bounds): Likewise.
(allocate_cluster): Likewise.
(xmalloc): Likewise.
(xcalloc): Likewise.
(xrealloc): Likewise.
(xfree): Likewise.
* mips-tdump.c (print_symbol): Likewise.
From-SVN: r20654
1998-06-22 06:30:39 +00:00
Kaveh R. Ghazi
63d088b754
Warning fixes:
...
* call.c (build_scoped_method_call): Remove unused variable `tmp'.
* cp-tree.h (check_dtor_name): Add prototype.
* init.c (expand_member_init): Remove unused variables
`ptr_type_node', `parm' and `rval'.
* ptree.c (print_lang_type): Use HOST_WIDE_INT_PRINT_DEC specifier
in call to fprintf.
(lang_print_xnode): Likewise.
* typeck2.c (enum_name_string): Cast argument to sprintf to long
and use %ld specifier.
* xref.c (GNU_xref_end_scope): Use HOST_WIDE_INT_PRINT_DEC
specifier in call to fprintf.
(GNU_xref_member): Cast argument to sprintf to int.
From-SVN: r20653
1998-06-22 05:59:23 +00:00
Kaveh R. Ghazi
b3fb0b5e50
Warning fixes:
...
* mips.c (gpr_mode): Don't say `static' twice.
* cpplib.c (cpp_handle_option): Don't pass unneeded NULL to cpp_fatal.
* objc/objc-act.c (init_selector): Hide prototype and definition.
* optabs.c (gen_cond_trap): Remove unused variable `icode'.
* regmove.c (copy_src_to_dest): Likewise for `i'.
From-SVN: r20652
1998-06-22 05:46:35 +00:00
Kaveh R. Ghazi
e016950d0c
Warning fixes:
...
* reload1.c (reload_cse_regs): Cast first arg of `bzero' to char *.
* sdbout.c: Include output.h and toplev.h.
(PUT_SDB_INT_VAL): Use HOST_WIDE_INT_PRINT_DEV to print argument
`a'. Cast `a' to HOST_WIDE_INT to force it to always be so.
(PUT_SDB_SIZE): Likewise.
* sdbout.h (sdbout_mark_begin_function): Add prototype.
* stmt.c (check_for_full_enumeration_handling): Cast argument of
`warning' to long and use %ld specifier.
* toplev.c (main): Likewise for `fprintf'.
* toplev.h (output_file_directive): Add prototype.
* unroll.c (unroll_loop): Use HOST_WIDE_INT_PRINT_DEC specifier in
call to `fprintf'.
(precondition_loop_p): Likewise.
* varasm.c Include sdbout.h.
(assemble_static_space): Move sometimes-unused variable `rounded'
into the scope in which it is used.
From-SVN: r20651
1998-06-22 05:32:38 +00:00
Kaveh R. Ghazi
296433e1a9
Warning fixes:
...
* Makefile.in (varasm.o): Depend on sdbout.h.
(sdbout.o): Depend on toplev.h.
* collect2.c (scan_prog_file): Cast fprintf argument to `long' and
use %ld specifier.
* final.c (shorten_branches): Cast first arg of `bzero' to char *.
* genextract.c (main): When creating insn-extract.c, mark variable
`i' with ATTRIBUTE_UNUSED.
* genpeep.c (main): When creating insn-peep.c, mark variables
`insn', `x' and `pat' with ATTRIBUTE_UNUSED.
* objc/init.c (__objc_tree_print): Wrap function definition in
macro `DEBUG'.
* objc/objc-act.c (encode_array): Cast sprintf argument to `long'
and use %ld specifier.
(adorn_decl): Likewise, twice.
From-SVN: r20650
1998-06-22 05:23:33 +00:00
Jeff Law
9aea9eec60
Daily bump.
...
From-SVN: r20649
1998-06-21 18:45:02 -06:00
Jeffrey A Law
ecff22ab43
* invoke.texi: Document -mrelax for the mn10300 and mn10200.
...
From-SVN: r20648
1998-06-21 16:52:29 -06:00
Jeffrey A Law
04821e98a7
basic-block.h (init_regset_vector): Delete declaration.
...
* basic-block.h (init_regset_vector): Delete declaration.
* flow.c (init_regset_vector): Make it static and add a prototype.
From-SVN: r20647
1998-06-21 15:49:52 -06:00
Jeff Law
4d7fc9e757
bitmap.h (debug_bitmap): Declare.
...
* bitmap.h (debug_bitmap): Declare.
* basic-block.h (init_regset_vector): New declaration.
From-SVN: r20646
1998-06-21 14:06:25 -06:00
Dave Love
824d90760c
Makefile.in (install-info): Use install-info program if available, per GNU standard.
...
* Makefile.in (install-info): Use install-info program if
available, per GNU standard.
From-SVN: r20645
1998-06-21 14:01:56 -06:00
H.J. Lu
2086b675dd
* Makefile.in (sdbout.o): Add insn-codes.h to dependency.
...
From-SVN: r20644
1998-06-21 13:58:40 -06:00
H.J. Lu
f6781658f5
global.c: Include machmode.h amd move hard-reg-set.h before rtl.h.
...
* global.c: Include machmode.h amd move hard-reg-set.h before
rtl.h.
From-SVN: r20643
1998-06-21 13:54:56 -06:00
H.J. Lu
cc4fe0e2a4
haifa-sched.c (insn_issue_delay, [...]): New declaration.
...
* haifa-sched.c (insn_issue_delay, birthing_insn_p,
adjust_priority, print_insn_chaino): New declaration.
(schedule_insns): Remove declaration.
(init_target_units, get_visual_tbl_length,
init_block_visualization): Add prototype.
From-SVN: r20642
1998-06-21 12:03:21 -06:00
H.J. Lu
8a1ef8c9e2
* integrate.c (pushdecl, poplevel): Remove declaration.
...
From-SVN: r20641
1998-06-21 12:01:53 -06:00
Jeff Law
9a8b0889eb
haifa-sched.c (debug_ready_list): Make static.
...
* haifa-sched.c (debug_ready_list): Make static.
* toplev.h (fancy_abort): Declare.
* rtl.h (expand_expr): Remove declaration.
From-SVN: r20640
1998-06-21 11:59:03 -06:00
H.J. Lu
27fa83c13a
loop.c (oballoc): Remove declaration.
...
* loop.c (oballoc): Remove declaration.
(replace_call_address): Add prototype.
From-SVN: r20639
1998-06-21 11:33:00 -06:00
H.J. Lu
1442f4eb57
Forgot to commit last night:
...
* Makefile.in (crtbeginS.o, crtendS.o): Add -fno-exceptions and
-DCRTSTUFFS_O.
(INSTALL): cd $(srcdir) before make.
From-SVN: r20638
1998-06-21 10:34:31 -06:00
Jeffrey A Law
e4ad60fe62
Bump for snapshot
...
From-SVN: r20636
1998-06-20 19:08:21 -06:00
Jeff Law
a826243e73
Daily bump.
...
From-SVN: r20635
1998-06-20 18:45:02 -06:00
Jeff Law
487eb4b87b
configure.in (version, [...]): Define.
...
�
* configure.in (version, target_alias): Define.
* Makefile.in (version, target_alias, libsubdir): Define.
(install): Remove check for libsubdir.
From-SVN: r20634
1998-06-20 18:28:50 -06:00
Dave Love
0f1d4fada4
configure.in (version, [...]): Define.
...
X
* configure.in (version, target_alias): Define.
* Makefile.in (version, target_alias, libsubdir): Define.
(install): Remove check for libsubdir.
From-SVN: r20633
1998-06-20 18:28:48 -06:00
John Wehle
c0067dc8d5
i386.c (output_fp_conditional_move): Don't bother handling (cc_prev_status.flags && CC_NO_OVERFLOW) since the INSN...
...
* i386.c (output_fp_conditional_move): Don't bother handling
(cc_prev_status.flags && CC_NO_OVERFLOW) since the INSN patterns
prevent this from happening.
* i386.md (nonlocal_goto_receiver): Delete.
From-SVN: r20632
1998-06-20 18:26:51 -06:00
H.J. Lu
a24da858ab
flow.c (allocate_for_life_analysis, [...]): Remove declaration.
...
* flow.c (allocate_for_life_analysis, init_regset_vector):
Remove declaration.
* function.h (get_first_block_beg): New declaration.
* gbl-ctors.h (__do_global_dtors): Add prototype.
* gcov-io.h (__fetch_long): New declaration.
(__store_long): Likewise.
(__read_long): Likewise.
(__write_long): Likewise.
* gcov.c (print_usage): New declaration.
* Makefile.in (c-iterate.o): Depend on insn-codes.h too.
From-SVN: r20631
1998-06-20 17:55:13 -06:00
Jeff Law
62e349a005
Daily bump.
...
From-SVN: r20630
1998-06-19 18:45:02 -06:00
Jeffrey A Law
c16ddde3e3
calls.c (expand_call): Initialize "src" and "dest".
...
* calls.c (expand_call): Initialize "src" and "dest".
* stmt.c (expand_return): Likewise.
* expmed.c (extract_split_bit_field): Similarly for "result"
* gcse.c (compute_hash_table): Mark first arg as unused.
* jump.c (jump_optimize): Initialize reversep.
* tree.c (make_node): Initialize length.
From-SVN: r20629
1998-06-19 18:35:42 -06:00
Jeffrey A Law
2305ac0d57
i386.h (output_int_conditional_move): Declare.
...
* i386.h (output_int_conditional_move): Declare.
(output_fp_conditional_move): Likewise.
(ix86_can_use_return_insn_p): Likewise.
From-SVN: r20628
1998-06-19 18:04:17 -06:00
Jeffrey A Law
f67aab2c6f
c-common.c (check_format_info): Initialize length_char and fci to keep -Wall quiet.
...
* c-common.c (check_format_info): Initialize length_char and
fci to keep -Wall quiet.
From-SVN: r20627
1998-06-19 17:52:13 -06:00
Jeffrey A Law
767f5b145b
except.c (jumpif_rtx): Put declaration and definition inside a suitable #ifdef.
...
* except.c (jumpif_rtx): Put declaration and definition
inside a suitable #ifdef.
(jumpifnot_rtx): Delete dead function.
From-SVN: r20626
1998-06-19 17:45:30 -06:00
Jeffrey A Law
5a77b5f30e
i386.h (output_int_conditional_move): Declare.
...
* i386.h (output_int_conditional_move): Declare.
(output_fp_conditional_move): Likewise.
From-SVN: r20625
1998-06-19 17:43:04 -06:00
Jeffrey A Law
4ef873c261
* optabs.c (init_traps): Put prototype inside a suitable #ifdef.
...
From-SVN: r20624
1998-06-19 17:38:06 -06:00
Graham Stott
2e107e9ea1
alias.c: Include toplev.h
...
* alias.c: Include toplev.h
* caller-save.c: Include toplev.h
* combine.c: Include toplev.h
* flow.c Include toplev.h
* global.c: Include toplev.h
* jump.c: Include toplev.h
* local-alloc.c: Include toplev.h
* loop.c: Include toplev.h
* regmove.c: Include toplev.h
* stupid.c: Include toplev.h
* unroll.c: Include toplev.h
* Makefile.in: Add toplev.h dependencies.
From-SVN: r20623
1998-06-19 17:37:04 -06:00
Jeffrey A Law
561592c581
except.c (jumpif_rtx): Make static and add prototype.
...
* except.c (jumpif_rtx): Make static and add prototype.
(jumpifnot_rtx): Likewise.
From-SVN: r20622
1998-06-19 16:47:40 -06:00
H.J. Lu
1986428984
* except.h (emit_unwinder, end_eh_unwinder): Removed.
...
From-SVN: r20621
1998-06-19 16:46:10 -06:00
Jason Merrill
29a4c5ed1e
* regmove.c (copy_src_to_dest): Add decl for loop_depth.
...
From-SVN: r20620
1998-06-19 18:41:40 -04:00
Jason Merrill
32bd96ffaf
svr4.h (ASM_GENERATE_INTERNAL_LABEL): Cast arg to unsigned.
...
* svr4.h (ASM_GENERATE_INTERNAL_LABEL): Cast arg to unsigned.
* dwarf2out.c (ASM_OUTPUT_DWARF_DATA1): Likewise.
Add parens to various macros.
From-SVN: r20619
1998-06-19 18:38:51 -04:00
Jeff Law
24e7541105
dwarfout.c (getpwd): Add prototype.
...
d
* dwarfout.c (getpwd): Add prototype.
(is_pseudo_reg, type_main_variant, is_tagged_type,
is_redundant_typedef): New declaration.
(output_decl): Add prototype for FUNC.
(type_main_variant): Make it static.
(is_tagged_type): Likewise.
(is_redundant_typedef): Likewise.
From-SVN: r20618
1998-06-19 16:35:25 -06:00
Jeff Law
90bf9bc4b9
dwarfout.c (getpwd): Add prototype.
...
�
* dwarfout.c (getpwd): Add prototype.
(is_pseudo_reg, type_main_variant, is_tagged_type,
is_redundant_typedef): New declaration.
(output_decl): Add prototype for FUNC.
(type_main_variant): Make it static.
(is_tagged_type): Likewise.
(is_redundant_typedef): Likewise.
From-SVN: r20617
1998-06-19 16:35:23 -06:00
Jeff Law
c54ce0451c
Add Fred's patch.
...
From-SVN: r20616
1998-06-19 16:32:37 -06:00
Bruno Haible
51f8493daa
m-un-2.c: New test.
...
* gcc.misc-tests/m-un-2.c: New test.
* g++.old-deja/g++.other/warn01.c: Likewise.
From-SVN: r20615
1998-06-19 16:29:55 -06:00
Bruno Haible
9dfcc8db5b
c-typeck.c (pop_init_level): Warn about implicit zero initialization of struct members.
...
* c-typeck.c (pop_init_level): Warn about implicit zero initialization
of struct members.
From-SVN: r20614
1998-06-19 16:27:35 -06:00
Bruno Haible
b152601696
typeck2.c (pop_init_level): Warn about implicit zero initialization of struct members.
...
* typeck2.c (pop_init_level): Warn about implicit zero initialization
of struct members.
From-SVN: r20613
1998-06-19 16:26:29 -06:00
Jason Merrill
ee8303096a
varasm.c (assemble_start_function): Add weak_global_object_name.
...
* varasm.c (assemble_start_function): Add weak_global_object_name.
* tree.c (get_file_function_name): Use it.
From-SVN: r20612
1998-06-19 16:09:24 -06:00
H.J. Lu
0d091530be
expr.c (do_jump_by_parts_greater_rtx): Removed.
...
* expr.c (do_jump_by_parts_greater_rtx): Removed.
(truthvalue_conversion): Likewise.
From-SVN: r20611
1998-06-19 16:06:11 -06:00
Jeff Law
3ca4021d53
Makefile.in (c-iterate.o): Depend on expr.h.
...
* Makefile.in (c-iterate.o): Depend on expr.h.
* c-iterate.c: Include "expr.h".
(expand_expr): Use proper values when calling the function.
From-SVN: r20610
1998-06-19 16:01:27 -06:00
H.J. Lu
0ddc9a9492
explow.c (emit_stack_save): Add prototype for FCN.
...
* explow.c (emit_stack_save): Add prototype for FCN.
(emit_stack_restore): Likewise.
From-SVN: r20609
1998-06-19 15:59:49 -06:00
Jeffrey A Law
2c975716a2
* c-lang.c (GNU_xref_begin, GNU_xref_end): Deleted.
...
From-SVN: r20608
1998-06-19 15:58:00 -06:00
H.J. Lu
e179bf0f69
* dwarf2out.c (getpwd): Add prototype.
...
From-SVN: r20607
1998-06-19 15:55:10 -06:00
H.J. Lu
79a2acc802
* dwarf2out.h (debug_dwarf, debug_dwarf_die): New declarations.
...
From-SVN: r20606
1998-06-19 15:52:37 -06:00
H.J. Lu
f5a8bfff50
c-typeck.c (c_expand_asm_operands): Use proper values when calling expand_expr..
...
* c-typeck.c (c_expand_asm_operands): Use proper values when calling
expand_expr..
From-SVN: r20605
1998-06-19 15:49:26 -06:00
H.J. Lu
3ab6dd7c85
c-lex.c (yyprint): Add prototype.
...
* c-lex.c (yyprint): Add prototype.
(check_newline, build_objc_string): Remove declaration.
From-SVN: r20604
1998-06-19 14:43:54 -06:00