Commit Graph

16694 Commits

Author SHA1 Message Date
Manfred Hollstein
3fe97d74ad configure.in: Check for unistd.h as well.
�
	* configure.in: Check for unistd.h as well.
	* configure: Rebuild.
	* config.in: Rebuild.
	* getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
	is defined in unistd.h. Reformat conditional block for easier reading.
	* config.table (shared): Default to no if ${enable_shared}
	is unset or empty; this logic is used by the toplevel
	configure scripts, too.

From-SVN: r19923
1998-05-21 07:52:38 +00:00
Kaveh R. Ghazi
fd97443cb6 ANSI does not allow a prototype to specify an item smaller than an int if the function uses an old-style definition.
ANSI does not allow a prototype to specify an item smaller than an int
if the function uses an old-style definition.  This only worked as a
GNUC extension, so stop doing it.
       * gengenrtl.c (type_from_format, accessor_from_format): Change
       type of parameter `c' from `char' to `int'.

From-SVN: r19922
1998-05-21 06:29:55 +00:00
Jason Merrill
b385c8412e decl2.c (maybe_make_one_only): New fn.
* decl2.c (maybe_make_one_only): New fn.
	(import_export_vtable): Use it.
	(import_export_decl): Likewise.
	* pt.c (mark_decl_instantiated): Likewise.

From-SVN: r19921
1998-05-21 01:42:51 -04:00
Mark Mitchell
cb96daa2dc decl2.c (find_representative_member): Rename to ...
* decl2.c (find_representative_member): Rename to ...
	(build_anon_union_vars): New function.
	(finish_anon_union): Fix stupidity of previous change.

From-SVN: r19920
1998-05-21 00:48:49 +00:00
Jason Merrill
f9d94ea4d4 decl.c (grokfndecl): Handle definition of specialization in friend declaration.
* decl.c (grokfndecl): Handle definition of specialization in
	friend declaration.
	* error.c (dump_decl): Fix LOOKUP_EXPR handling.

From-SVN: r19919
1998-05-20 19:53:04 -04:00
Mark Mitchell
35acd3f282 class.c (delete_duplicate_fields_1): Use DECL_DECLARES_TYPE_P to look for type declarations.
* class.c (delete_duplicate_fields_1): Use DECL_DECLARES_TYPE_P
	to look for type declarations.
	(finish_struct): Deal with templates on the CLASSTYPE_TAGS list.
	* cp-tree.h (DECL_DECLARES_TYPE_P): New macro.
	(finish_member_class_template): Declare.
	* decl.c (pushtag): Put member class templates on the
	CLASSTYPE_TAGS list, just as for ordinary member classes.
	(pushdecl_class_level): Use DECL_DECLARES_TYPE_P.
	(lookup_tag): Look for IDENTIFIER_CLASS_VALUEs, just as with
	IDENTIFIER_NAMESPACE_VALUEs.
	* parse.y (component_decl): Move code to ...
	* semantics.c (finish_member_class_template): New function.
	Don't put member class templates on the list of components for a
	class.
	* pt.c (classtype_mangled_name): Don't try DECL_CONTEXT on types.
	In fact, don't use DECL_CONTEXT at all here.

From-SVN: r19918
1998-05-20 23:28:21 +00:00
Jeffrey A Law
2a3edac9ad warn_summary, [...]: New scripts from Kaveh Ghazi and Alexandre Oliva respectively.
* warn_summary, test_summary: New scripts from
        Kaveh Ghazi and Alexandre Oliva respectively.

From-SVN: r19917
1998-05-20 16:44:58 -06:00
Manfred Hollstein
6601d02b23 * gcc.dg/980502-1.c: Fix return type.
From-SVN: r19916
1998-05-20 15:48:45 -06:00
Jeffrey A Law
0e4347cef0 gcse.c (current_function_calls_longjmp): Declare.
* gcse.c (current_function_calls_longjmp): Declare.
For sco5.

From-SVN: r19915
1998-05-20 15:30:13 -06:00
Martin v. Löwis
036407f7b3 decl.c (record_unknown_type): New function.
* decl.c (record_unknown_type): New function.
	(init_decl_processing): Call it for the unknown and global type
	nodes.

From-SVN: r19912
1998-05-20 15:08:59 -04:00
Jason Merrill
4e5a8d7b86 * dwarf2out.c (base_type_die): Use int_size_in_bytes.
From-SVN: r19911
1998-05-20 14:51:13 -04:00
Mark Mitchell
ce1b9eb9a8 decl2.c (find_representative_member): New function.
* decl2.c (find_representative_member): New function.
	(finish_anon_union): Use it.

From-SVN: r19910
1998-05-20 11:03:18 +00:00
Jeff Law
f9c3933a4b {980502-1.c, [...]: New tests.
* gcc.dg/{980502-1.c, clobbers.c}: New tests.
        * gcc.c-torture/compile/{980504-1.c, 980506-1.c}: Likewise.
        * gcc.c-torture/compile/{980506-2.c, 980611-1.c}: Likewise.
        * gcc.c-torture/execute/{980505-1.c, 980505-2.c, 980506-1.c}: Likewise.
        * gcc.c-torture/execute/{980506-2.c, 980506-3.c}: Likewise.
Missing ChangeLog entry.

From-SVN: r19909
1998-05-20 04:30:42 -06:00
Mark Mitchell
74ce357fe5 new test
From-SVN: r19908
1998-05-20 10:04:35 +00:00
Mark Mitchell
3568074438 cp-tree.h (MAIN_NAME_P): New macro.
* cp-tree.h (MAIN_NAME_P): New macro.
	(DECL_MAIN_P): Likwise.
	* decl.c (pushdecl): Avoid crashing on redefinitions of `main'.
	(grokfndecl): Use the new macros.
	(grokdeclarator): Likewise.
	(start_function): Likewise.
	(store_parm_decls): Likewise.
	(finsh_function): Likewise.
	* friend.c (do_friend): Likewise.
	* typeck.c (build_function_call_real): Likewise.
	(build_unary_op): Likewise.

From-SVN: r19907
1998-05-20 10:04:25 +00:00
Dave Love
3e98dfd1cb 980520-1.f: New test.
1998-05-20  Dave Love  <d.love@dl.ac.uk>
* g77.f-torture/execute/980520-1.f: New test.

From-SVN: r19906
1998-05-20 09:34:26 +00:00
Dave Love
83539a5253 New test.
From-SVN: r19905
1998-05-20 09:28:28 +00:00
Jason Merrill
961ec1a55f decl2.c (start_objects, [...]): Split out from...
* decl2.c (start_objects, finish_objects, do_dtors,
	do_ctors): Split out from...
	(finish_file): ...here.

From-SVN: r19904
1998-05-19 22:46:16 -04:00
Jason Merrill
2a3215614b remove CYGNUS LOCAL
From-SVN: r19903
1998-05-19 21:57:33 -04:00
Jeff Law
96ce46dd14 Various minor updates.
From-SVN: r19902
1998-05-19 18:36:31 -06:00
Doug Evans
7506f49132 * Global CSE and constant/copy propagation.
* Makefile.in (OBJS): Add gcse.o
        (STAGESTUFF): Add *.gcse.
        (gcse.o): Add dependencies.
        (mostlyclean): Remove *.gcse and */*.gcse.
        * gcse.c: New file.
        * loop.c (loop_optimize): Move call to init_alias_analysis.
        * recog.c (validate_replace_src): New function.
        * toplev.c (gcse_dump): New global variable.
        (flag_gcse, gcse_time): Likewise.
        (compile_file): Initialize gcse_time and clean out the gcse dump
        file if necessary.
        (rest_of_compilation): Call gcse_main as requested.  Dump RTL
        after gcse if requested.
        (main): Enable gcse for -O2 and above.  Handle -dG.  Enable gcse
        dumps for -da.
        * gcc.texi: Add gcse related internal documentation.
        * invoke.texi: Note new command line options for gcse.
        * tm.texi: Document AVOID_CCMODE_COPIES.
        * mips.h (AVOID_CCMODE_COPIES): Define.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r19901
1998-05-19 18:24:32 -06:00
Jeff Law
d392d163c5 Various updates.
From-SVN: r19900
1998-05-19 18:01:58 -06:00
Jeffrey A Law
aef1617ccb Makefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR) exists.
* Makefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR)
        exists.
        (stmp-fixproto): Simlarly for running fixproto.
        * cross-make (SYSTEM_HEADER_DIR): Now $(tooldir)/sys-include.

From-SVN: r19899
1998-05-19 15:45:41 -06:00
Jeffrey A Law
40859b41a4 Makefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR) exists.
* Makefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR)
        exists.
        * cross-make (SYSTEM_HEADER_DIR): Now $(tooldir)/sys-include.
Bring over from Cygnus sources.

From-SVN: r19898
1998-05-19 15:41:03 -06:00
Jason Merrill
b8887b6323 tree.c (is_overloaded_fn): Don't abort on placeholders from push_class_decls.
* tree.c (is_overloaded_fn): Don't abort on placeholders from
	push_class_decls.

From-SVN: r19888
1998-05-19 16:38:04 -04:00
Jim Wilson
f85c8be787 Fix Irix6 Mesa compile failure reported by Andy Tai.
* config/mips/mips.c (double_memory_operand): Accept any MEM during
	reload when TARGET_64BIT.

From-SVN: r19887
1998-05-19 12:23:09 -07:00
Jim Wilson
c73912726c Finish incomplete change started by Kenner.
* configure.in (*-*-linux-gnu*): Delete NO_STAB_H from xm_defines.
	(powerpcle-*-cygwin32): Delete xm_defines.
	* final.c, mips-tfile.c, xcoffout.c, config/mips/mips.c: Use
	HAVE_STAB_H instead of NO_STAB_H.
	* config/xm-linux.h (NO_STAB_H): Delete.
	(HAVE_STAB_H): Undefine.
	* config/i386/xm-go32.h (NO_STAB_H): Delete.

From-SVN: r19886
1998-05-19 11:24:07 -07:00
Brendan Kehoe
5a11e05b69 class.c (is_empty_class): Return 0 if TYPE is an error_mark_node.
* class.c (is_empty_class): Return 0 if TYPE is an error_mark_node.
	* error.c (dump_expr): Handle an ARROW_EXPR.

From-SVN: r19885
1998-05-19 14:16:49 -04:00
Mark Mitchell
e5030c6c55 Add test
From-SVN: r19884
1998-05-19 15:43:24 +00:00
Jim Wilson
af02da670b Fix SCO5 namespace/dwarf interaction bug.
* dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Ignore
	LANG_TYPE trees with DECL_SOURCE_LINE of 0.

From-SVN: r19883
1998-05-19 08:31:53 -07:00
Mark Mitchell
ae0a6181ec decl.c (saveable_obstack): Declare.
* decl.c (saveable_obstack): Declare.
	(pushdecl): Copy TYPE_DECLs to the same obstack as the type they
	declare, if necessary.

From-SVN: r19882
1998-05-19 15:15:22 +00:00
Todd Vierling
79edd21c9d * arm/netbsd.h: Ensure DWARF2_UNWIND_INFO is undefined.
From-SVN: r19881
1998-05-19 15:13:23 +00:00
Mark Mitchell
ceab47eb37 call.c (compare_qual): Remove.
* call.c (compare_qual): Remove.
	(is_subseq): Tweak.
	(is_properly_derived_from): New function.
	(maybe_handle_ref_bind): Likewise.
	(maybe_handle_implicit_object): Likewise.
	(compare_ics): Modify substantially to bring into conformance with
	the standard.
	* cp-tree.h (TYPE_PTRMEMFUNC_OBJECT_TYPE): New macro.
	(comp_cv_qualification): Declare.
	(comp_cv_qual_signature): Likewise.
	* typeck.c (comp_cv_qualification): Likewise.
	(comp_cv_qual_signature): Likewise.

From-SVN: r19880
1998-05-19 14:51:38 +00:00
Craig Burley
06033860a7 signal_.c, [...]: Tweaks to eliminate unnecessary differences vs.
Sat May  2 16:44:46 1998  Craig Burley  <burley@gnu.org>
* libF77/signal_.c, libI77/dfe.c, libI77/due.c,
libI77/wsfe.c: Tweaks to eliminate unnecessary
differences vs. netlib libf2c.

From-SVN: r19879
1998-05-19 11:02:16 +00:00
Craig Burley
6d3e8f6239 Tweaks to eliminate unnecessary differences vs.
Tweaks to eliminate unnecessary
differences vs. netlib libf2c.

From-SVN: r19878
1998-05-19 11:01:52 +00:00
Craig Burley
a843efa0d4 Update to Netlib version of 1998-04-20
From-SVN: r19877
1998-05-19 10:52:03 +00:00
Dave Love
deec641e31 JCB: update email in header.
From-SVN: r19876
1998-05-19 10:50:55 +00:00
Dave Love
7b40ddbde5 Update to Netlib version of 1998-04-20
From-SVN: r19875
1998-05-19 10:45:44 +00:00
Dave Love
0063c7779b JCB updates.
From-SVN: r19874
1998-05-19 10:29:42 +00:00
Craig Burley
4a26588bfa version.h: Get rid of the overly large headers here too, as done in version.c.
Fri Apr 17 17:18:04 1998  Craig Burley  <burley@gnu.org>
* version.h: Get rid of the overly large headers
here too, as done in version.c.

From-SVN: r19873
1998-05-19 10:26:25 +00:00
Craig Burley
3896a0de4f Get rid of the overly large headers
here too, as done in version.c.

From-SVN: r19872
1998-05-19 10:25:05 +00:00
Craig Burley
bfe12babef on Mar 23 21:20:35 1998 Craig Burley <burley@gnu.org>
on Mar 23 21:20:35 1998  Craig Burley  <burley@gnu.org>
* version.c: Reduce to a one-line file, like
gcc's version.c, since there's really no content
there.

From-SVN: r19871
1998-05-19 10:23:53 +00:00
Craig Burley
583302e485 Reduce to a one-line file, like
gcc's version.c, since there's really no content
there.

From-SVN: r19870
1998-05-19 10:21:47 +00:00
J"orn Rennecke
6e684430f3 reload1.c (reload_reg_free_for_value_p): New function.
* reload1.c (reload_reg_free_for_value_p): New function.
	(allocate_reload_reg, choose_reload_regs): Use it.

From-SVN: r19869
1998-05-19 10:23:21 +01:00
Andrew MacLeod
7ecb5d27dc Fix logic on when to generate a new handler label
From-SVN: r19868
1998-05-19 09:05:27 +00:00
Kaveh R. Ghazi
487a6e06ce Warning Fixes:
* Makefile.in (print-rtl.o): Depend on bitmap.h.
        (dbxout.o): Depend on toplev.h.
        ($(SCHED_PREFIX)sched.o): Likewise.
        ($(out_object_file)): Likewise for system.h and toplev.h.
        (cppmain.o): Depend on gansidecl.h.
        (cpplib.o): Likewise.
        (cpperror.o): Likewise.
        (cppexp.o): Likewise.
        (cpphash.o): Likewise.
        (cppalloc.o): Likewise.
        (fix-header.o): Depend on cpplib.h and cpphash.h.
        (scan-decls.o): Depend on gansidecl.h.
        * basic-block.h (free_regset_vector): Add prototype.
        * cccp.c (check_precompiled): Mark parameter `fname' with
        ATTRIBUTE_UNUSED.
        (do_assert): Likewise for `op' and `keyword'.
        (do_unassert): Likewise.
        (do_line): Likewise for `keyword'.
        (do_error): Likewise for `op' and `keyword'.
        (do_warning): Likewise.
        (do_ident): Likewise for `keyword'.
        (do_pragma): Likewise for `limit', `op' and `keyword'.
        (do_sccs): Likewise.
        (do_if): Likewise for `keyword'.
        (do_elif): Likewise.
        (do_else): Likewise.
        (do_endif): Likewise.
        * collect2.c (getenv): Remove redundant prototype.
        (collect_exit, collect_execute, dump_file): Likewise.
        (dump_list): Wrap prototype and definition in COLLECT_EXPORT_LIST.
        (dump_prefix_list): Hide prototype and definition.
        * sparc.c: Include toplev.h.
        (intreg_operand): Mark parameter `mode' with ATTRIBUTE_UNUSED.
        (symbolic_memory_operand): Likewise.
        (sp64_medium_pic_operand): Likewise.
        (data_segment_operand): Likewise.
        (text_segment_operand): Likewise.
        (splittable_symbolic_memory_operand): Likewise.
        (splittable_immediate_memory_operand): Likewise.
        (eq_or_neq): Likewise.
        (normal_comp_operator): Likewise.
        (noov_compare_op): Likewise.
        (v9_regcmp_op): Likewise.
        (v8plus_regcmp_op): Likewise.
        (extend_op): Likewise.
        (cc_arithop): Likewise.
        (cc_arithopn): Likewise.
        (small_int): Likewise.
        (uns_small_int): Likewise.
        (clobbered_register): Likewise.
        (legitimize_pic_address): Likewise.
        (delay_operand): Likewise.
        (sparc_builtin_saveregs): Remove unused variable `stdarg'.
        * sparc.h (order_regs_for_local_alloc, eligible_for_return_delay,
        sparc_issue_rate, v8plus_regcmp_p): Add prototypes.
        * sparc.md (cmpdi_v8plus): Add abort for default case in switch.
        * cppalloc.c: Include gansidecl.h.
        * cpperror.c: Include stdarg.h/varargs.h and gansidecl.h.
        (cpp_file_line_for_message): Mark parameter `pfile' with
        ATTRIBUTE_UNUSED.
        (v_cpp_message): New function.
        (cpp_message): Use it.  Also convert to variable arguments.
        (cpp_fatal): Likewise.
        (cpp_pfatal_with_name): Constify parameter `name'.
        * cppexp.c: Move gansidecl.h before cpplib.h.
        * cpphash.c: Likewise.
        * cpphash.h (hashf, delete_macro): Add prototypes.
        * cpplib.c: Include stdarg.h/varargs.h and move gansidecl.h before
        cpplib.h.  Don't include errno.h.
        (update_path): Add arguments to prototype.
        (cpp_fatal, cpp_file_line_for_message, cpp_message, delete_macro,
        cpp_print_containing_files): Remove redundant prototypes.
        (cpp_hash_cleanup, add_import, append_include_chain,
        make_assertion, path_include, initialize_builtins,
        initialize_char_syntax, finclude, validate_else, comp_def_part,
        lookup_import, redundant_include_p, is_system_include,
        read_name_map, read_filename_string, open_include_file,
        check_macro_name, compare_defs, compare_token_lists,
        eval_if_expression, change_newlines): Add prototype arguments.
        (hashf): Remove redundant prototype.
        (read_token_list, free_token_list, safe_read, xcalloc, savestring,
        conditional_skip, skip_if_group): Add prototype arguments.
        (fdopen): Remove redundant prototype.
        (do_define, do_line, do_include, do_undef, do_error, do_pragma,
        do_ident, do_if, do_xifdef, do_else, do_elif, do_endif, do_sccs,
        do_once, do_assert, do_unassert, do_warning): Add prototype arguments.
        (struct directive): Add prototype arguments to function pointer
        member `func'.
        (handle_directive): Add missing arguments to call to `do_line'.
        (do_include): Mark parameters `unused1' and `unused2' with
        ATTRIBUTE_UNUSED.
        (do_line): Likewise for `keyword' and new parameters `unused1' and
        `unused2'.
        (do_error): Likewise for `keyword'.
        (do_warning): Likewise.  Also add missing argument `pfile' in call
        to cpp_pedwarn.
        (do_once): Mark parameter `keyword', `unused1' and `unused2' with
        ATTRIBUTE_UNUSED.
        (do_ident): Likewise for `keyword', `buf' and `limit'.
        (do_pragma): Likewise.  Also add missing arguments in call to do_once.
        (do_sccs): Mark parameter `keyword', `buf' and `limit' with
        ATTRIBUTE_UNUSED.
        (do_if): Likewise for `keyword'.
        (do_elif): Likewise.
        (eval_if_expression): Likewise for `buf' and `length'.
        (do_xifdef): Likewise for `unused1' and `unused2'.
        (do_else): Likewise for `keyword', `buf' and `limit'.
        (do_endif): Likewise.
        (parse_name): Add missing argument `pfile' in call to cpp_pedwarn.
        (cpp_handle_options): Remove superfluous NULL argument in call to
        cpp_fatal.
        (cpp_handle_options): Likewise.
        (do_assert): Mark parameter `keyword', `buf' and `limit' with
        ATTRIBUTE_UNUSED.
        (do_unassert): Likewise.
        (cpp_print_file_and_line): Add missing argument `pfile' in call to
        cpp_file_line_for_message.
        (v_cpp_error): New function.
        (cpp_error): Use it. Also accept variable arguments.
        (v_cpp_warning): New function.
        (cpp_warning): Use it. Also accept variable arguments.
        (cpp_pedwarn): Accept variable arguments.
        (v_cpp_error_with_line): New function
        (cpp_error_with_line): Use it.  Accept variable arguments.
        (v_cpp_warning_with_line): New function.
        (cpp_warning_with_line): Use it.  Accept variable arguments.  Hide
        definition.
        (cpp_pedwarn_with_line): Accept variable arguments.
        (cpp_pedwarn_with_file_and_line): Likewise.
        (cpp_error_from_errno): Constify parameter `name'.  Add missing
        argument `pfile' in call to cpp_file_line_for_message.
        (cpp_perror_with_name): Constify parameter `name'.
        * cpplib.h: Define PARAMS() in terms of PROTO().
        (fatal): Remove redundant prototype.
        (cpp_error, cpp_warning, cpp_pedwarn, cpp_error_with_line,
        cpp_pedwarn_with_line, cpp_pedwarn_with_file_and_line,
        cpp_error_from_errno, cpp_perror_with_name, cpp_pfatal_with_name,
        cpp_fatal, cpp_message, cpp_pfatal_with_name,
        cpp_file_line_for_message, cpp_print_containing_files): Add
        arguments to prototypes.
        (scan_decls, cpp_finish): Add prototypes.
        * cppmain.c: Include gansidecl.h.
        (main): Remove unused variable `i'.
        * dbxout.c: Include toplev.h.
        * demangle.h (do_tlink, collect_execute, collect_exit,
        collect_wait, dump_file, file_exists): Add prototype.
        * dwarf2out.c (dwarf_type_encoding_name, decl_start_label): Hide
        prototype and definition.
        (gen_unspecified_parameters_die): Don't assign results of call to
        function new_die() to unused variable `parm_die'.
        (dwarf2out_line): Mark parameter `filename' with ATTRIBUTE_UNUSED.
        (dwarf2out_define): Likewise for `lineno' and `buffer'.
        * dwarfout.c (output_unsigned_leb128, output_signed_leb128): Hide
        prototype and definition.
        (output_die): Add prototype arguments to function pointer arg.
        (output_unspecified_parameters_die): Mark parameter `arg' with
        ATTRIBUTE_UNUSED.
        * except.c (output_exception_table_entry): Remove unused variable
        `eh_entry'.
        * except.h (expand_fixup_region_start, expand_fixup_region_end):
        Add prototypes.
        * expr.c (do_jump_by_parts_equality_rtx): Remove prototype.
        * expr.h (do_jump_by_parts_equality_rtx): Add prototype.
        * fix-header.c: Include stdarg.h/varargs.h, move gansidecl.h
        before cpplib.h, include cpphash.h, remove redundant prototype of
        cpp_fatal, don't define `const', add a prototype for `fatal'.
        (cpp_file_line_for_message): Add missing arguments `pfile'.
        (v_cpp_message): New function.
        (cpp_message): Use it.
        (v_fatal): New function.
        (fatal, cpp_fatal): Use it.
        (cpp_pfatal_with_name): Constify parameter `name'.
        * flow.c (free_regset_vector): Remove redundant prototype.
        * function.c (round_down): Wrap prototype and definition with
        macro ARGS_GROW_DOWNWARD.
        (record_insns): Wrap prototype and definition with
        defined (HAVE_prologue) || defined (HAVE_epilogue).
        * gansidecl.h (ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5): New macros.
        * gen-protos.c: Include gansidecl.h.
        (hashf): Don't make it static, constify parameter `name'.
        * genattrtab.c (check_attr_test): Change XEXP() to XSTR() to match
        specifier %s in calls to function `fatal'.
        * haifa-sched.c: Include toplev.h.
        (find_rgns): Remove unused variable `j'.
        * integrate.c (note_modified_parmregs): Mark parameter `x' with
        ATTRIBUTE_UNUSED.
        (mark_stores): Likewise.
        * jump.c (mark_modified_reg): Likewise.
        * output.h (insn_current_reference_address): Add prototype.
        (eh_frame_section): Likewise.
        * print-rtl.c: Include bitmap.h.
        * reload1.c (reload): Wrap variables `note' and `next' in macro
        PRESERVE_DEATH_INFO_REGNO_P.
        (forget_old_reloads_1): Mark parameter `ignored' with
        ATTRIBUTE_UNUSED.
        (choose_reload_regs): Remove unused variable `in'.
        (reload_cse_invalidate_mem): Mark parameter `ignore' with
        ATTRIBUTE_UNUSED.
        (reload_cse_check_clobber): Likewise.
        * rtl.h (expand_null_return, reg_classes_intersect_p): Add prototype.
        (mark_elimination): Fix typo in prototype.
        * scan-decls.c: Include gansidecl.h.
        * tree.h (using_eh_for_cleanups, supports_one_only): Add prototype.

From-SVN: r19867
1998-05-19 08:42:48 +00:00
Kaveh R. Ghazi
77dc0938f7 Warning fixes:
* Makefile.in (parse.o): Depend on toplev.h.
        * class.c (typecode_p): Remove prototype and definition.
        * cp-tree.h (currently_open_class, is_empty_class, member_p):
        Add prototype.
        * decl.c (push_overloaded_decl_top_level): Remove prototype and
        definition.
        * errfn.c (cp_error): Cast function pointer `error' to (errorfn *)
        in call to `cp_thing'.
        (cp_warning): Likewise for function pointer `warning'.
        * except.c (do_function_call): Remove prototype and definition.
        (call_eh_info): Wrap variable `t1' in macro NEW_EH_MODEL.
        * method.c (is_java_type): Add prototype and make it static.
        * parse.y: Include toplev.h.
        * pt.c (type_unification): Remove unused variable `arg'.
        (instantiate_decl): likewise for `save_ti'.
        * tree.c (propagate_binfo_offsets): Likewise for `base_binfos'.

From-SVN: r19866
1998-05-19 07:19:17 +00:00
Jeff Law
12c45d894b Initial revision
From-SVN: r19862
1998-05-19 01:09:55 -06:00
Jason Merrill
18c32f6939 tweak
From-SVN: r19860
1998-05-18 22:53:39 -04:00
Jason Merrill
72e61a0705 init.c (build_member_call): Handle template_ids.
* init.c (build_member_call): Handle template_ids.
	* parse.y (primary): Add global_scope template_id.

From-SVN: r19859
1998-05-18 22:50:52 -04:00