Commit Graph

18592 Commits

Author SHA1 Message Date
Per Bothner
5225130d39 Make-lang.in (c++-filt): Link libiberty.a after cxxmain.o.
�
	* Make-lang.in (c++-filt):  Link libiberty.a after cxxmain.o.

From-SVN: r22527
1998-09-21 06:12:10 -07:00
Robert Lipe
724001bbb3 i386.h: (TARGET_SWITCHES) Improve doc for align-double.
* i386.h: (TARGET_SWITCHES) Improve doc for align-double.  Fix
	typo in no-fancy-math-387 description.

From-SVN: r22524
1998-09-21 12:03:56 +00:00
Dave Love
10125720dc Version.c: Update.
1998-09-21  Dave Love  <d.love@dl.ac.uk>
	* libI77/Version.c: Update.

From-SVN: r22521
1998-09-21 11:10:01 +00:00
Dave Love
28cdcd7a61 Update.
From-SVN: r22520
1998-09-21 11:08:06 +00:00
Robert Lipe
ab3003756e Makefile.in (distclean, [...]): Add multilib support.
* Makefile.in (distclean, clean, uninstall, install, all): Add
	multilib support.
	configure.in: Likewise.
	configure: Regenerate.
	* libF77/Makefile.in, libU77/Makefile.in, libI77/Makefile.in (clean):
	Explictly remove stamp in parent's directory.

From-SVN: r22519
1998-09-21 10:34:28 +00:00
Jeffrey A Law
64ca6edd0f Bump for snapshot
From-SVN: r22518
1998-09-21 03:27:22 -06:00
Stan Cox
216f3a5849 (DBX_DEBUGGING_INFO): Added.
From-SVN: r22517
1998-09-21 07:33:21 +00:00
Robert Lipe
c03f9fe356 i386.h: (TARGET_SWITCHES) Add description fields for flags documented in install.texi.
* i386.h: (TARGET_SWITCHES) Add description fields for flags
	documented in install.texi.
	(TARGET_OPTIONS) Likewise.

From-SVN: r22516
1998-09-21 07:17:52 +00:00
Jeffrey A Law
cc61dfb886 Bump for snapshot
From-SVN: r22515
1998-09-20 19:39:06 -06:00
Ben Elliston
88e17b57eb 1998-09-21 Ben Elliston <bje@cygnus.com>
* New directory.  Moved files from ../gcc/objc.

From-SVN: r22514
1998-09-21 11:22:07 +10:00
Jeff Law
2325c774f8 Use GET_ENV_PATH_LIST for GCC_EXEC_PREFIX too. My goof, not Felix's.
From-SVN: r22513
1998-09-20 19:00:21 -06:00
Felix Lee
3e81ad1642 * lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().
From-SVN: r22512
1998-09-20 18:57:11 -06:00
Felix Lee
b2a1e45827 c-lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().
* c-lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().
        * cccp.c (main): Likewise.
        * gcc.c (process_command): Similarly for "GCC_EXEC_PREFIX".
        * cccp.c, collect2.c, cpplib.c, gcc.c, config/i386/xm-cygwin32.h:
        Rename GET_ENVIRONMENT to GET_ENV_PATH_LIST, and fix some
        macro-use bugs.

From-SVN: r22511
1998-09-20 18:56:50 -06:00
Jeff Law
717f76d8fc Daily bump.
From-SVN: r22510
1998-09-20 18:45:01 -06:00
Jeff Law
8fa1f09ff6 Rebuilt after recent changes.
From-SVN: r22509
1998-09-20 18:09:06 -06:00
Per Bothner
7e2231e759 Makefile.in (LIBS): Link in libiberty.a.
* Makefile.in (LIBS):  Link in libiberty.a.
        * c-common.c, gcc.c, toplev.c:  Repalce (some) bcopy calls by memcpy.

From-SVN: r22508
1998-09-20 17:54:10 -06:00
Richard Henderson
c93b03c2d8 reload1.c (emit_reload_insns): Accept a new arg for the bb.
* reload1.c (emit_reload_insns): Accept a new arg for the bb.  Use
        it to update bb boundaries.  Update caller.
        * function.c (reposition_prologue_and_epilogue_notes): Update
        bb boundaries wrt the moved note.

From-SVN: r22507
1998-09-20 16:29:09 -07:00
Robert Lipe
823642df46 configure.in (i*86-*-sysv5*): Use fixinc.svr4 to patch byteorder problems.
* configure.in (i*86-*-sysv5*): Use fixinc.svr4 to patch byteorder
	problems.
	* configure: Regenerate.

From-SVN: r22506
1998-09-20 20:58:39 +00:00
Richard Henderson
3873d24b23 alpha.c (alpha_sr_alias_set): New variable.
* alpha.c (alpha_sr_alias_set): New variable.
        (override_options): Set it.
        (alpha_expand_prologue, alpha_expand_epilogue): Use it.
        (mode_mask_operand): Fix signed-unsigned comparision warning.
        (alpha_expand_block_move): Likewise.
        (print_operand): Likewise.
        (get_aligned_mem): Use change_address.
        (alpha_set_memflags, alpha_set_memflags_1): Set the alias set.
        (alphaev4_insn_pipe, alphaev4_next_group): New functions.
        (alphaev4_next_nop, alphaev5_next_nop): New functions.
        (alpha_align_insns): Remade from old alphaev5_align_insns
        to handle multiple processors.
        (alpha_reorg): Call alpha_align_insns for both ev4 and ev5.
        * output.h (label_to_alignment): Prototype.

From-SVN: r22505
1998-09-20 12:11:13 -07:00
Richard Henderson
2ba573431e tree.c (new_alias_set): New function.
* tree.c (new_alias_set): New function.
        * tree.h (new_alias_set): Declare it.
        * c-common.c (c_get_alias_set): Use it.

From-SVN: r22504
1998-09-20 12:02:58 -07:00
Richard Henderson
899f1ed698 fold-const.c (fold): Yet another COND_EXPR bug...
* fold-const.c (fold): Yet another COND_EXPR bug: when folding
        to an ABS expr, convert an unsigned input to signed.

From-SVN: r22503
1998-09-20 05:37:58 -07:00
Mark Mitchell
056a3b121c * class.c (maybe_warn_about_overly_private_class): Reformat.
From-SVN: r22502
1998-09-20 12:30:50 +00:00
Martin v. Löwis
3add584574 New test case
From-SVN: r22501
1998-09-20 12:13:07 +00:00
Mark Mitchell
27c7a08d68 * Makefile.in (bootstrap): Pass TARGET_FLAGS_TO_PASS to `make all'.
From-SVN: r22500
1998-09-20 11:21:12 +00:00
Jeffrey A Law
c479c2acdf * fold-const.c (fold): Fix another type in COND_EXPR handling code.
From-SVN: r22499
1998-09-20 05:16:12 -06:00
Michael Hayes
6261669528 configure.in: Add support for c4x targets.
* configure.in: Add support for c4x targets.
        * configure: Rebuilt.

From-SVN: r22498
1998-09-20 05:12:53 -06:00
Dave Love
0155cab432 sfe.c (e_wdfe): Set f__init to avoid spurious recursive i/o error from formatted direct i/o.
1998-09-20  Dave Love  <d.love@dl.ac.uk>
	* libI77/sfe.c (e_wdfe): Set f__init to avoid spurious recursive
	i/o error from formatted direct i/o.

From-SVN: r22496
1998-09-20 10:53:05 +00:00
Dave Love
7ce87fcaf2 Set f__init to avoid spurious recursive i/o error from formatted
direct i/o.

From-SVN: r22495
1998-09-20 10:51:55 +00:00
Robert Lipe
391705971a except.c: Include system.h.
* except.c: Include system.h.
	* Makefile.in (except.o): Depend on system.h.

From-SVN: r22494
1998-09-20 09:06:51 +00:00
Kaveh R. Ghazi
7511142254 Warning fixes:
* Makefile.in (actions.o, convert.o, decl.o, expr.o, lang.o,
	lex.o, loop.o, parse.o, satisfy.o, timing.o, tasking.o, tree.o,
	typeck.o): Depend on system.h and toplev.h.
	(except.o): Depend on toplev.h.
	(grant.o): Depend on system.h, toplev.h and output.h.
	* actions.c: Include system.h and toplev.h.  Remove redundant
 	prototypes.
	(build_cause_exception): Add default case in switch.
	(update_else_range_for_range): Add parentheses around && within ||.
	(chill_handle_multi_case_label_list): Remove unused variable
	`selector_value'.
	(print_missing_cases): Reconcile format specifiers vs arguments in
 	calls to sprintf.
	* ch-tree.h: Don't include stdio.h.  Wrap prototypes using FILE*
 	with macro BUFSIZ.  Add missing prototypes.
	* convert.c: Include system.h and toplev.h.  Remove redundant
	prototypes.
  	(convert): Remove unused variable `errstr'.
	* decl.c: Include system.h and toplev.h.  Remove redundant
 	prototypes.
	(builtin_scope): Add missing initializers.
	(clear_scope): Likewise.
	(allocate_lang_decl): Mark parameter `t' with ATTRIBUTE_UNUSED.
	(copy_lang_decl): Likewise for parameter `node'.
	(c_decode_option): Likewise for parameter `argc'.
	(push_extern_function): Likewise for parameter `granting'.
	(switch_to_pass_2): Hide declaration of errorcount/sorrycount.
	(pushdecl): Remove unused variable `t'.
	(lookup_name_current_level): Make static and hide.
	(lookup_name_for_seizing): Make static.
	(finish_decl): Remove unused variable `type'.
	(maybe_build_cleanup): Mark parameter `decl' with ATTRIBUTE_UNUSED.
	(complete_array_type): Mark parameters `type', `initial_value' and
 	`do_default' with ATTRIBUTE_UNUSED.
	(start_struct): Mark parameter `name' with ATTRIBUTE_UNUSED.
	(start_enum): Likewise.
	(shadow_record_fields): Remove unused variables `type' and `parent'.
	* except.c: Include toplev.h.  Remove redundant prototypes.
	* expr.c: Include system.h and toplev.h.  Don't define NULL.
  	Remove redundant prototypes.
	(internal_build_compound_expr): Mark parameter `first_p' with
	ATTRIBUTE_UNUSED.
	(build_allocate_getstack): Remove unused variable `init'.
	(build_chill_pred_or_succ): Likewise for variable `limit'.
	(varying_to_slice): Likewise for variable `doamin' [sic].
	(finish_chill_binary_op): Likewise for variables `code0' and
	`code1'.  Remove unused label `finish'.  Add explicit braces to
	avoid ambiguous `else'.
	(build_chill_addr_expr): Remove extra parameter in call to `error'.
	(build_chill_unary_op): Remove unused variables `class' and `type0'.
	(powersetlen): Remove unused variables `domain' and `temp'.
	* grant.c: Include system.h, toplev.h and output.h.  Don't handle
 	strchr/strrchr.  Remove redundant prototypes.
  	(decode_constant_selective): Remove unused variables `op' and `wrk'.
	(push_granted): Mark parameters `name' and `decl' with
 	ATTRIBUTE_UNUSED.
	* inout.c: Include system.h and toplev.h.  Remove redundant
 	prototypes.
	(textlocation_mode): Use &&, not &, when comparing two truth
	values.
	(scanformcont): Remove unused label `do_the_action'.
	* lang.c: Include system.h and toplev.h.  Remove redundant
 	prototypes.
	(lookup_interface): Mark parameter `arg' with ATTRIBUTE_UNUSED.
	(maybe_objc_comptypes): Likewise for parameters `lhs' and `rhs'.
	(lang_print_xnode): Likewise for parameters `file', `node' and
	`indent'.
	(lang_decode_option): Explicitly declare `explicit_ignore_case'.
	(incomplete_type_error): Mark parameters `value' and `type' with
	ATTRIBUTE_UNUSED.
	* lex.c: Include system.h and toplev.h.  Remove redundant
 	prototypes.  Don't handle strchr/strrchr.  Use CAPITALIZED
	versions of ctype macros from system.h.  Cast ctype arguments to
	unsigned char when necessary.
	(last_token, RETURN_TOKEN): Hide definition.
	(push_back): Remove unused function.
	(readstring): Change variable `i' to unsigned.
	(yywrap): Remove unused variable `node'.
	* loop.c: Include system.h and toplev.h.  Remove redundant
	prototypes.
	(chill_unsigned_type): Hide prototype and definition.
	(begin_loop_scope): Remove unused variable `firstp'.
	(nonvalue_begin_loop_scope): Likewise.
	* parse.c: Include system.h and toplev.h.  Remove redundant
	prototypes.
	(quasi_signal): Hide.
	(PEEK_TOKEN): Change return type to `enum terminal'.
	(parse_mode_definition_statement): Remove unused variable `names'.
	(parse_formpar): Remove unused parameter `in_spec_module'.  All
	callers changed.
	(parse_formparlist): Likewise.
	(parse_processpar): Remove unused variable `parms'.
	(parse_definition): Add explicit braces to avoid ambiguous `else'.
	(parse_multi_dimension_case_action): Initialize variable
	`begin_test_label'.  Remove unused variable `new_test'.
	(parse_case_action): Remove unused variable `caseaction_flag'.
	(parse_asm_clobbers): Remove unused variable `expr'.
	(parse_delay_case_action): Initialize variable `label_cnt'.
	(parse_action): Make function static.
	(parse_tuple_element): Remove unused variable `list'.
	(parse_primval): Add default case in switch.
	(parse_variant_alternative): Remove unused variables `x' and
	`variant_fields'.
	* satisfy.c: Include system.h and toplev.h.  Remove redundant
	prototypes.
	* tasking.c Include system.h and toplev.h.  Remove redundant
	prototypes.
	(data_name): Hide.
	(get_struct_variable_name): Likewise.
	(validate_process_parameters): Mark parameter `parms' with
	ATTRIBUTE_UNUSED.
	(build_start_process): Initialize variable `tuple'.
	(build_receive_buffer_case_end): Remove unused variable `buffer_ptr'.
	* timing.c: Include system.h and toplev.h.
	(build_after_timeout_start): Remove unused variable `goto_where'.
	* tree.c: Include system.h and toplev.h.  Remove redundant
	prototypes.
	* typeck.c: Include system.h and toplev.h.  Remove redundant
	prototypes.
	(extract_constant_from_buffer): Make function static.  Add
 	explicit braces to avoid ambiguous `else'.
	(expand_constant_to_buffer): Likewise.
	(build_chill_slice): remove unused variable `is_static'.
	(chill_compatible): Add explicit braces to avoid ambiguous `else'.
	(apply_chill_array_layout): Remove unused variable `offset'.
	(smash_dummy_type): Remove unused variable `save_lang_specific'.
	(initializer_constant_valid_p): Add default case in switch.

From-SVN: r22493
1998-09-20 06:43:23 +00:00
Manfred Hollstein
9a8a366668 Makefile.in: Add dummy targets "info", "install-info", "clean-info" and "dvi".
�
	* Makefile.in: Add dummy targets "info", "install-info", "clean-info"
	and "dvi".

From-SVN: r22492
1998-09-20 04:34:06 +00:00
Jeff Law
221f50c66f Daily bump.
From-SVN: r22491
1998-09-19 18:45:01 -06:00
Richard Henderson
e67afd1ee0 * config.sub: Fix typo in last change.
From-SVN: r22490
1998-09-19 17:13:42 -07:00
Richard Henderson
f5c9764010 combine.c (distribute_notes): If an insn is a cc0 user, only delete it if we can also delete the cc0 setter.
* combine.c (distribute_notes): If an insn is a cc0 user, only
        delete it if we can also delete the cc0 setter.

From-SVN: r22489
1998-09-19 17:01:31 -07:00
Michael Tiemann
a58bd5080a fold-const.c (fold): Fix typo in COND_EXPR handling code.
* fold-const.c (fold): Fix typo in COND_EXPR handling code.
        (invert_truthvalue): Enable truthvalue inversion for
        floating-point operands if -ffast-math.

From-SVN: r22488
1998-09-19 17:27:02 -06:00
Melissa O'Neill
750930c1f8 configure.in: Disable collect2 for nextstep.
* configure.in: Disable collect2 for nextstep.  Instead use
        crtbegin/crtend.
        * configure: Rebuilt.
        * config/nextstep.h (STARTFILE_SPEC): Add crtbegin.
        (ENDFILE_SPEC): Define.
        (OBJECT_FORMAT_MACHO): Define.
        (EH_FRAME_SECTION_ASM_OP): Define.
        * crtstuff.c: Handle MACHO.

From-SVN: r22487
1998-09-19 17:01:43 -06:00
Robert Lipe
655d03a858 * config/i386/sco5.h (TARGET_MEM_FUNCTIONS): Define.
From-SVN: r22486
1998-09-19 22:25:53 +00:00
Torbjorn Granlund
b567319fc3 fp-bit.c (pack_d): Do not clear SIGN when fraction is 0.
* fp-bit.c (pack_d): Do not clear SIGN when fraction is 0.
        (_fpadd_parts): Get sign right for 0.

From-SVN: r22485
1998-09-19 15:44:10 -06:00
Jeff Law
1553cb7a66 Fix typo.
From-SVN: r22484
1998-09-19 15:29:07 -06:00
Michael Hayes
9949a9f27a varargs.h: Add support for C4x target.
* ginclude/varargs.h: Add support for C4x target.
        * ginclude/stdargs.h: Likewise.

From-SVN: r22483
1998-09-19 15:27:09 -06:00
Michael Hayes
b9d6c60d55 config.sub: Add support for C4x target.
* config.sub: Add support for C4x target.
	* configure.in: Likewise.

From-SVN: r22482
1998-09-19 15:26:17 -06:00
Michael Hayes
8e44ac71fd config.sub: Add support for C4x target.
�
	* config.sub: Add support for C4x target.
	* configure.in: Likewise.

From-SVN: r22481
1998-09-19 15:26:14 -06:00
Alexandre Oliva
ec9c05e3ec removed XFAIL mark; it will be back in a few weeks if the failure remains
From-SVN: r22480
1998-09-19 18:30:30 +00:00
Richard Henderson
3fe5612d61 alpha.c (alpha_return_addr): SET should be VOIDmode.
* alpha.c (alpha_return_addr): SET should be VOIDmode.
        (alpha_emit_set_long_const): Rewrite to be callable from reload
        and 32-bit hosts.
        (alpha_expand_epilogue): Update for alpha_emit_set_long_const.
        * alpha.md (movdi): Likewise.

From-SVN: r22479
1998-09-19 05:14:38 -07:00
Richard Earnshaw
9c8cc54f26 arm.c (bad_signed_byte_operand): Check both arms of a sum in a memory address.
* arm.c (bad_signed_byte_operand): Check both arms of a sum in
a memory address.
* arm.md (splits for *extendqihi_insn and *extendqisi_insn): Handle
memory addresses that are not in standard canonical form.

From-SVN: r22478
1998-09-19 07:57:44 +00:00
Richard Earnshaw
332072dbd1 arm.c (add_constant): New parameter address_only, change caller.
* arm.c (add_constant): New parameter address_only, change caller.
Set it non-zero if taking the address of an item in the pool.
(arm_reorg): Handle cases where we need the address of an item in
the pool.

From-SVN: r22477
1998-09-19 07:46:45 +00:00
Jeff Law
e9904c1772 Daily bump.
From-SVN: r22476
1998-09-18 18:45:01 -06:00
Michael Hayes
cb0ca2844b README.C4X: New file with information about the c4x ports.
* README.C4X: New file with information about the c4x ports.
        * ginclude/va-c4x.h: New file for c4x varargs support.
        * config/c4x: New directory with c4x port files.

From-SVN: r22475
1998-09-18 18:03:07 -06:00
Jeff Law
289c9aa3c7 Minor tweak.
From-SVN: r22474
1998-09-18 17:13:48 -06:00
Jeff Law
0a6401c411 reload.c (find_reloads): Do not replace a pseudo with (MEM (reg_equiv_addr)) in the initializing insn...
P
        * reload.c (find_reloads): Do not replace a pseudo with
        (MEM (reg_equiv_addr)) in the initializing insn for the
        pseudo.

From-SVN: r22473
1998-09-18 15:54:39 -06:00