platform/upstream/gcc.git
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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

25 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

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

From-SVN: r22432

25 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

25 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

25 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

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

From-SVN: r22428

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

From-SVN: r22427

25 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

25 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

25 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

25 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

25 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

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

From-SVN: r22421

25 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

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

From-SVN: r22418

25 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

25 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

25 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

25 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

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

From-SVN: r22413

25 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

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

From-SVN: r22411

25 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

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

From-SVN: r22409

25 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

25 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

25 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

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

From-SVN: r22405

25 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

25 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

25 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

25 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

25 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

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

From-SVN: r22399

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

From-SVN: r22398

25 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

25 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

25 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

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

From-SVN: r22394

25 years agotypedef5.C: check whether typedefs can be redefined to the same non-trivial type
Alexandre Oliva [Fri, 11 Sep 1998 21:44:37 +0000 (21:44 +0000)]
typedef5.C: check whether typedefs can be redefined to the same non-trivial type

* g++.old-deja/g++.other/typedef5.C: check whether typedefs can be
  redefined to the same non-trivial type
* g++.old-deja/g++.pt/explicit73.C: test for proper
  namespace-qualification of template specializations declared in
  other namespaces
* g++.old-deja/g++.other/friend4.C: check whether it is possible
to declare a subset of the specializations of a template function
as friends of specializations of a template class
* g++.old-deja/g++.pt/explicit71.C: make sure specializations of
  member templates that do not fully specialize the enclosing
  template class are rejected

From-SVN: r22392

25 years agofix typo.
Robert Lipe [Fri, 11 Sep 1998 21:31:59 +0000 (21:31 +0000)]
fix typo.

From-SVN: r22391

25 years ago*config/i386/sco5.h (ASM_WEAKEN_LABEL): Defined as in svr4.h.
Eric Dumazet [Fri, 11 Sep 1998 21:01:29 +0000 (21:01 +0000)]
*config/i386/sco5.h (ASM_WEAKEN_LABEL): Defined as in svr4.h.

From-SVN: r22390

25 years agou77-test.f: Fix bad consistency checks.
Dave Love [Fri, 11 Sep 1998 04:59:05 +0000 (04:59 +0000)]
u77-test.f: Fix bad consistency checks.

1998-09-11  Dave Love  <d.love@dl.ac.uk>
* g77.f-torture/execute/u77-test.f: Fix bad consistency checks.

From-SVN: r22387

25 years agoFix bad consistency checks.
Dave Love [Fri, 11 Sep 1998 04:57:47 +0000 (04:57 +0000)]
Fix bad consistency checks.

From-SVN: r22386

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

From-SVN: r22385

25 years ago* glimits.h (__LONG_MAX__): Recognize __sparcv9 too.
David S. Miller [Thu, 10 Sep 1998 23:06:43 +0000 (23:06 +0000)]
* glimits.h (__LONG_MAX__): Recognize __sparcv9 too.

From-SVN: r22384

25 years agoconfigure.in: Add check for GAS subsection -1 support.
Jakub Jelinek [Thu, 10 Sep 1998 22:28:30 +0000 (00:28 +0200)]
configure.in: Add check for GAS subsection -1 support.

* configure.in: Add check for GAS subsection -1 support.
* acconfig.h (HAVE_GAS_SUBSECTION_ORDERING): Add.
* configure config.in: Rebuilt.
* config/sparc/sparc.h (CASE_VECTOR_MODE): For V9 flag_pic, use
SImode is subsection -1 works, else use DImode.
(ASM_OUTPUT_ADDR_VEC_START, ASM_OUTPUT_ADDR_VEC_END): Define if
subsection -1 works.
* config/sparc/sparc.c (sparc_output_addr_vec,
sparc_output_addr_diff_vec): Use them if defined.

From-SVN: r22383

25 years agoactions.c (chill_convert_for_assignment): Make a copy of the result node before modif...
Dave Brolley [Thu, 10 Sep 1998 14:56:22 +0000 (14:56 +0000)]
actions.c (chill_convert_for_assignment): Make a copy of the result node before modifying it.

Thu Sep 10 17:52:36 1998  Dave Brolley  <brolley@cygnus.com>
* actions.c (chill_convert_for_assignment): Make a copy of the result
node before modifying it.

From-SVN: r22382

25 years agodecl.c (pushdecl): Don't copy types if the DECL_ABSTRACT_ORIGIN of the new decl match...
Mark Mitchell [Thu, 10 Sep 1998 11:20:43 +0000 (11:20 +0000)]
decl.c (pushdecl): Don't copy types if the DECL_ABSTRACT_ORIGIN of the new decl matches the...

* decl.c (pushdecl): Don't copy types if the
DECL_ABSTRACT_ORIGIN of the new decl matches the TYPE_NAME of the
type.

From-SVN: r22381

25 years agotree.h (DECL_ORIGIN): New macro.
Mark Mitchell [Thu, 10 Sep 1998 10:46:00 +0000 (10:46 +0000)]
tree.h (DECL_ORIGIN): New macro.

* tree.h (DECL_ORIGIN): New macro.
* integrate.c (copy_and_set_decl_abstract_origin): New function.
(copy_decl_list): Use it.
(integrate_parm_decls): Likewise.
(integrate_decl_tree): Likewise.
* dwarf2out.c (decl_ultimate_origin): Simplify.
* dwarfout.c (decl_ultimate_origin): Likewise.
* c-decl.c (duplicate_decls): Use DECL_ORIGIN.
(pushdecl): Likewise.

From-SVN: r22380

25 years ago* Make-lang.in (GCJ): Define before using.
Jeffrey A Law [Thu, 10 Sep 1998 09:34:50 +0000 (09:34 +0000)]
* Make-lang.in (GCJ): Define before using.

From-SVN: r22379

25 years ago* config/rs6000/rs6000.c (output_epilog): Add Java support.
Anthony Green [Thu, 10 Sep 1998 08:08:04 +0000 (08:08 +0000)]
* config/rs6000/rs6000.c (output_epilog): Add Java support.

From-SVN: r22378

25 years ago* invoke.texi (C++ Dialect Options): Document -fhonor-std.
Martin v. Löwis [Thu, 10 Sep 1998 05:55:04 +0000 (05:55 +0000)]
* invoke.texi (C++ Dialect Options): Document -fhonor-std.

From-SVN: r22377

25 years agoreg-stack.c (straighten_stack): Do nothing if the virtual stack is empty or has a...
Jeffrey A Law [Thu, 10 Sep 1998 01:03:02 +0000 (01:03 +0000)]
reg-stack.c (straighten_stack): Do nothing if the virtual stack is empty or has a single entry.

        * reg-stack.c (straighten_stack): Do nothing if the virtual stack is
        empty or has a single entry.

From-SVN: r22376

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

From-SVN: r22375

25 years agotoplev.c (rest_of_compilation): Open up the dump file for reg-stack before calling...
Jeffrey A Law [Thu, 10 Sep 1998 00:40:19 +0000 (00:40 +0000)]
toplev.c (rest_of_compilation): Open up the dump file for reg-stack before calling reg_to_stack.

        * toplev.c (rest_of_compilation): Open up the dump file for reg-stack
        before calling reg_to_stack.
So we get the proper debug information in the .stack dump file.

From-SVN: r22374

25 years agoalpha.c (alphaev5_insn_pipe): Abort on default case.
Richard Henderson [Thu, 10 Sep 1998 00:07:33 +0000 (17:07 -0700)]
alpha.c (alphaev5_insn_pipe): Abort on default case.

        * alpha.c (alphaev5_insn_pipe): Abort on default case.
        (alphaev5_next_group): Swallow CLOBBERs and USEs.

From-SVN: r22373

25 years ago* c-tree.h (warn_long_long): Declare it.
Richard Henderson [Thu, 10 Sep 1998 00:06:10 +0000 (17:06 -0700)]
* c-tree.h (warn_long_long): Declare it.

From-SVN: r22372

25 years agoemit-rtl.c (gen_lowpart_common): Disable optimization of initialized float-int union...
Stephen L Moshier [Wed, 9 Sep 1998 22:33:06 +0000 (16:33 -0600)]
emit-rtl.c (gen_lowpart_common): Disable optimization of initialized float-int union if the value is a NaN.

        * emit-rtl.c (gen_lowpart_common): Disable optimization of
        initialized float-int union if the value is a NaN.

From-SVN: r22371

25 years agoc-lex.c (real_yylex): Don't warn about long long constants if we're allowing long...
Nathan Sidwell [Wed, 9 Sep 1998 22:02:02 +0000 (22:02 +0000)]
c-lex.c (real_yylex): Don't warn about long long constants if we're allowing long long

        * c-lex.c (real_yylex): Don't warn about long long constants if
        we're allowing long long

From-SVN: r22370