platform/upstream/gcc.git
25 years agoAdd myself as web pages maintainer; remove myself from "Write After
Gerald Pfeifer [Tue, 22 Sep 1998 08:51:52 +0000 (08:51 +0000)]
Add myself as web pages maintainer; remove myself from "Write After
Approval".

From-SVN: r22548

25 years agodescribe changes
Bruce Korb [Tue, 22 Sep 1998 07:31:48 +0000 (07:31 +0000)]
describe changes

From-SVN: r22547

25 years agoAdd the fixinc generated files to the touch list
Bruce Korb [Tue, 22 Sep 1998 07:28:05 +0000 (07:28 +0000)]
Add the fixinc generated files to the touch list

From-SVN: r22546

25 years agoCommit updates generated from def/tpl files
Bruce Korb [Tue, 22 Sep 1998 07:23:33 +0000 (07:23 +0000)]
Commit updates generated from def/tpl files

From-SVN: r22545

25 years agoSyntax error in sed script, combine '//' fixes
Bruce Korb [Tue, 22 Sep 1998 07:22:00 +0000 (07:22 +0000)]
Syntax error in sed script, combine '//' fixes

From-SVN: r22544

25 years agoremove -p from /bin/sh script
Bruce Korb [Tue, 22 Sep 1998 07:21:14 +0000 (07:21 +0000)]
remove -p from /bin/sh script

From-SVN: r22543

25 years agoDaily bump.
Jeff Law [Tue, 22 Sep 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22542

25 years agoForgot to commit.
Jeff Law [Tue, 22 Sep 1998 00:19:44 +0000 (18:19 -0600)]
Forgot to commit.

From-SVN: r22541

25 years agoBump for snapshot
Jeffrey A Law [Mon, 21 Sep 1998 23:40:42 +0000 (17:40 -0600)]
Bump for snapshot

From-SVN: r22539

25 years agoconfigure.in: This is GNU CHILL, not GNU Fortran.
Ben Elliston [Mon, 21 Sep 1998 23:14:17 +0000 (23:14 +0000)]
configure.in: This is GNU CHILL, not GNU Fortran.

1998-09-22  Ben Elliston  <bje@cygnus.com>
        * configure.in: This is GNU CHILL, not GNU Fortran.

From-SVN: r22538

25 years agoBump for snapshot
Jeffrey A Law [Mon, 21 Sep 1998 22:31:19 +0000 (16:31 -0600)]
Bump for snapshot

From-SVN: r22537

25 years agoencoding.c (TREE_TYPE, ARRAY_TYPE): Define.
Ovidiu Predescu [Mon, 21 Sep 1998 22:28:51 +0000 (22:28 +0000)]
encoding.c (TREE_TYPE, ARRAY_TYPE): Define.

        * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
        (get_inner_array_type): Define.

From-SVN: r22536

25 years agoconfigure.in: Recognize i[34567]86-*-openbsd* and handle it like NetBSD.
Jeffrey A Law [Mon, 21 Sep 1998 21:49:59 +0000 (21:49 +0000)]
configure.in: Recognize i[34567]86-*-openbsd* and handle it like NetBSD.

        * configure.in: Recognize i[34567]86-*-openbsd* and handle it like
        NetBSD.

From-SVN: r22535

25 years ago* Revert this patch.
Jeffrey A Law [Mon, 21 Sep 1998 21:06:53 +0000 (21:06 +0000)]
* Revert this patch.

        * reload.c (find_reloads): Do not replace a pseudo with
        (MEM (reg_equiv_addr)) in the initializing insn for the
        pseudo.

From-SVN: r22534

25 years ago* final.c (final_scan_insn): Disable tracking CC across branches.
John Carr [Mon, 21 Sep 1998 17:21:44 +0000 (17:21 +0000)]
* final.c (final_scan_insn): Disable tracking CC across branches.

From-SVN: r22533

25 years agoexpr.h (eh_rtime_match_libfunc): New extern declaration.
Andrew MacLeod [Mon, 21 Sep 1998 14:23:16 +0000 (14:23 +0000)]
expr.h (eh_rtime_match_libfunc): New extern declaration.

Mon Sep 21 17:15:26 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
* expr.h (eh_rtime_match_libfunc): New extern declaration.
* optabs.c (init_optabs): Set eh_rtime_match_libfunc.
* except.c (start_catch_handler): Use eh_rtime_match_libfunc.
* libgcc2.c (__eh_rtime_match): Always return 0 if the matcher is
NULL. Only include <stdio.h> if inhibit_libc is not defined.

From-SVN: r22532

25 years agotweak
Jason Merrill [Mon, 21 Sep 1998 14:11:52 +0000 (10:11 -0400)]
tweak

From-SVN: r22531

25 years agotoplev.c (rest_of_compilation): Skip compiling anything with DECL_EXTERNAL set...
Jason Merrill [Mon, 21 Sep 1998 14:11:35 +0000 (10:11 -0400)]
toplev.c (rest_of_compilation): Skip compiling anything with DECL_EXTERNAL set...

* toplev.c (rest_of_compilation): Skip compiling anything with
DECL_EXTERNAL set, not just if it has DECL_INLINE as well.

From-SVN: r22530

25 years agoFix for g++ failure reported by Brendan.
Jim Wilson [Mon, 21 Sep 1998 13:59:47 +0000 (13:59 +0000)]
Fix for g++ failure reported by Brendan.

* flow.c (find_basic_blocks): Delete check for in_libcall_block when
prev_code is a CALL_INSN.  Change check for REG_RETVAL note to
use in_libcall_block.
(find_basic_blocks_1): Delete check for in_libcall_block when prev_code
is a CALL_INSN.  If CALL_INSN and in_libcall_block, then change code
to INSN.

From-SVN: r22529

25 years agomethod.c (hack_identifier): Finding multiple members is always an error.
Martin v. Löwis [Mon, 21 Sep 1998 13:34:10 +0000 (13:34 +0000)]
method.c (hack_identifier): Finding multiple members is always an error.

1998-09-20  Martin von L�wis  <loewis@informatik.hu-berlin.de>
* method.c (hack_identifier): Finding multiple members is always
an error.

From-SVN: r22528

25 years agoMake-lang.in (c++-filt): Link libiberty.a after cxxmain.o.
Per Bothner [Mon, 21 Sep 1998 13:12:10 +0000 (13:12 +0000)]
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

25 years agoi386.h: (TARGET_SWITCHES) Improve doc for align-double.
Robert Lipe [Mon, 21 Sep 1998 12:03:56 +0000 (12:03 +0000)]
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

25 years agoVersion.c: Update.
Dave Love [Mon, 21 Sep 1998 11:10:01 +0000 (11:10 +0000)]
Version.c: Update.

1998-09-21  Dave Love  <d.love@dl.ac.uk>
* libI77/Version.c: Update.

From-SVN: r22521

25 years agoUpdate.
Dave Love [Mon, 21 Sep 1998 11:08:06 +0000 (11:08 +0000)]
Update.

From-SVN: r22520

25 years agoMakefile.in (distclean, [...]): Add multilib support.
Robert Lipe [Mon, 21 Sep 1998 10:34:28 +0000 (10:34 +0000)]
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

25 years agoBump for snapshot
Jeffrey A Law [Mon, 21 Sep 1998 09:27:22 +0000 (03:27 -0600)]
Bump for snapshot

From-SVN: r22518

25 years ago(DBX_DEBUGGING_INFO): Added.
Stan Cox [Mon, 21 Sep 1998 07:33:21 +0000 (07:33 +0000)]
(DBX_DEBUGGING_INFO): Added.

From-SVN: r22517

25 years agoi386.h: (TARGET_SWITCHES) Add description fields for flags documented in install...
Robert Lipe [Mon, 21 Sep 1998 07:17:52 +0000 (07:17 +0000)]
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

25 years agoBump for snapshot
Jeffrey A Law [Mon, 21 Sep 1998 01:39:06 +0000 (19:39 -0600)]
Bump for snapshot

From-SVN: r22515

25 years ago1998-09-21 Ben Elliston <bje@cygnus.com>
Ben Elliston [Mon, 21 Sep 1998 01:22:07 +0000 (01:22 +0000)]
1998-09-21  Ben Elliston  <bje@cygnus.com>
        * New directory.  Moved files from ../gcc/objc.

From-SVN: r22514

25 years agoUse GET_ENV_PATH_LIST for GCC_EXEC_PREFIX too. My goof, not Felix's.
Jeff Law [Mon, 21 Sep 1998 01:00:21 +0000 (19:00 -0600)]
Use GET_ENV_PATH_LIST for GCC_EXEC_PREFIX too.  My goof, not Felix's.

From-SVN: r22513

25 years ago* lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().
Felix Lee [Mon, 21 Sep 1998 00:57:11 +0000 (00:57 +0000)]
* lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().

From-SVN: r22512

25 years agoc-lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().
Felix Lee [Mon, 21 Sep 1998 00:56:50 +0000 (00:56 +0000)]
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

25 years agoDaily bump.
Jeff Law [Mon, 21 Sep 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22510

25 years agoRebuilt after recent changes.
Jeff Law [Mon, 21 Sep 1998 00:09:06 +0000 (18:09 -0600)]
Rebuilt after recent changes.

From-SVN: r22509

25 years agoMakefile.in (LIBS): Link in libiberty.a.
Per Bothner [Sun, 20 Sep 1998 23:54:10 +0000 (23:54 +0000)]
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

25 years agoreload1.c (emit_reload_insns): Accept a new arg for the bb.
Richard Henderson [Sun, 20 Sep 1998 23:29:09 +0000 (16:29 -0700)]
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

25 years agoconfigure.in (i*86-*-sysv5*): Use fixinc.svr4 to patch byteorder problems.
Robert Lipe [Sun, 20 Sep 1998 20:58:39 +0000 (20:58 +0000)]
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

25 years agoalpha.c (alpha_sr_alias_set): New variable.
Richard Henderson [Sun, 20 Sep 1998 19:11:13 +0000 (12:11 -0700)]
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

25 years agotree.c (new_alias_set): New function.
Richard Henderson [Sun, 20 Sep 1998 19:02:58 +0000 (12:02 -0700)]
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

25 years agofold-const.c (fold): Yet another COND_EXPR bug...
Richard Henderson [Sun, 20 Sep 1998 12:37:58 +0000 (05:37 -0700)]
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

25 years ago* class.c (maybe_warn_about_overly_private_class): Reformat.
Mark Mitchell [Sun, 20 Sep 1998 12:30:50 +0000 (12:30 +0000)]
* class.c (maybe_warn_about_overly_private_class): Reformat.

From-SVN: r22502

25 years agoNew test case
Martin v. Löwis [Sun, 20 Sep 1998 12:13:07 +0000 (12:13 +0000)]
New test case

From-SVN: r22501

25 years ago* Makefile.in (bootstrap): Pass TARGET_FLAGS_TO_PASS to `make all'.
Mark Mitchell [Sun, 20 Sep 1998 11:21:12 +0000 (11:21 +0000)]
* Makefile.in (bootstrap): Pass TARGET_FLAGS_TO_PASS to `make all'.

From-SVN: r22500

25 years ago* fold-const.c (fold): Fix another type in COND_EXPR handling code.
Jeffrey A Law [Sun, 20 Sep 1998 11:16:12 +0000 (11:16 +0000)]
* fold-const.c (fold): Fix another type in COND_EXPR handling code.

From-SVN: r22499

25 years agoconfigure.in: Add support for c4x targets.
Michael Hayes [Sun, 20 Sep 1998 11:12:53 +0000 (11:12 +0000)]
configure.in: Add support for c4x targets.

        * configure.in: Add support for c4x targets.
        * configure: Rebuilt.

From-SVN: r22498

25 years agosfe.c (e_wdfe): Set f__init to avoid spurious recursive i/o error from formatted...
Dave Love [Sun, 20 Sep 1998 10:53:05 +0000 (10:53 +0000)]
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

25 years agoSet f__init to avoid spurious recursive i/o error from formatted
Dave Love [Sun, 20 Sep 1998 10:51:55 +0000 (10:51 +0000)]
Set f__init to avoid spurious recursive i/o error from formatted
direct i/o.

From-SVN: r22495

25 years agoexcept.c: Include system.h.
Robert Lipe [Sun, 20 Sep 1998 09:06:51 +0000 (09:06 +0000)]
except.c: Include system.h.

* except.c: Include system.h.
* Makefile.in (except.o): Depend on system.h.

From-SVN: r22494

25 years agoWarning fixes:
Kaveh R. Ghazi [Sun, 20 Sep 1998 06:43:23 +0000 (06:43 +0000)]
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

25 years agoMakefile.in: Add dummy targets "info", "install-info", "clean-info" and "dvi".
Manfred Hollstein [Sun, 20 Sep 1998 04:34:06 +0000 (04:34 +0000)]
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

25 years agoDaily bump.
Jeff Law [Sun, 20 Sep 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22491

25 years ago* config.sub: Fix typo in last change.
Richard Henderson [Sun, 20 Sep 1998 00:13:42 +0000 (17:13 -0700)]
* config.sub: Fix typo in last change.

From-SVN: r22490

25 years agocombine.c (distribute_notes): If an insn is a cc0 user, only delete it if we can...
Richard Henderson [Sun, 20 Sep 1998 00:01:31 +0000 (17:01 -0700)]
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

25 years agofold-const.c (fold): Fix typo in COND_EXPR handling code.
Michael Tiemann [Sat, 19 Sep 1998 23:27:02 +0000 (23:27 +0000)]
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

25 years agoconfigure.in: Disable collect2 for nextstep.
Melissa O'Neill [Sat, 19 Sep 1998 23:01:43 +0000 (23:01 +0000)]
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

25 years ago* config/i386/sco5.h (TARGET_MEM_FUNCTIONS): Define.
Robert Lipe [Sat, 19 Sep 1998 22:25:53 +0000 (22:25 +0000)]
* config/i386/sco5.h (TARGET_MEM_FUNCTIONS):  Define.

From-SVN: r22486

25 years agofp-bit.c (pack_d): Do not clear SIGN when fraction is 0.
Torbjorn Granlund [Sat, 19 Sep 1998 21:44:10 +0000 (23:44 +0200)]
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

25 years agoFix typo.
Jeff Law [Sat, 19 Sep 1998 21:29:07 +0000 (15:29 -0600)]
Fix typo.

From-SVN: r22484

25 years agovarargs.h: Add support for C4x target.
Michael Hayes [Sat, 19 Sep 1998 21:27:09 +0000 (21:27 +0000)]
varargs.h: Add support for C4x target.

        * ginclude/varargs.h: Add support for C4x target.
        * ginclude/stdargs.h: Likewise.

From-SVN: r22483

25 years agoconfig.sub: Add support for C4x target.
Michael Hayes [Sat, 19 Sep 1998 21:26:17 +0000 (15:26 -0600)]
config.sub: Add support for C4x target.

* config.sub: Add support for C4x target.
* configure.in: Likewise.

From-SVN: r22482

25 years agoconfig.sub: Add support for C4x target.
Michael Hayes [Sat, 19 Sep 1998 21:26:14 +0000 (15:26 -0600)]
config.sub: Add support for C4x target.


* config.sub: Add support for C4x target.
* configure.in: Likewise.

From-SVN: r22481

25 years agoremoved XFAIL mark; it will be back in a few weeks if the failure remains
Alexandre Oliva [Sat, 19 Sep 1998 18:30:30 +0000 (18:30 +0000)]
removed XFAIL mark; it will be back in a few weeks if the failure remains

From-SVN: r22480

25 years agoalpha.c (alpha_return_addr): SET should be VOIDmode.
Richard Henderson [Sat, 19 Sep 1998 12:14:38 +0000 (05:14 -0700)]
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

25 years agoarm.c (bad_signed_byte_operand): Check both arms of a sum in a memory address.
Richard Earnshaw [Sat, 19 Sep 1998 07:57:44 +0000 (07:57 +0000)]
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

25 years agoarm.c (add_constant): New parameter address_only, change caller.
Richard Earnshaw [Sat, 19 Sep 1998 07:46:45 +0000 (07:46 +0000)]
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

25 years agoDaily bump.
Jeff Law [Sat, 19 Sep 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22476

25 years agoREADME.C4X: New file with information about the c4x ports.
Michael Hayes [Sat, 19 Sep 1998 00:03:07 +0000 (00:03 +0000)]
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

25 years agoMinor tweak.
Jeff Law [Fri, 18 Sep 1998 23:13:48 +0000 (17:13 -0600)]
Minor tweak.

From-SVN: r22474

25 years agoreload.c (find_reloads): Do not replace a pseudo with (MEM (reg_equiv_addr)) in the...
Jeff Law [Fri, 18 Sep 1998 21:54:39 +0000 (15:54 -0600)]
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

25 years agoreload.c (find_reloads): Do not replace a pseudo with (MEM (reg_equiv_addr)) in the...
Jeff Law [Fri, 18 Sep 1998 21:54:37 +0000 (15:54 -0600)]
reload.c (find_reloads): Do not replace a pseudo with (MEM (reg_equiv_addr)) in the initializing insn...


        * reload.c (find_reloads): Do not replace a pseudo with
        (MEM (reg_equiv_addr)) in the initializing insn for the
        pseudo.

From-SVN: r22472

25 years agotoplev.c (rest_of_compilation): Set bct_p on second call to loop_optimize.
David Edelsohn [Fri, 18 Sep 1998 20:55:00 +0000 (20:55 +0000)]
toplev.c (rest_of_compilation): Set bct_p on second call to loop_optimize.

        * toplev.c (rest_of_compilation): Set bct_p on second call to
        loop_optimize.
        * loop.c (loop_optimize, scan_loop, strength_reduce): New argument
        bct_p.
        (strength_reduce): Only call analyze_loop_iterations and
        insert_bct if bct_p set.
        (check_dbra_loop): Fix typo.
        (insert_bct): Use word_mode instead of SImode.
        (instrument_loop_bct): Likewise.  Do not delete iteration count
        condition code generation insn.  Initialize iteration count before
        loop start.
        * rtl.h (loop_optimize): Update prototype.
        * ginclude/va-ppc.h (va_arg): longlong types in overflow area are
        not doubleword aligned.
        * rs6000.c (optimization_options): New function.
        (secondary_reload_class): Only call true_regnum for PSEUDO_REGs.
        * rs6000.h (OPTIMIZATION_OPTIONS): Define.
        (REG_ALLOC_ORDER): Allocate highest numbered condition regsiters
        first; cr1 can be used for FP record condition insns.

From-SVN: r22471

25 years agonested2.C: different virtual base classes that happen to have the same base name...
Alexandre Oliva [Fri, 18 Sep 1998 18:33:17 +0000 (18:33 +0000)]
nested2.C: different virtual base classes that happen to have the same base name...

* g++.old-deja/g++.other/nested2.C: different virtual base classes
  that happen to have the same base name, but in different scopes,
  are incorrectly rejected

From-SVN: r22470

25 years agog77.texi: Various additions and some small fixes.
Dave Love [Fri, 18 Sep 1998 15:45:43 +0000 (15:45 +0000)]
g77.texi: Various additions and some small fixes.

1998-09-18  Dave Love  <d.love@dl.ac.uk>
* g77.texi: Various additions and some small fixes.

From-SVN: r22469

25 years agoVarious additions and some small fixes.
Dave Love [Fri, 18 Sep 1998 15:44:51 +0000 (15:44 +0000)]
Various additions and some small fixes.

From-SVN: r22468

25 years agoFix for PR1654 - implement "movstrsi" pattern to copy simple blocks of memory.
Nick Clifton [Fri, 18 Sep 1998 10:27:46 +0000 (10:27 +0000)]
Fix for PR1654 - implement "movstrsi" pattern to copy simple blocks of memory.

From-SVN: r22467

25 years agoDaily bump.
Jeff Law [Fri, 18 Sep 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22466

25 years ago* Makefile.in (jcf-dump, jvgenmain): Link in memmove.o too.
Jeffrey A Law [Thu, 17 Sep 1998 18:46:24 +0000 (18:46 +0000)]
* Makefile.in (jcf-dump, jvgenmain): Link in memmove.o too.

From-SVN: r22465

25 years ago* Makefile.in ($(PARSE_H)): Removed target.
Tom Tromey [Thu, 17 Sep 1998 15:31:30 +0000 (15:31 +0000)]
* Makefile.in ($(PARSE_H)): Removed target.

From-SVN: r22463

25 years ago[multiple changes]
Andrew MacLeod [Thu, 17 Sep 1998 13:55:51 +0000 (13:55 +0000)]
[multiple changes]

Thu Sep 17 16:42:16 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
        * except.c (start_catch_handler): Issue 'fatal' instead of 'error' and
        re-align some code.
        * libgcc2.c (__eh_rtime_match): fprintf a runtime error. Use <stdio.h>.
1998-09-17  Andrew MacLeod  <amacleod@cygnus.com>
        * exception.cc (__cplus_type_matcher): realign some code.

From-SVN: r22462

25 years agoMove documentation files from egcs/gcc/objc.
Ben Elliston [Thu, 17 Sep 1998 08:04:30 +0000 (18:04 +1000)]
Move documentation files from egcs/gcc/objc.

From-SVN: r22461

25 years ago* regmove.c (copy_src_to_dest): Check that modes match.
J"orn Rennecke [Thu, 17 Sep 1998 04:27:27 +0000 (04:27 +0000)]
* regmove.c (copy_src_to_dest): Check that modes match.

From-SVN: r22460

25 years agoconfig-lang.in: Do not output the name of the selected thread file when building...
Ben Elliston [Thu, 17 Sep 1998 01:19:28 +0000 (01:19 +0000)]
config-lang.in: Do not output the name of the selected thread file when building the front-end.

Sun Sep 13 08:13:39 1998  Ben Elliston  <bje@cygnus.com>
* objc/config-lang.in: Do not output the name of the selected
thread file when building the front-end.  The Makefile for the
runtime library will do this.
* objc/Make-lang.in: Do not build the runtime library or install
the Objective C header files.  The Makefile for the runtime
library will do this.
* objc/Makefile.in (all.indirect): Only build the front-end.
(compiler): Rename to `frontend'.
(obj-runtime): Remove target.
(copy-headers): Likewise.
(clean): No need to remove `libobjc.a' any longer.

From-SVN: r22459

25 years agoMakefile.in (JAVA_OBJS): Add memmove.o
Jeffrey A Law [Thu, 17 Sep 1998 00:58:52 +0000 (00:58 +0000)]
Makefile.in (JAVA_OBJS): Add memmove.o

        * Makefile.in (JAVA_OBJS): Add memmove.o
        (memmove.o): New target & rules.

From-SVN: r22458

25 years agoDaily bump.
Jeff Law [Thu, 17 Sep 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22457

25 years agoMakefile.in ($(ARLINK), $(SHLINK)): Don't rely on 'ln -f'.
H.J. Lu [Thu, 17 Sep 1998 00:30:53 +0000 (00:30 +0000)]
Makefile.in ($(ARLINK), $(SHLINK)): Don't rely on 'ln -f'.

        * Makefile.in ($(ARLINK), $(SHLINK)): Don't rely on 'ln -f'.
        * Makefile.in (install): Don't rely on 'ln -f'.

From-SVN: r22456

25 years ago* config/i386/sco5.h (SUPPORTS_WEAK): True only if targeting ELF.
Robert Lipe [Wed, 16 Sep 1998 20:13:19 +0000 (20:13 +0000)]
* config/i386/sco5.h (SUPPORTS_WEAK): True only if targeting ELF.

From-SVN: r22455

25 years agoi386.h (PREFERRED_RELOAD_CLASS): Respect an existing class narrower than FLOAT_REGS.
Richard Henderson [Wed, 16 Sep 1998 15:26:22 +0000 (08:26 -0700)]
i386.h (PREFERRED_RELOAD_CLASS): Respect an existing class narrower than FLOAT_REGS.

        * i386.h (PREFERRED_RELOAD_CLASS): Respect an existing class
        narrower than FLOAT_REGS.

From-SVN: r22454

25 years agocpplib.c: removed OLD_GPLUSPLUS_INCLUDE_DIR
Alexandre Oliva [Wed, 16 Sep 1998 13:51:44 +0000 (13:51 +0000)]
cpplib.c: removed OLD_GPLUSPLUS_INCLUDE_DIR

* cpplib.c: removed OLD_GPLUSPLUS_INCLUDE_DIR
* cccp.c: ditto
* Makefile.in (old_gxx_include_dir): removed

From-SVN: r22453

25 years ago* egcs_update: Additionally touch gcc/java/parse.[ch].
Kaveh R. Ghazi [Wed, 16 Sep 1998 13:16:27 +0000 (13:16 +0000)]
* egcs_update: Additionally touch gcc/java/parse.[ch].

From-SVN: r22452

25 years agoupdate definition/use of HANDLE_PRAGMA to match new specification.
Nick Clifton [Wed, 16 Sep 1998 12:31:24 +0000 (12:31 +0000)]
update definition/use of HANDLE_PRAGMA to match new specification.

From-SVN: r22451

25 years agoMake-lang.in (tinfo.o): Use CXXFLAGS when compiling.
Mark Mitchell [Wed, 16 Sep 1998 10:40:40 +0000 (10:40 +0000)]
Make-lang.in (tinfo.o): Use CXXFLAGS when compiling.

* Make-lang.in (tinfo.o): Use CXXFLAGS when compiling.
(tinfo2.o): Likewise.
(exception.o): Likewise.
(new.o): Likewise.
(opnew.o): Likewise.
(opnewnt.o): Likewise.
(opvnew.o): Likewise.
(opvnewnt.o): Likewise.
(opdel.o): Likewise.
(opdelnt.o): Likewise.
(opvdel.o): Likewise.
(opvdelnt.o): Likewise.

From-SVN: r22450

25 years agogen-protos.c (parse_fn_proto): Cast argument of ISALNUM to `unsigned char'.
Kaveh R. Ghazi [Wed, 16 Sep 1998 09:46:37 +0000 (09:46 +0000)]
gen-protos.c (parse_fn_proto): Cast argument of ISALNUM to `unsigned char'.

        * gen-protos.c (parse_fn_proto): Cast argument of ISALNUM to
        `unsigned char'.
        (main): Mark parameter `argc' with ATTRIBUTE_UNUSED.
        When generating output, initialize missing struct member to zero.

From-SVN: r22449

25 years agoregmove.c (copy_src_to_dest): Don't copy if that requires (a) new register(s).
J"orn Rennecke [Wed, 16 Sep 1998 06:49:57 +0000 (06:49 +0000)]
regmove.c (copy_src_to_dest): Don't copy if that requires (a) new register(s).

* regmove.c (copy_src_to_dest): Don't copy if that requires
(a) new register(s).

From-SVN: r22448

25 years agoDaily bump.
Jeff Law [Wed, 16 Sep 1998 00:45:03 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22447

25 years agoglobal.c (reg_allocno): Now static.
Bernd Schmidt [Wed, 16 Sep 1998 00:31:22 +0000 (00:31 +0000)]
global.c (reg_allocno): Now static.

        * global.c (reg_allocno): Now static.
        * reload1.c (reg_allocno): Delete declaration.
        (order_regs_for_reload): Take no arguments.  Don't treat regs
        allocated by global differently than those allocated by local-alloc.

From-SVN: r22446

25 years agom68k.c (output_function_prologue): Reverse NO_ADDSUB_Q condition, fix format strings.
Kamil Iskra [Wed, 16 Sep 1998 00:13:43 +0000 (02:13 +0200)]
m68k.c (output_function_prologue): Reverse NO_ADDSUB_Q condition, fix format strings.

        * m68k/m68k.c (output_function_prologue): Reverse NO_ADDSUB_Q
        condition, fix format strings.
        (output_function_epilogue): Likewise.

From-SVN: r22445

25 years ago* m68k/m68k.c: Don't include <stdlib.h> directly.
Kamil Iskra [Wed, 16 Sep 1998 00:10:19 +0000 (02:10 +0200)]
* m68k/m68k.c: Don't include <stdlib.h> directly.

From-SVN: r22444

25 years ago* rs6000.c (output_epilogue): Handle Chill.
Jeffrey A Law [Wed, 16 Sep 1998 00:01:28 +0000 (00:01 +0000)]
* rs6000.c (output_epilogue): Handle Chill.

From-SVN: r22443

25 years agoFix out of date comments after previous change.
Jeff Law [Tue, 15 Sep 1998 23:43:50 +0000 (17:43 -0600)]
Fix out of date comments after previous change.

From-SVN: r22442