Commit Graph

16590 Commits

Author SHA1 Message Date
Jim Wilson
d6cc54f659 Disable remaining cmov support just to be safe.
* i386.c (notice_update_cc, output_float_compare): Disable
	TARGET_CMOVE support.

From-SVN: r19722
1998-05-13 06:10:34 -07:00
Michael Meissner
6d3352d918 align debug output
From-SVN: r19721
1998-05-13 12:55:38 +00:00
Kaveh Ghazi
63e76c876f Grrr! ChangeLog omitted for last warning fix update.
From-SVN: r19720
1998-05-13 12:46:34 +00:00
Kaveh R. Ghazi
d6f4ec5199 Warning fixes:
* Makefile.in (c-lang.o): Depend on c-tree.h, c-lex.h and toplev.h.
	(c-lex.o): Depend on output.h.
	(c-common.o): Likewise.
	(stmt.o): Likewise.
	(calls.o): Likewise.
	(integrate.o): Depend on toplev.h.
	(regclass.o): Depend on output.h.
	(final.o): Depend on reload.h.
	* c-common.c: Include output.h.
	(check_format_info): Remove unused variable `integral_format'.
	* c-decl.c (print_lang_decl): Mark parameters `file', `node' and
	`indent' with ATTRIBUTE_UNUSED.
	(print_lang_type): Likewise.
	(maybe_build_cleanup): Likewise for parameter `decl'.
	(copy_lang_decl): Likewise for parameter `node'.
	* c-lang.c: Include c-tree.h, c-lex.h and toplev.h.
	(lang_print_xnode): Mark parameters `file', `node' and `indent'
 	with ATTRIBUTE_UNUSED.
	(lookup_interface): Likewise for parameter `arg'.
	(is_class_name): Likewise.
	(maybe_objc_check_decl): Likewise for parameter `decl'.
	(maybe_objc_comptypes): Likewise for parameters `lhs', `rhs' and
	`reflexive'.
	(maybe_objc_method_name): Likewise for parameter `decl'.
	(build_objc_string): Likewise for parameters `len' and `str'.
	* c-lex.c: Include output.h.
	* c-lex.h (position_after_white_space): Correct typo in prototype.
	* c-tree.h (finish_file, c_expand_start_cond, c_expand_start_else,
 	c_expand_end_cond, init_iterators): Add prototypes.
	* caller-save.c (set_reg_live): Mark parameters `reg' and `setter'
	with ATTRIBUTE_UNUSED.
	* calls.c: Include output.h.
	* cccp.c (pipe_closed): Mark parameter `signo' with
 	ATTRIBUTE_UNUSED.
	* combine.c: Move inclusion of expr.h to after insn-config.h.
	* iris6.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Don't define
	as empty, rather define as ((void)0).
	* sparc.c (sparc_check_64): Add braces around ambiguous `else'.
	Add parentheses around assignment used as truth value.
	* cplus-dem.c (squangle_mop_up): Change return type to void.
	(internal_cplus_demangle): Remove unused parameter `options'.
	All callers changed.
	(cplus_demangle_opname): Remove function wide variable `int i' and
 	replace with `size_t i' at each location where it is used.
	(cplus_demangle_opname): change type of `i' from int to size_t.
	* cppexp.c (right_shift): Mark parameter `pfile' with
	ATTRIBUTE_UNUSED.
	* cpphash.c (cpp_lookup): Likewise.
	(cpp_hash_cleanup): Likewise.
	* cpplib.c (parse_name): Add a prototype and make it static.
	(null_underflow): Mark parameter `pfile' with ATTRIBUTE_UNUSED.
	(null_cleanup): Likewise for parameters `pbuf' and `pfile'.
	(macro_cleanup): Likewise for parameter `pfile'.
	(file_cleanup): Likewise.
	* cpplib.h (cpp_reader_init, cpp_options_init, cpp_start_read,
 	cpp_read_check_assertion, skip_rest_of_line): Add prototypes.
	* crtstuff.c (force_to_data, __CTOR_LIST__, force_to_data,
	__DTOR_END__, __FRAME_END__): Mark with ATTRIBUTE_UNUSED.
	* cse.c (cse_check_loop_start): Mark parameter `set' with
 	ATTRIBUTE_UNUSED.
	* dbxout.c (flag_minimal_debug, have_used_extensions,
	source_label_number): Move inside macro wrapper check against
	defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO).
	* dwarf2out.c (gen_entry_point_die): Hide prototype and definition.
	* except.h (doing_eh): Provide prototype.
	* expr.c: Move inclusion of expr.h to after insn-config.h.
	* final.c: Include reload.h.
	(shorten_branches): Cast the first argument of bzero to char *.
	* fix-header.c (cpp_print_containing_files): Mark parameter
 	`pfile' with ATTRIBUTE_UNUSED.
	(cpp_fatal): Likewise.
	* flow.c (find_basic_blocks_1): Cast the first argument of bzero
	to char *.
	* genattrtab.c (make_length_attrs): Change the type of variable
	`i' from int to size_t.
	(zero_fn): Mark parameter `exp' with ATTRIBUTE_UNUSED.
	(one_fn): Likewise.
	* genextract.c (main): When generating insn-extract.c, mark
	variable `junk' with ATTRIBUTE_UNUSED.
	* gengenrtl.c (gencode): When generating genrtl.c, cast the first
	argument of bzero to char*.
	* integrate.c: Include toplev.h.
	* libgcc2.c: Wrap `struct exception_table' and
	`find_exception_handler' in macro DWARF2_UNWIND_INFO.
	* objc/Make-lang.in (objc-act.o): Depend on toplev.h.
	* objc/objc-act.c: Include toplev.h.
	(lang_print_xnode): Mark parameters `file', `node' and `indent'
	with ATTRIBUTE_UNUSED.
	(finish_protocol): Likewise for parameter `protocol'.
	* output.h (declare_weak): Add prototype.
	(decode_reg_name): Don't wrap with TREE_CODE macro.
	(assemble_alias): Add prototype.
	* regclass.c: Include output.h.
	* reload.h (reloads_conflict): Add prototype.
	* rtl.h (print_rtl_single, mark_elimiation, reg_class_subset_p,
	output_func_start_profiler): Add prototypes.
	* rtlanal.c (reg_set_p_1): Mark parameters `x' and `pat' with
 	ATTRIBUTE_UNUSED.
	* scan-decls.c: Include scan.h.
	* scan.h (recognized_function, recognized_extern): Add prototypes.
	* stmt.c: Include output.h.
	* toplev.c (error_for_asm, warning_for_asm): Remove prototypes.
	(output_lang_identify): Hide prototype and definition.
	(float_signal): Mark parameter `signo' with ATTRIBUTE_UNUSED.
	(pipe_closed): Likewise.
	* toplev.h (count_error, strip_off_ending, error_for_asm,
 	warning_for_asm): Add prototypes.

From-SVN: r19712
1998-05-13 12:40:39 +00:00
Michael Meissner
32e705c434 toplev.c (rest_of_compilation): "Charge" final for any time doing various cleanup operations after finishing...
* toplev.c (rest_of_compilation): "Charge" final for any time
        doing various cleanup operations after finishing compilation
        of a function.

From-SVN: r19711
1998-05-13 06:26:49 -06:00
Michael Meissner
6fc4610b8c flow.c (dump_flow_info): Also print number of sets and whether or not the pseudo is a user variable.
* flow.c (dump_flow_info): Also print number of sets and
        whether or not the pseudo is a user variable.

From-SVN: r19710
1998-05-13 06:18:27 -06:00
Jeff Law
21622cafab Reorganize last entry a little.
From-SVN: r19709
1998-05-13 06:14:49 -06:00
Michael Meissner
a494747c2b acconfig.h (ENABLE_CHECKING): Undefine.
* acconfig.h (ENABLE_CHECKING): Undefine.
        * configure.in (--enable-checking): New option.
        * flow.c (reg_n_max): New global variable.
        * regclass.c (allocate_reg_info): Keep reg_n_max up to date.
        Delete regno_max variable.
        * regs.h (REG_N_CHECK): Define.
        (REG_N_REFS, REG_N_SETS, REG_N_DEATHS): Use REG_N_CHECK.
        (REG_N_CHANGES_SIZE, REG_N_CALLS_CROSSED, REG_LIVE_LENGTH): Likewise.
        (REGNO_FIRST_UID, REGNO_LAST_UID, REGNO_LAST_NOTE_UID): Likewise.

Co-Authored-By: Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>

From-SVN: r19708
1998-05-13 05:57:25 -06:00
Kaveh R. Ghazi
7dee3f36c6 Warning patches:
* Makefile.in (lex.o): Depend on output.h.
        * call.c (add_function_candidate): Remove unused variable `cand'.
        (add_conv_candidate): Likewise.
        (build_builtin_candidate): Likewise.
        * cp-tree.h: Add prototype for `types_overlap_p'.
        * decl.c (signal_catch): Mark parameter `sig' with ATTRIBUTE_UNUSED.
        * decl2.c (merge_functions): Remove unused variables `tmp' and
        `tempn'.
        * error.c (expr_as_string): Mark parameter `v' with ATTRIBUTE_UNUSED.
        (code_as_string): Likewise.
        (language_as_string): Likewise.
        (parm_as_string): Likewise.
        (op_as_string): Likewise.
        (assop_as_string): Likewise.
        (cv_as_string): Likewise.
        * lex.c: Include output.h.
        * pt.c (type_unification): Cast first argument of `bzero' to a char*.
        * search.c (dfs_no_overlap_yet): Mark parameter `t' with
        ATTRIBUTE_UNUSED.
        * tinfo.cc (__class_type_info::dcast): Change the type of variable
        `i' from int to size_t.
        * typeck.c (language_lvalue_valid): Mark parameter `exp' with
        ATTRIBUTE_UNUSED.

From-SVN: r19707
1998-05-13 10:00:46 +00:00
J"orn Rennecke
d668e863c9 reload1.c (merge_assigned_reloads): Can merge RELOAD_FOR_INPUT_ADDRESS and RELOAD_FOR_OTHER_ADDRESS even if...
* reload1.c (merge_assigned_reloads):  Can merge
	RELOAD_FOR_INPUT_ADDRESS and RELOAD_FOR_OTHER_ADDRESS even
	if RELOAD_FOR_INPUT with the same reload_reg_rtx is present.

From-SVN: r19706
1998-05-13 01:53:59 +01:00
Jason Merrill
6eb3bb273d error.c (dump_simple_decl): Use DECL_CLASS_SCOPE_P and/or DECL_NAMESPACE_SCOPE_P.
* error.c (dump_simple_decl): Use DECL_CLASS_SCOPE_P and/or
	DECL_NAMESPACE_SCOPE_P.
	(lang_decl_name): Likewise.
	* pt.c (tsubst_friend_function, tsubst): Likewise.
	* decl.c (pushdecl, redeclaration_error_message, start_decl,
	cp_finish_decl, start_function): Likewise.
	* class.c (finish_struct_1): Likewise.
	* call.c (build_over_call): Likewise.
	(compare_ics): Use DERIVED_FROM_P.

From-SVN: r19705
1998-05-12 17:42:34 -04:00
Jim Wilson
b706d7f20d Fix aix --with-gnu-ld build failure reported by Brendan.
* collect2.c (main): Ignore do_collecting when COLLECT_EXPORT_LIST.

From-SVN: r19704
1998-05-12 13:07:09 -07:00
J"orn Rennecke
4117a96b01 * reload1.c (gen_reload): Create REG_EQUIV notes.
From-SVN: r19703
1998-05-12 20:28:01 +01:00
J"orn Rennecke
4d3eb41421 reload1.c (reload): Fix check for USEs to use code of pattern.
* reload1.c (reload): Fix check for USEs to use code of pattern.
	(choose_reload_regs): Remove dead variable use_insn.

From-SVN: r19702
1998-05-12 15:25:14 +01:00
Jeffrey A Law
b10c896640 * pa.h (DBX_CONTIN_LENGTH): Reduce to 3000 bytes.
From-SVN: r19701
1998-05-12 07:04:18 -06:00
Michael Meissner
cbb1345779 Use HAIFA_INLINE for inlining functions instead of __inline directly
From-SVN: r19700
1998-05-12 12:20:18 +00:00
Klaus Kaempf
1478d88a8c * alpha/vms.h (COMMON_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON): Define.
From-SVN: r19699
1998-05-12 03:27:46 -07:00
Gavin Koch
a688e0b7d3 * config/mips/mips.h (ASM_OUTPUT_ALIGN): Remove trailing semi-colon.
From-SVN: r19698
1998-05-12 08:46:52 +00:00
Gavin Koch
ec350bddd2 mips.md (dslot): Move after definition of "cpu" attribute.
* config/mips/mips.md (dslot): Move after definition of "cpu"
	attribute.  Handle r3900 case.

From-SVN: r19697
1998-05-12 08:41:11 +00:00
Kaveh R. Ghazi
d4ba0ead26 Consolidate support for "String-ification" into system.h:
* system.h: Define the STRINGIFY macro here.
        * protoize.c: Not here.
        * gengenrtl.c (DEF_RTL_EXPR): Use the STRINGIFY macro.

From-SVN: r19696
1998-05-12 07:36:02 +00:00
Mark Mitchell
7bc6a9ffaa cp-tree.h (CANONICAL_TYPE_VARIANT): New macro.
* cp-tree.h (CANONICAL_TYPE_VARIANT): New macro.
	* method.c (build_mangled_name): Use it.
	(build_decl_overload_real): Likewise.

From-SVN: r19695
1998-05-12 07:27:15 +00:00
Mark Mitchell
07389efeea error.c (dump_simple_decl): New function, broken out from ...
* error.c (dump_simple_decl): New function, broken out from ...
	(dump_decl): Use it.

From-SVN: r19694
1998-05-12 07:23:31 +00:00
Jeff Law
fa03cbe950 Set emacs varaibles.
From-SVN: r19693
1998-05-11 17:49:19 -06:00
John Wehle
8a198bd23f varasm.c (assemble_variable): Compute the alignment of the data earlier so that both initialized and...
* varasm.c (assemble_variable): Compute the alignment of the data
        earlier so that both initialized and uninitialized variables are
        effected by DATA_ALIGNMENT.
        * tm.texi (DATA_ALIGNMENT): Updated appropriately.

From-SVN: r19692
1998-05-11 17:47:28 -06:00
Jeff Law
cf4ccd63bc #
* mpw-* Delete.  Not used.
	* ltconfig, ltmain.sh: Update to libtool 1.2a.
	* Makefile.in (CC_FOR_TARGET): Use $(TARGET_SUBDIR) when passing -B
	for newlib directory.
	(CXX_FOR_TARGET): Likewise.
Bring over from devo.

From-SVN: r19691
1998-05-11 17:00:52 -06:00
Jeff Law
9c7d6038b2 T
* mpw-* Delete.  Not used.
	* ltconfig, ltmain.sh: Update to libtool 1.2a.
	* Makefile.in (CC_FOR_TARGET): Use $(TARGET_SUBDIR) when passing -B
	for newlib directory.
	(CXX_FOR_TARGET): Likewise.
Bring over from devo.

From-SVN: r19690
1998-05-11 17:00:48 -06:00
Jeff Law
8475691625
* mpw-* Delete.  Not used.
	* ltconfig, ltmain.sh: Update to libtool 1.2a.
	* Makefile.in (CC_FOR_TARGET): Use $(TARGET_SUBDIR) when passing -B
	for newlib directory.
	(CXX_FOR_TARGET): Likewise.
Bring over from devo.

From-SVN: r19689
1998-05-11 17:00:44 -06:00
Jeff Law
bfed1ea086 l
* mpw-* Delete.  Not used.
	* ltconfig, ltmain.sh: Update to libtool 1.2a.
	* Makefile.in (CC_FOR_TARGET): Use $(TARGET_SUBDIR) when passing -B
	for newlib directory.
	(CXX_FOR_TARGET): Likewise.
Bring over from devo.

From-SVN: r19688
1998-05-11 17:00:43 -06:00
Jeff Law
5a4917e586 [multiple changes]
Thu Feb 12 16:29:01 1998  Ian Lance Taylor  <ian@cygnus.com>
        * getopt.h: Update to latest FSF version.
Fri Nov  7 10:34:09 1997  Rob Savoye  <rob@darkstar.cygnus.com>
        * libiberty.h: Add extern "C" { so it can be used with C++
        programs.
Thu Aug 28 19:41:42 1997  Andrew Cagney  <cagney@b1.cygnus.com>
        * libiberty.h (dupargv): Add prototype.
Bring over from devo.

From-SVN: r19687
1998-05-11 16:49:29 -06:00
Ian Lance Taylor
0aadd65786 config.guess: Use ${UNAME_MACHINE} rather than i386 for cygwin32 and mingw32.
* config.guess: Use ${UNAME_MACHINE} rather than i386 for cygwin32
        and mingw32.
Bring over from devo.

From-SVN: r19686
1998-05-11 16:36:06 -06:00
Jeff Law
337eb77305 [multiple changes]
Sat Apr 11 22:43:17 1998  J. Kean Johnston  <jkj@sco.com>
        * mh-svsv5: New file - support for SCO UnixWare 7 / SVR5.
Thu Mar 26 01:54:25 1998  Geoffrey Noer  <noer@cygnus.com>
        * mh-cygwin32: stop configuring and building dosrel.
Bring over from devo.

From-SVN: r19685
1998-05-11 16:29:42 -06:00
Jeff Law
fc438e2ad0 [multiple changes]
Tue Mar 24 10:13:07 1998  Jason Merrill  <jason@yorick.cygnus.com>
        * std/bastring.cc (basic_string::copy): Mark const here, too.
1998-03-23 15:59  Ulrich Drepper  <drepper@cygnus.com>
        * std/bastring.h (basic_string::copy): Mark copy function as const.
        Reported by Scott Schurr <scotts@ims.com>.
Bring over from devo.

From-SVN: r19684
1998-05-11 16:04:43 -06:00
Jeff Law
881060d07f mips.c: Prototype static functions.
�
        * mips.c: Prototype static functions.

From-SVN: r19681
1998-05-11 13:00:08 -06:00
Jeff Law
eace3df1bc mips.c: Prototype static functions.
�
        * mips.c: Prototype static functions.

From-SVN: r19680
1998-05-11 13:00:06 -06:00
Jeff Law
5cc70674e4 Belongs here.
From-SVN: r19679
1998-05-11 12:29:19 -06:00
Jeff Law
1ad35649f8 In the wrong directory.
From-SVN: r19678
1998-05-11 12:29:00 -06:00
Jim Wilson
b1a7d59104 Add missing comments pointed out by Andreas Schwab.
* regmove.c (fixup_match_2, find_matches, regmove_profitable):
	Add explanatory comments.

From-SVN: r19677
1998-05-11 11:11:22 -07:00
Richard Henderson
50324922d7 Put the movzr insn back into the comment.
From-SVN: r19676
1998-05-11 10:47:46 -07:00
Jim Wilson
a9e9509942 Fix -mflat bug reported by Yamamoto Hirotaka.
* sparc.h (SPARC_INCOMING_INT_ARG_FIRST): Support TARGET_FLAT.

From-SVN: r19675
1998-05-11 10:44:31 -07:00
Richard Henderson
0f177d7c37 * sparc.md (ffsdi2): Disable. Simplify the expression as well.
From-SVN: r19674
1998-05-11 10:26:37 -07:00
Jim Wilson
28233641fc Fix stabs debug info bug reported by Stu Grossman.
* varasm.c (make_decl_rtl): Disable April 1 change.

From-SVN: r19673
1998-05-11 06:31:35 -07:00
Jason Merrill
a4d95b976d new
From-SVN: r19672
1998-05-11 07:57:04 -04:00
Mark Mitchell
4c7d0dff68 update documentation
From-SVN: r19671
1998-05-11 11:46:11 +00:00
Mark Mitchell
08362e16df * ptree.c (lang_print_xnode): Add missing `break'.
From-SVN: r19670
1998-05-11 11:37:13 +00:00
Mark Mitchell
2951e48e8d New test
From-SVN: r19669
1998-05-11 11:02:58 +00:00
Mark Mitchell
d861dea192 New test
From-SVN: r19668
1998-05-11 10:59:39 +00:00
Mark Mitchell
9b2e5e2208 * pt.c (tsubst): Remove duplicate check for IDENTIFIER_NODE.
From-SVN: r19667
1998-05-11 10:08:56 +00:00
Richard Henderson
dbf783868e Oops, aclocal.m4 wasn't up-to-date for last commit.
From-SVN: r19666
1998-05-11 02:22:09 -07:00
Richard Henderson
e55a5ea6f2 * configure.in (alpha-*-linux-gnu): Undo lossage from gcc2 merge.
From-SVN: r19665
1998-05-11 02:16:34 -07:00
Richard Henderson
e83015a9b5 alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '`'.
* alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '`'.
        * alpha.c (print_operand): Handle it.
        * alpha.md (fix_truncdfsi2, fix_truncsfsi2): New patterns and
        related define_splits.  Also add peepholes for SImode reload
        plus sign_extend lossage.

From-SVN: r19664
1998-05-11 01:31:20 -07:00