gcc.git
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

26 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

26 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

26 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

26 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

26 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

26 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

26 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

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

From-SVN: r22447

26 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

26 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

26 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

26 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

26 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

26 years agogcse.c: New definition NEVER_SET for reg_first_set...
Geoff Keating [Tue, 15 Sep 1998 23:32:22 +0000 (23:32 +0000)]
gcse.c: New definition NEVER_SET for reg_first_set...

        * gcse.c: New definition NEVER_SET for reg_first_set, reg_last_set,
        mem_first_set, mem_last_set; because 0 can be a CUID.
        (oprs_unchanged_p): Use new definition.
        (record_last_reg_set_info): Likewise.
        (record_last_mem_set_info): Likewise.
        (compute_hash_table): Likewise.

From-SVN: r22441

26 years agomn10200.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
Jeffrey A Law [Tue, 15 Sep 1998 23:04:54 +0000 (23:04 +0000)]
mn10200.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.

        * mn10200.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
        * mn10300.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.

From-SVN: r22440

26 years agocombine.c (make_extraction): If no mode is specified for an operand of insv...
Jeffrey A Law [Tue, 15 Sep 1998 22:47:10 +0000 (22:47 +0000)]
combine.c (make_extraction): If no mode is specified for an operand of insv...

        * combine.c (make_extraction): If no mode is specified for
        an operand of insv, extv, or extzv, default it to word_mode.
        (simplify_comparison): Similarly.
        * expmed.c (store_bit_field): Similarly.
        (extract_bit_field): Similarly.
        * function.c (fixup_var_regs_1): Similarly.
        * recog.c (validate_replace_rtx_1): Similarly.
        * mips.md (extv, extzv, insv expanders): Default modes for most
        operands.  Handle TARGET_64BIT.
        (movdi_uld, movdi_usd): New patterns.

From-SVN: r22439

26 years agopa.c (emit_move_sequence): Do not replace a pseudo with its equivalent memory locatio...
Jeffrey A Law [Tue, 15 Sep 1998 22:01:08 +0000 (22:01 +0000)]
pa.c (emit_move_sequence): Do not replace a pseudo with its equivalent memory location unless...


        * pa.c (emit_move_sequence): Do not replace a pseudo with its
        equivalent memory location unless we have been provided a scratch
        register.  Similarly do not call find_replacement unless a
        scratch register has been provided.

From-SVN: r22438

26 years agoi386.h (PREFERRED_RELOAD_CLASS): For standard 387 constants, return FLOAT_REGS.
Bernd Schmidt [Tue, 15 Sep 1998 19:23:31 +0000 (19:23 +0000)]
i386.h (PREFERRED_RELOAD_CLASS): For standard 387 constants, return FLOAT_REGS.

        * i386.h (PREFERRED_RELOAD_CLASS): For standard 387 constants,
        return FLOAT_REGS.

From-SVN: r22437

26 years agotree.h (BUILT_IN_CALLER_RETURN_ADDRESS): Unused.
Richard Henderson [Tue, 15 Sep 1998 19:19:12 +0000 (12:19 -0700)]
tree.h (BUILT_IN_CALLER_RETURN_ADDRESS): Unused.

* tree.h (BUILT_IN_CALLER_RETURN_ADDRESS): Unused.  Kill.
(BUILT_IN_FP, BUILT_IN_SP, BUILT_IN_SET_RETURN_ADDR_REG): Kill.
(BUILT_IN_EH_STUB_OLD, BUILT_IN_EH_STUB, BUILT_IN_SET_EH_REGS): Kill.
(BUILT_IN_EH_RETURN, BUILT_IN_DWARF_CFA): New.
* c-decl.c (init_decl_processing): Update accordingly.
* expr.c (expand_builtin): Likewise.
* cp/decl.c (init_decl_processing): Likewise.
* rtl.h (global_rtl): Add cfa entry.
(virtual_cfa_rtx, VIRTUAL_CFA_REGNUM): New.
(LAST_VIRTUAL_REGISTER): Update.
* emit-rtl.c (global_rtl): Add cfa entry.
(init_emit): Initialize it.
* function.c (cfa_offset): New.
(instantiate_virtual_regs): Initialize it.
(instantiate_virtual_regs_1): Instantiate virtual_cfa_rtx.
(expand_function_end): Call expand_eh_return.
* tm.texi (ARG_POINTER_CFA_OFFSET): New.
* except.c (current_function_eh_stub_label): Kill.
(current_function_eh_old_stub_label): Likwise; update all references.
(expand_builtin_set_return_addr_reg): Kill.
(expand_builtin_eh_stub_old, expand_builtin_eh_stub): Kill.
(expand_builtin_set_eh_regs): Kill.
(eh_regs): Produce a third reg for the actual handler address.
(eh_return_context, eh_return_stack_adjust): New.
(eh_return_handler, eh_return_stub_label): New.
(init_eh_for_function): Initialize them.
(expand_builtin_eh_return, expand_eh_return): New.
* except.h: Update prototypes.
* flow.c (find_basic_blocks_1): Update references to the stub label.
* function.h (struct function): Kill stub label elements.
* libgcc2.c (in_reg_window): For REG_SAVED_REG, check that the
register number is one that would be in the previous window.
Provide a dummy definition for non-windowed targets.
(get_reg_addr): New function.
(get_reg, put_reg, copy_reg): Use it.
(__throw): Rely on in_reg_window, not INCOMING_REGNO.  Kill stub
generating code and use __builtin_eh_return.  Use __builtin_dwarf_cfa.
* alpha.c (alpha_eh_epilogue_sp_ofs): New.
(alpha_init_expanders): Initialize it.
(alpha_expand_epilogue): Use it.
* alpha.h: Declare it.
* alpha.md (eh_epilogue): New.
* m68h.h (ARG_POINTER_CFA_OFFSET): New.
* sparc.h (ARG_POINTER_CFA_OFFSET): New.

From-SVN: r22436

26 years agoarray1.C: Size array via arithmetic based on the native word size instead of an integ...
Richard Henderson [Tue, 15 Sep 1998 19:17:46 +0000 (12:17 -0700)]
array1.C: Size array via arithmetic based on the native word size instead of an integer...

        * g++.old-deja/g++.brendan/array1.C: Size array via arithmetic based
        on the native word size instead of an integer literal.

From-SVN: r22435

26 years agostatic2.C: invocation of static data member of type pointer-to-function denoted as...
Alexandre Oliva [Tue, 15 Sep 1998 17:05:28 +0000 (17:05 +0000)]
static2.C: invocation of static data member of type pointer-to-function denoted as...

* g++.old-deja/g++.other/static2.C: invocation of static data
  member of type pointer-to-function denoted as non-static member

From-SVN: r22434

26 years ago* call.c (build_field_call): handle static data members too
Alexandre Oliva [Tue, 15 Sep 1998 17:04:53 +0000 (17:04 +0000)]
* call.c (build_field_call): handle static data members too

From-SVN: r22433

26 years agoFix thinko
Michael Meissner [Tue, 15 Sep 1998 16:32:49 +0000 (16:32 +0000)]
Fix thinko

From-SVN: r22432

26 years agoAdd stack alignment descriptions to comments describing stack layouts.
Ken Raeburn [Tue, 15 Sep 1998 15:49:37 +0000 (15:49 +0000)]
Add stack alignment descriptions to comments describing stack layouts.

Also describe which layouts are used for EABI.

From-SVN: r22431

26 years agotypedef5.C: add some more tests involving checks involving function types and aliases
Alexandre Oliva [Tue, 15 Sep 1998 14:36:22 +0000 (14:36 +0000)]
typedef5.C: add some more tests involving checks involving function types and aliases

* g++.old-deja/g++.other/typedef5.C: add some more tests involving
checks involving function types and aliases

From-SVN: r22430

26 years agotypeck.c (comptypes): when comparing pointer types...
Alexandre Oliva [Tue, 15 Sep 1998 14:28:07 +0000 (14:28 +0000)]
typeck.c (comptypes): when comparing pointer types...

* typeck.c (comptypes): when comparing pointer types, check
whether referred types match even in strictest modes

From-SVN: r22429

26 years agotweak
Jason Merrill [Tue, 15 Sep 1998 13:43:59 +0000 (09:43 -0400)]
tweak

From-SVN: r22428

26 years agotweak
Jason Merrill [Tue, 15 Sep 1998 13:43:48 +0000 (09:43 -0400)]
tweak

From-SVN: r22427

26 years agocp-tree.h: Revert previous change.
Mark Mitchell [Tue, 15 Sep 1998 11:43:54 +0000 (11:43 +0000)]
cp-tree.h: Revert previous change.

* cp-tree.h: Revert previous change.
(finish_struct_methods): Remove declaration.
* class.c: Revert previous change.
(maybe_warn_about_overly_private_class): New function.
(finish_struct_methods): Declare here, and make static.  Remove
unnecessary parameters.  Tidy slightly.  Use
maybe_warn_about_overly_private_class.
(finish_struct_1): Adjust.  Remove check for private constructors,
now done elsewhere.
(finish_struct): Adjust.

From-SVN: r22426

26 years ago[multiple changes]
Andrew MacLeod [Tue, 15 Sep 1998 11:20:52 +0000 (11:20 +0000)]
[multiple changes]

Tue Sep 15 14:10:54 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
        * except.h (struct eh_entry): Add false_label field.
        (end_catch_handler): Add prototype.
        * except.c (push_eh_entry): Set false_label field to NULL_RTX.
        (start_catch_handler): When using old style exceptions, issue
        runtime typematch code before continuing with the handler.
        (end_catch_handler): New function, generates label after handler
        if needed by older style exceptions.
        (expand_start_all_catch): No need to check for new style exceptions.
        (output_exception_table_entry): Only output the first handler label
        for old style exceptions.
        * libgcc2.c (__eh_rtime_match): New routine to lump runtime matching
        mechanism into one function, if a runtime matcher is provided.
1998-09-15  Andrew MacLeod  <amacleod@cygnus.com>
        * cp/except.c (expand_start_catch_block): No need to check for new
        exception model.
        (process_start_catch_block_old): Deleted.
        (process_start_catch_block): Add call to start_decl_1().
        (expand_end_catch_block): Add call to end_catch_handler().
        * cp/exception.cc (__cplus_type_matcher): Only check the exception
        language if there is an exception table.

From-SVN: r22425

26 years ago[multiple changes]
Andrew MacLeod [Tue, 15 Sep 1998 11:03:03 +0000 (11:03 +0000)]
[multiple changes]

Tue Sep 15 13:53:59 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
* config/i960/i960.h (SLOW_BYTE_ACCESS): Change definition to 1.
1998-09-15  Andrew MacLeod  <amacleod@cygnus.com>
* cp/search.c (expand_indirect_vtbls_init): Mark temporary stack slots
as used to prevent conflicts with virtual function tables.

From-SVN: r22424

26 years ago* integrate.c (copy_decl_list): Fix typo.
Mark Mitchell [Tue, 15 Sep 1998 10:03:15 +0000 (10:03 +0000)]
* integrate.c (copy_decl_list): Fix typo.

From-SVN: r22423

26 years agosparc.md (movdf_const_intreg_sp32): Fix length attribute.
David S. Miller [Tue, 15 Sep 1998 05:26:00 +0000 (05:26 +0000)]
sparc.md (movdf_const_intreg_sp32): Fix length attribute.

* config/sparc/sparc.md (movdf_const_intreg_sp32): Fix length
attribute.

From-SVN: r22422

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

From-SVN: r22421

26 years agotypeck.c (build_chill_slice): Always use TYPE_DOMAIN to get the domain type of the...
Dave Brolley [Mon, 14 Sep 1998 14:55:10 +0000 (14:55 +0000)]
typeck.c (build_chill_slice): Always use TYPE_DOMAIN to get the domain type of the array.

Mon Sep 14 16:46:36 1998  Dave Brolley  <brolley@cygnus.com>
* typeck.c (build_chill_slice): Always use TYPE_DOMAIN to get the
domain type of the array.

From-SVN: r22420

26 years agoBump for snapshot
Jeffrey A Law [Mon, 14 Sep 1998 14:04:01 +0000 (08:04 -0600)]
Bump for snapshot

From-SVN: r22418

26 years agoexpr.c (build_chill_function_call): Remove redundant call to chill_convert_to_assignment
Dave Brolley [Mon, 14 Sep 1998 13:50:41 +0000 (13:50 +0000)]
expr.c (build_chill_function_call): Remove redundant call to chill_convert_to_assignment

Mon Sep 14 16:46:36 1998  Dave Brolley  <brolley@cygnus.com>
* expr.c (build_chill_function_call): Remove redundant call to
  chill_convert_to_assignment

From-SVN: r22417

26 years ago- update listing of rs6000-specific constraints
David Edelsohn [Mon, 14 Sep 1998 11:11:07 +0000 (07:11 -0400)]
- update listing of rs6000-specific constraints

From-SVN: r22416

26 years agocp-tree.h (lang_type): Add has_non_private_static_mem_fn.
Mark Mitchell [Mon, 14 Sep 1998 11:09:07 +0000 (11:09 +0000)]
cp-tree.h (lang_type): Add has_non_private_static_mem_fn.

* cp-tree.h (lang_type): Add has_non_private_static_mem_fn.
(CLASSTYPE_HAS_NON_PRIVATE_STATIC_MEM_FN): New macro, to access it.
* class.c (maybe_class_too_private_p): New function.
(finish_struct_methods): Use it.
(finish_struct_1): Likewise.
(finish_struct): Set CLASSTYPE_HAS_NON_PRIVATE_STATIC_MEM_FN if
appropriate.

From-SVN: r22415

26 years agopt.c (check_specialization_scope): Fix spelling error.
Mark Mitchell [Mon, 14 Sep 1998 11:05:47 +0000 (11:05 +0000)]
pt.c (check_specialization_scope): Fix spelling error.

* pt.c (check_specialization_scope): Fix spelling error.
(check_explicit_specialization): Remove code to handle explicit
specializations in class scope; they are now correctly diagnosed
as errors.

From-SVN: r22414

26 years agoBump for snapshot
Jeffrey A Law [Mon, 14 Sep 1998 10:34:00 +0000 (04:34 -0600)]
Bump for snapshot

From-SVN: r22413

26 years agoFix typos/thinkos in previous change.
Jeff Law [Mon, 14 Sep 1998 10:32:46 +0000 (04:32 -0600)]
Fix typos/thinkos in previous change.

From-SVN: r22412

26 years agoBump for snapshot
Jeffrey A Law [Mon, 14 Sep 1998 09:51:08 +0000 (03:51 -0600)]
Bump for snapshot

From-SVN: r22411

26 years agoMakefile.in: Add many missing dependencies.
Jeffrey A Law [Mon, 14 Sep 1998 09:42:24 +0000 (09:42 +0000)]
Makefile.in: Add many missing dependencies.

        * Makefile.in: Add many missing dependencies.
        * buffer.c, class.c, constants.c, decl.c: Use system.h and toplev.h
        as appropriate.
        * except.c, expr.c, jcf-io.c jcf-parse.c, jcf-write.c: Likewise.
        * jvgenmain.c lang.c mangle.c typeck.c verify.c: Likewise.

From-SVN: r22410

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

From-SVN: r22409

26 years ago* invoke.texi (C Dialect Options): Put back missing @end itemize.
David S. Miller [Sun, 13 Sep 1998 23:15:59 +0000 (23:15 +0000)]
* invoke.texi (C Dialect Options): Put back missing @end itemize.

From-SVN: r22408

26 years agoconfigure.in: remove usage of `!' to negate the result of a command...
Alexandre Oliva [Sun, 13 Sep 1998 22:37:15 +0000 (22:37 +0000)]
configure.in: remove usage of `!' to negate the result of a command...

* configure.in: remove usage of `!' to negate the result of a
command; some common shells do not support it

From-SVN: r22407

26 years agoFix non-local goto testsuite failures on sparc64.
David S. Miller [Sun, 13 Sep 1998 21:22:53 +0000 (21:22 +0000)]
Fix non-local goto testsuite failures on sparc64.

* config/sparc/sparc.md (goto_handler_and_restore): Allow any mode
for operand zero.

From-SVN: r22406

26 years agoRevert previous patch.
Jeff Law [Sun, 13 Sep 1998 21:12:44 +0000 (15:12 -0600)]
Revert previous patch.

From-SVN: r22405

26 years agoWe now fully bootstrap on solaris-2.7 sparcv9.
David S. Miller [Sun, 13 Sep 1998 20:37:17 +0000 (20:37 +0000)]
We now fully bootstrap on solaris-2.7 sparcv9.

toplevel:
* config.sub: Recognize sparcv9 just like sparc64.
gcc/ChangeLog:
* configure.in: in sparc9-sol2 config, use 'if test' not
brackets.
* configure: Rebuilt.
* config/sparc/sol2-sld-64.h (SPARC_DEFAULT_CMODEL): Change to
CM_MEDANY.
(CPP_CPU_SPEC): Do not define _LP64, header files do this.
(CPP_CPU_DEFAULT_SPEC): Likewise.
* config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Get the names right
for arch64 libfuncs.
gcc/java/ChangeLog:
* jcf-io.c: Include string.h.
libchill/ChangeLog:
* configure.in: Use 'if test' not brackets.
* configure: Rebuilt.

From-SVN: r22404

26 years agoAdd support for strsignal, for platforms which have it but don't have sys_siglist...
Kaveh R. Ghazi [Sun, 13 Sep 1998 06:17:31 +0000 (06:17 +0000)]
Add support for strsignal, for platforms which have it but don't have sys_siglist (like Solaris 2.7.)

Add support for strsignal, for platforms which have it but don't have
sys_siglist (like Solaris 2.7.)
        * acconfig.h (NEED_DECLARATION_STRSIGNAL): Provide a stub.
        * collect2.c: Don't declare `sys_siglist' here.
        (my_strsignal): Prototype and define new function.  Use it in
        place of `sys_siglist' hacks.
        * mips_tfile.c:  Likewise.
        * configure.in (AC_CHECK_FUNCS): Check for strsignal.
        (GCC_NEED_DECLARATIONS): Likewise.
        * system.h (strsignal): Prototype it, if necessary.
        (sys_siglist): Declare it, if necessary.

From-SVN: r22403

26 years agoloop.c (move_movables): While removing insn sequences...
David S. Miller [Sun, 13 Sep 1998 05:44:40 +0000 (05:44 +0000)]
loop.c (move_movables): While removing insn sequences...

* loop.c (move_movables): While removing insn sequences, preserve
the next pointer of the most recently deleted insn when we skip
over a NOTE.

From-SVN: r22402

26 years agoMakefile.in (install): Add missing "else true;".
Kamil Iskra [Sun, 13 Sep 1998 04:19:15 +0000 (06:19 +0200)]
Makefile.in (install): Add missing "else true;".

Thu Sep 10 14:57:25 1998  Kamil Iskra  <iskra@student.uci.agh.edu.pl>
* Makefile.in (install): Add missing "else true;".

From-SVN: r22401

26 years agoMake-lang.in (f77.install-common): Add missing "else true;".
Kamil Iskra [Sun, 13 Sep 1998 04:16:22 +0000 (06:16 +0200)]
Make-lang.in (f77.install-common): Add missing "else true;".

Thu Sep 10 14:55:44 1998  Kamil Iskra  <iskra@student.uci.agh.edu.pl>
* Make-lang.in (f77.install-common): Add missing "else true;".

From-SVN: r22400

26 years agoDaily bump.
Jeff Law [Sun, 13 Sep 1998 00:45:32 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22399

26 years agoupdate
Jason Merrill [Sun, 13 Sep 1998 00:12:17 +0000 (20:12 -0400)]
update

From-SVN: r22398

26 years agoPass appropriate switches to cpp/asm if -mcpu={401,603e,604e,ec603e,823}
Michael Meissner [Sat, 12 Sep 1998 08:40:02 +0000 (08:40 +0000)]
Pass appropriate switches to cpp/asm if -mcpu={401,603e,604e,ec603e,823}

From-SVN: r22397

26 years agoMore multi-register structure return recognition fixes and:
David S. Miller [Sat, 12 Sep 1998 03:45:22 +0000 (03:45 +0000)]
More multi-register structure return recognition fixes and:

* config/sparc/sparc.md (movdf_const_intreg_sp64): Disable.

From-SVN: r22396

26 years agoflow.c (mark_set_1): Recognize multi-register structure return values in CALL insns.
David S. Miller [Sat, 12 Sep 1998 01:03:36 +0000 (01:03 +0000)]
flow.c (mark_set_1): Recognize multi-register structure return values in CALL insns.

* flow.c (mark_set_1): Recognize multi-register structure return
values in CALL insns.
(mark_used_regs): Likewise.
(count_reg_sets_1): Likewise.
(count_reg_references): Likewise.
* rtlanal.c (note_stores): Likewise.

From-SVN: r22395