gcc.git
26 years agoMakefile.in (clean): Remove the stages with their objects here ...
Richard Henderson [Tue, 23 Dec 1997 03:16:26 +0000 (19:16 -0800)]
Makefile.in (clean): Remove the stages with their objects here ...

* Makefile.in (clean): Remove the stages with their objects here ...
(distclean): ... instead of here.

From-SVN: r17210

26 years ago*** empty log message ***
Benjamin Kosnik [Tue, 23 Dec 1997 00:04:13 +0000 (00:04 +0000)]
*** empty log message ***

From-SVN: r17202

26 years agoOpps. Forgot to check it in.
Jeff Law [Mon, 22 Dec 1997 10:05:04 +0000 (03:05 -0700)]
Opps.  Forgot to check it in.

From-SVN: r17188

26 years agocall.c (add_builtin_candidate): Add default case in enumeration switch.
Kaveh R. Ghazi [Mon, 22 Dec 1997 09:35:49 +0000 (09:35 +0000)]
call.c (add_builtin_candidate): Add default case in enumeration switch.

        * call.c (add_builtin_candidate): Add default case in enumeration
        switch.
        (build_new_op): Likewise.
        (convert_like): Likewise.
        * cvt.c (build_expr_type_conversion): Likewise.
        * tree.c (real_lvalue_p): Likewise.
        (lvalue_p): Likewise.
        (cp_tree_equal): Likewise.
        * typeck.c (comptypes): Likewise.
        (build_component_ref): Likewise.
        (build_function_call_real): Likewise.
        (build_binary_op_nodefault): Likewise.
        (build_unary_op): Likewise.
        (build_modify_expr): Likewise.
        * typeck2.c (initializer_constant_valid_p): Likewise.

From-SVN: r17187

26 years agocse.c (rtx_cost): Add default case in enumeration switch.
Kaveh R. Ghazi [Mon, 22 Dec 1997 09:31:41 +0000 (09:31 +0000)]
cse.c (rtx_cost): Add default case in enumeration switch.

        * cse.c (rtx_cost): Add default case in enumeration switch.
        * fix-header.c (recognized_macro): Likewise.
        (recognized_extern): Likewise.
        (write_rbrac): Likewise.
        * objc/objc-act.c (encode_aggregate): Likewise.
        (gen_declarator): Likewise.
        (gen_declspecs): Likewise.

From-SVN: r17186

26 years agohaifa-sched.c (create_reg_dead_note): Detect and handle another case where we kill...
Jeff Law [Mon, 22 Dec 1997 08:55:49 +0000 (01:55 -0700)]
haifa-sched.c (create_reg_dead_note): Detect and handle another case where we kill more regs after sched than were...

        * haifa-sched.c (create_reg_dead_note): Detect and handle another
        case where we kill more regs after sched than were killed before
        sched.
        * sched.c (create_reg_dead_note): Similarly.

From-SVN: r17183

26 years agohaifa-sched.c (create_reg_dead_note): Detect and handle another case where we kill...
Jeff Law [Mon, 22 Dec 1997 08:55:43 +0000 (01:55 -0700)]
haifa-sched.c (create_reg_dead_note): Detect and handle another case where we kill more regs after sched than were...

        * haifa-sched.c (create_reg_dead_note): Detect and handle another
        case where we kill more regs after sched than were killed before
        sched.
        * sched.c (create_reg_dead_note): Similarly.

[[Split portion of a mixed commit.]]

From-SVN: r17182.2

26 years ago* c-pragma.c: Include flags.h.
Jeff Law [Mon, 22 Dec 1997 08:16:44 +0000 (01:16 -0700)]
* c-pragma.c: Include flags.h.

From-SVN: r17180

26 years agoIt's alpha*-...
Richard Henderson [Mon, 22 Dec 1997 02:40:10 +0000 (18:40 -0800)]
It's alpha*-...

From-SVN: r17179

26 years agoAdd pointer to motorola 68k info.
Jeff Law [Sun, 21 Dec 1997 21:43:08 +0000 (14:43 -0700)]
Add pointer to motorola 68k info.

From-SVN: r17178

26 years agocygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything about system headers.
Mumit Khan [Sun, 21 Dec 1997 21:07:08 +0000 (21:07 +0000)]
cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything about system headers.

        * i386/cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything
        about system headers.
        (LIB_SPEC): Add -ladvapi32 -lshell32 to be consistent with mingw32
        and also to resolve symbols in prefix.c.
        * i386/xm-cygwin32.h (HAVE_BCOPY): Define. This avoids a conflict
        between gansidecl.h and newlib's _ansi.h when building libgcc2.a,
        when the definitions in auto-config.h is not visible.
        (HAVE_BZERO): Likewise.
        (HAVE_BCMP): Likewise.
        (HAVE_RINDEX): Likewise.
        (HAVE_INDEX): Likewise.

From-SVN: r17177

26 years agoClarify comment.
Jeff Law [Sun, 21 Dec 1997 20:55:52 +0000 (13:55 -0700)]
Clarify comment.

From-SVN: r17176

26 years agopa.c (emit_move_sequence): Handle a function label source operand.
Jeffrey A Law [Sun, 21 Dec 1997 20:50:37 +0000 (20:50 +0000)]
pa.c (emit_move_sequence): Handle a function label source operand.

        * pa.c (emit_move_sequence): Handle a function label source
        operand.

From-SVN: r17174

26 years agoconfigure.in (host_makefile_frag, [...]): Handle multiple config files.
H.J. Lu [Sun, 21 Dec 1997 15:50:35 +0000 (08:50 -0700)]
configure.in (host_makefile_frag, [...]): Handle multiple config files.

d
        * configure.in (host_makefile_frag, target_makefile_frag):
        Handle multiple config files.
        (alpha-*-linux*): Treat alpha-*-linux* as alpha-*-linux* and
        alpha-*-*.

From-SVN: r17170

26 years agoconfigure.in (host_makefile_frag, [...]): Handle multiple config files.
H.J. Lu [Sun, 21 Dec 1997 15:50:33 +0000 (08:50 -0700)]
configure.in (host_makefile_frag, [...]): Handle multiple config files.

F
        * configure.in (host_makefile_frag, target_makefile_frag):
        Handle multiple config files.
        (alpha-*-linux*): Treat alpha-*-linux* as alpha-*-linux* and
        alpha-*-*.

From-SVN: r17169

26 years agoc-pragma.c (handle_pragma_token): Generate warning messages about unknown pragmas...
Nick Clifton [Sun, 21 Dec 1997 15:24:48 +0000 (08:24 -0700)]
c-pragma.c (handle_pragma_token): Generate warning messages about unknown pragmas if warn_unknown_pragmas is set.

        * c-pragma.c (handle_pragma_token): Generate warning messages
        about unknown pragmas if warn_unknown_pragmas is set.
        * c-decl.c (c_decode_option): Parse -Wunknown-pragmas command
        line option to set variable: warn_unknown_pragmas.

From-SVN: r17168

26 years ago* decl2.c (lang_decode_option): Add support for -Wunknown-pragmas.
Nick Clifton [Sun, 21 Dec 1997 15:22:02 +0000 (15:22 +0000)]
* decl2.c (lang_decode_option): Add support for -Wunknown-pragmas.

From-SVN: r17167

26 years agomot3300.h (ASM_BYTE_OP): Don't include '\t' in the definition.
Manfred Hollstein [Sun, 21 Dec 1997 14:48:50 +0000 (14:48 +0000)]
mot3300.h (ASM_BYTE_OP): Don't include '\t' in the definition.

        * m68k/mot3300.h (ASM_BYTE_OP): Don't include '\t' in the
        definition.
        (ASM_OUTPUT_ASCII): Prefix ASM_BYTE_OP by one single '\t'.

From-SVN: r17166

26 years agoMakefile.in (FPBIT_FUNCS, [...]): Define.
Jeff Law [Sun, 21 Dec 1997 13:45:26 +0000 (06:45 -0700)]
Makefile.in (FPBIT_FUNCS, [...]): Define.

L
        * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define.
        (libgcc2.a): Depend on $(DPBIT) and $(FPBIT).  Add rules to
        generate more fine grained floating point emulation libraries.
        * config/fp-bit.c: Add protecting #ifdef to all functions so
        that they can be compiled separately.  If !FINE_GRAINED_LIBRARIES,
        then compile all suitable functions.
        (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two
        underscores to avoid namespace pollution.
        * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c
        (FPBIT): Define.
        * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
        (FPBIT): Define.
        (DPBIT): Define.

From-SVN: r17165

26 years agoMakefile.in (FPBIT_FUNCS, [...]): Define.
Jeff Law [Sun, 21 Dec 1997 13:45:24 +0000 (06:45 -0700)]
Makefile.in (FPBIT_FUNCS, [...]): Define.

e
        * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define.
        (libgcc2.a): Depend on $(DPBIT) and $(FPBIT).  Add rules to
        generate more fine grained floating point emulation libraries.
        * config/fp-bit.c: Add protecting #ifdef to all functions so
        that they can be compiled separately.  If !FINE_GRAINED_LIBRARIES,
        then compile all suitable functions.
        (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two
        underscores to avoid namespace pollution.
        * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c
        (FPBIT): Define.
        * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
        (FPBIT): Define.
        (DPBIT): Define.

From-SVN: r17164

26 years agoMakefile.in (FPBIT_FUNCS, [...]): Define.
Jeffrey A Law [Sun, 21 Dec 1997 13:45:20 +0000 (13:45 +0000)]
Makefile.in (FPBIT_FUNCS, [...]): Define.

        * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define.
        (libgcc2.a): Depend on $(DPBIT) and $(FPBIT).  Add rules to
        generate more fine grained floating point emulation libraries.
        * config/fp-bit.c: Add protecting #ifdef to all functions so
        that they can be compiled separately.  If !FINE_GRAINED_LIBRARIES,
        then compile all suitable functions.
        (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two
        underscores to avoid namespace pollution.
        * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c
        (FPBIT): Define.
        * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
        (FPBIT): Define.
        (DPBIT): Define.

From-SVN: r17163

26 years agobitmap.c (bitmap_clear): Ensure `inline' is at the beginning of the declaration.
Kaveh R. Ghazi [Sat, 20 Dec 1997 11:31:54 +0000 (11:31 +0000)]
bitmap.c (bitmap_clear): Ensure `inline' is at the beginning of the declaration.

        * bitmap.c (bitmap_clear): Ensure `inline' is at the beginning
        of the declaration.
        * c-decl.c (finish_decl): Use parentheses around && within ||.
        * rtl.c: Include stdlib.h.
        (read_skip_spaces): Add parentheses around assignments used as
        truth values.
        (read_rtx): Initialize list_rtx.
        * cppexp.c (parse_number): Use || when operands are truth values.
        * alias.c (find_base_value): Add default case.
        (memrefs_conflict): Likewise.
        * combine.c (sets_function_arg_p): Likewise.
        * genemit.c (gen_exp): Likewise.
        * local-alloc.c (contains_replace_regs): Likewise.
        * rtlanal.c (jmp_uses_reg_or_mem): Likewise.
        * fold-const.c (fold_convert): Use "&&" for truth values.
        (fold): Add default case.
        * sdbout.c (sdbout_field_types): Fix typo in declaration.
        (sdbout_one_type): Add default case.
        * alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS.
        (some_operand): Add default case.
        (input_operand): Likewise.
        (signed_comparison_operator): Likewise.
        (divmod_operator): Likewise.
        (alpha_set_memflags_1): Likewise.
        * reload1.c (reload_cse_simplify_operands): Ensure function
        always returns a value.
        * scan-decls.c (scan_decls): Likewise.
        * c-lex.c (skip_white_space): Fix typo in declaraion.
        * c-typeck.c (comp_target_types): Add parentheses around assignment
        used as truth value.
        (print_spelling): Likewise.
        (constructor_implicit, constructor_result): Remove unused variables.
        * collect2.c (scan_library): Protect prototype with
        #ifdef SCAN_LIBRARIES.
        * emit-rtl.c (find_line_note): Fix typo in declaration.
        * final.c (asm_insn_count): Protect prototype with
        #ifdef HAVE_ATTR_length.
        * flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC.
        (try_pre_increment_1, try_pre_increment): Likewise.
        * regclass.c (auto_inc_dec_reg_p): Protect prototype with
        #ifdef FORBIDDEN_INC_DEC_CLASSES.  Make return type explicit.
        * gcov-io.h (__store_long, __write_long, __read_long): Fix
        unsigned/signed comparisons.
        * gcov.c (read_files): Remove unused "first_type" variable.
        (scan _for_source_files): Initialize s_ptr.
        (function_summary): Eliminate "%lf" formatting, use %ld for
        longs.
        (output_data): Initialize branch_probs and last_line_num.
        Eliminate "%lf" formatting, use "%ld" for longs.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r17158

26 years ago* mips16.S: New file.
Ian Lance Taylor [Fri, 19 Dec 1997 16:55:53 +0000 (16:55 +0000)]
* mips16.S: New file.

From-SVN: r17157

26 years ago*** empty log message ***
Jeff Law [Fri, 19 Dec 1997 16:44:46 +0000 (09:44 -0700)]
*** empty log message ***

From-SVN: r17156

26 years agoexpr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an expression.
Ian Lance Taylor [Fri, 19 Dec 1997 16:43:29 +0000 (16:43 +0000)]
expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an expression.

        * expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an
        expression.
        * stmt.c (expand_end_case): Likewise.
        * alpha.h (CASE_VECTOR_PC_RELATIVE): Update.
        * fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise.
        * rs6000.h, sh.h, tahoe.h, v850.h vax.h z8k.h: Likewise.

From-SVN: r17155

26 years ago*** empty log message ***
Jeff Law [Fri, 19 Dec 1997 16:34:17 +0000 (09:34 -0700)]
*** empty log message ***

From-SVN: r17154

26 years agotweak
Jason Merrill [Fri, 19 Dec 1997 01:27:33 +0000 (20:27 -0500)]
tweak

From-SVN: r17144

26 years agoMake-lang.in: Create runtime-info.h and libobjc_entry.o in the build directory.
Andreas Schwab [Thu, 18 Dec 1997 23:27:58 +0000 (23:27 +0000)]
Make-lang.in: Create runtime-info.h and libobjc_entry.o in the build directory.

* objc/Make-lang.in: Create runtime-info.h and libobjc_entry.o in
the build directory.
(libobjc.a): Update dependency list.
(libobjc.dll): Likewise.  Use libobjc_entry.o from the build
directory.
(objc/sendmsg.o): Add -Iobjc to find runtime-info.h.
(objc.mostlyclean): Remove runtime-info.h.

From-SVN: r17143

26 years agotree.c (build_range_type): Allow creation of ranges with no maximum.
Richard Henderson [Thu, 18 Dec 1997 23:20:19 +0000 (15:20 -0800)]
tree.c (build_range_type): Allow creation of ranges with no maximum.

* tree.c (build_range_type): Allow creation of ranges with no maximum.
* dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE.
* dwarf2out.c (add_subscript_info): Likewise.
* dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise.
* sdbout.c (plain_type_1): Likewise.
* stmt.c (pushcase_range, all_cases_count, node_has_high_bound):
Likewise.
* fold-const.c (int_const_binop, fold_convert, make_range, fold):
Likewise.

From-SVN: r17142

26 years ago* com.c (ffecom_sym_transform_): Assumed arrays have no upper bound.
Richard Henderson [Thu, 18 Dec 1997 23:11:42 +0000 (15:11 -0800)]
* com.c (ffecom_sym_transform_): Assumed arrays have no upper bound.

From-SVN: r17141

26 years ago* mips.c (fatal): Remove declaration.
Jeff Law [Thu, 18 Dec 1997 22:48:31 +0000 (15:48 -0700)]
* mips.c (fatal): Remove declaration.

From-SVN: r17140

26 years agointegrate.c (get_label_from_map): New function.
Jeff Law [Thu, 18 Dec 1997 22:42:41 +0000 (15:42 -0700)]
integrate.c (get_label_from_map): New function.

        * integrate.c (get_label_from_map): New function.
        (expand_inline_function): Use it.  Initialize the label_map to
        NULL_RTX instead of gen_label_rtx.
        (copy_rtx_and_substitute): Use get_label_from_map.
        * integrate.h (get_label_from_map): New function.
        (set_label_from_map): New macro.
        * unroll.c (unroll_loop): Use them.
        (copy_loop_body): Ditto.

From-SVN: r17139

26 years agopt.c (coerce_template_parms): Make sure to digest_init if possible.
Mark Mitchell [Thu, 18 Dec 1997 19:26:14 +0000 (19:26 +0000)]
pt.c (coerce_template_parms): Make sure to digest_init if possible.

* pt.c (coerce_template_parms): Make sure to digest_init if
possible.

From-SVN: r17138

26 years agomips.h (INIT_SUBTARGET_OPTABS): Define if not defined.
Ian Lance Taylor [Thu, 18 Dec 1997 18:45:57 +0000 (18:45 +0000)]
mips.h (INIT_SUBTARGET_OPTABS): Define if not defined.

        * mips/mips.h (INIT_SUBTARGET_OPTABS): Define if not defined.
        (INIT_TARGET_OPTABS): Define.
        * mips/ecoff.h: Include gofast.h before mips.h.
        (INIT_SUBTARGET_OPTABS): Define instead of INIT_TARGET_OPTABS.
        * mips/elf64.h: Likewise.
        * mips/elf.h (ASM_OUTPUT_SECTION_NAME): Define.

From-SVN: r17137

26 years agounroll.c (calculate_giv_inc): Handle constant increment found in a MEM with an approp...
Gavin Koch [Thu, 18 Dec 1997 17:31:01 +0000 (17:31 +0000)]
unroll.c (calculate_giv_inc): Handle constant increment found in a MEM with an appropriate REG_EQUAL note.

        * unroll.c (calculate_giv_inc): Handle constant increment found in
        a MEM with an appropriate REG_EQUAL note.

From-SVN: r17136

26 years agodecl.c (duplicate_decls): Make the newdecl virtual if the olddecl was...
Mark Mitchell [Thu, 18 Dec 1997 16:45:28 +0000 (16:45 +0000)]
decl.c (duplicate_decls): Make the newdecl virtual if the olddecl was...

* decl.c (duplicate_decls): Make the newdecl virtual if the
olddecl was, just as is done with other attributes of olddecl.

From-SVN: r17135

26 years agotypeck.c (unary_complex_lvalue): Ignore op0 when taking the address of an OFFSET_REF.
Jason Merrill [Thu, 18 Dec 1997 15:07:48 +0000 (15:07 +0000)]
typeck.c (unary_complex_lvalue): Ignore op0 when taking the address of an OFFSET_REF.

* typeck.c (unary_complex_lvalue): Ignore op0 when taking the
address of an OFFSET_REF.

From-SVN: r17134

26 years ago* calls.c (expand_call): Implement LOAD_ARGS_REVERSED.
Gavin Koch [Thu, 18 Dec 1997 15:00:06 +0000 (15:00 +0000)]
* calls.c (expand_call): Implement LOAD_ARGS_REVERSED.

From-SVN: r17133

26 years agoexcept.c: Remove register_exception_table{,_p}.
Jason Merrill [Thu, 18 Dec 1997 14:52:24 +0000 (14:52 +0000)]
except.c: Remove register_exception_table{,_p}.

* except.c: Remove register_exception_table{,_p}.
* decl2.c (finish_file): Remove call to register_exception_table.
* cp-tree.def: Add AGGR_INIT_EXPR.
* error.c, tree.c, typeck.c: Replace uses of NEW_EXPR with
AGGR_INIT_EXPR where appropriate.
* expr.c (cplus_expand_expr): Likewise.  Simplify.

From-SVN: r17132

26 years agodwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the frame pointer in the...
Gavin Koch [Thu, 18 Dec 1997 14:48:19 +0000 (07:48 -0700)]
dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the frame pointer in the prologue.

/
        * dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the
        frame pointer in the prologue.

From-SVN: r17131

26 years agodwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the frame pointer in the...
Gavin Koch [Thu, 18 Dec 1997 14:48:12 +0000 (07:48 -0700)]
dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the frame pointer in the prologue.

        * dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the
        frame pointer in the prologue.

From-SVN: r17130

26 years ago*** empty log message ***
Benjamin Kosnik [Thu, 18 Dec 1997 13:06:20 +0000 (13:06 +0000)]
*** empty log message ***

From-SVN: r17129

26 years agoc++: Don't inject friends while processing templates
Benjamin Kosnik [Thu, 18 Dec 1997 13:03:54 +0000 (13:03 +0000)]
c++: Don't inject friends while processing templates

* pt.c (instantiate_class_template): Don't do injection when
  processing_template_decl is true, as pollutes current_binding_level
        for base classes.
PR g++/13911/14438

From-SVN: r17128

26 years ago* x-sco5 (CLIB) Deleted. (ALLOCA) Added.
Robert Lipe [Thu, 18 Dec 1997 11:51:41 +0000 (11:51 +0000)]
* x-sco5 (CLIB) Deleted.  (ALLOCA) Added.

* xm-sco5.h  (USE_C_ALLOCA) Added.

From-SVN: r17127

26 years ago* pt.c (maybe_fold_nontype_arg): Add prototype.
Peter Schmid [Wed, 17 Dec 1997 20:15:00 +0000 (20:15 +0000)]
* pt.c (maybe_fold_nontype_arg): Add prototype.

From-SVN: r17126

26 years agoAdjusted egcs m68k-coff files to look like gcc2 m68k-coff files.
Bill Moyer [Wed, 17 Dec 1997 16:05:51 +0000 (16:05 +0000)]
Adjusted egcs m68k-coff files to look like gcc2 m68k-coff files.

From-SVN: r17125

26 years agosparc.md (jump): Don't use the annul bit around an empty loop.
Richard Henderson [Wed, 17 Dec 1997 15:07:39 +0000 (07:07 -0800)]
sparc.md (jump): Don't use the annul bit around an empty loop.

* sparc.md (jump): Don't use the annul bit around an empty loop.
Patch from Kevin.Kelly@East.Sun.COM.

From-SVN: r17124

26 years agojump.c: (optimize_jump): Don't use the return register as a source1 of a conditional...
Stan Cox [Tue, 16 Dec 1997 23:52:36 +0000 (23:52 +0000)]
jump.c: (optimize_jump): Don't use the return register as a source1 of a conditional move.

        * jump.c: (optimize_jump): Don't use the return register as a
        source1 of a conditional move.

From-SVN: r17123

26 years agosparc.c (DF_MODES): Or the mask not the bit number.
Richard Henderson [Tue, 16 Dec 1997 23:46:23 +0000 (15:46 -0800)]
sparc.c (DF_MODES): Or the mask not the bit number.

* sparc.c (DF_MODES): Or the mask not the bit number.
(function_arg) [ARCH64]: Send unprototyped arg to fp reg first.

From-SVN: r17122

26 years ago* combine.c (force_to_mode): return immediately if operand is a CLOBBER.
Christian Iseli [Tue, 16 Dec 1997 23:12:32 +0000 (00:12 +0100)]
* combine.c (force_to_mode): return immediately if operand is a CLOBBER.

From-SVN: r17121

26 years agofixincludes (size_t): Add support for Motorola's stdlib.h which fails to provide...
Manfred Hollstein [Tue, 16 Dec 1997 22:51:00 +0000 (22:51 +0000)]
fixincludes (size_t): Add support for Motorola's stdlib.h which fails to provide a definition for size_t.

        * fixincludes (size_t): Add support for Motorola's stdlib.h
        which fails to provide a definition for size_t.
        (fabs/hypot): Provide a prototype for fabs on m88k-motorola-sysv3.
        (strlen,strspn,strcspn return value): Handle different layout on sysV88.
        (hypot): Provide a fake for hypot for m88k-motorola-sysv3.
Fixes from Manfred.

From-SVN: r17120

26 years agoprofile1.C (XFAIL): Expect it to fail on m68k-motorola-sysv and m88k-motorola-sysv3.
Jeff Law [Tue, 16 Dec 1997 22:45:45 +0000 (15:45 -0700)]
profile1.C (XFAIL): Expect it to fail on m68k-motorola-sysv and m88k-motorola-sysv3.

* g++.old-deja/g++.law/profile1.C (XFAIL): Expect it to fail on
m68k-motorola-sysv and m88k-motorola-sysv3.
* gcc.c-torture/execute/loop-2e.cexp: New file to indicate expected
compile failures on m68k-motorola-sysv and m88k-motorola-sysv3.
* gcc.c-torture/execute/loop-2f.cexp: Likewise.

From-SVN: r17119

26 years agoxm-mot3300.h (ADD_MISSING_POSIX, [...]): Define to prevent unresolved externals in...
Manfred Hollstein [Tue, 16 Dec 1997 22:42:33 +0000 (22:42 +0000)]
xm-mot3300.h (ADD_MISSING_POSIX, [...]): Define to prevent unresolved externals in libio.

        * m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to
        prevent unresolved externals in libio.
        * m88k/xm-sysv3.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Likewise.

From-SVN: r17118

26 years agolinux64.h (LIBGCC_SPEC): Removed.
H.J. Lu [Tue, 16 Dec 1997 22:25:35 +0000 (22:25 +0000)]
linux64.h (LIBGCC_SPEC): Removed.

* config/sparc/linux64.h (LIBGCC_SPEC): Removed.
(CPP_SUBTARGET_SPEC): Add %{pthread:-D_REENTRANT}.
(LIB_SPEC): Updated for glibc 2.

From-SVN: r17117

26 years agostdarg.h: Undo BeOS changes, they break hpux.
Jeffrey A Law [Tue, 16 Dec 1997 20:00:15 +0000 (20:00 +0000)]
stdarg.h: Undo BeOS changes, they break hpux.

        * ginclude/stdarg.h: Undo BeOS changes, they break hpux.
        * ginclude/varargs.h: Likewise.

From-SVN: r17116

26 years agotree.c (mapcar): Handle TRY_CATCH_EXPR et al.
Jason Merrill [Tue, 16 Dec 1997 16:51:07 +0000 (16:51 +0000)]
tree.c (mapcar): Handle TRY_CATCH_EXPR et al.

* tree.c (mapcar): Handle TRY_CATCH_EXPR et al.
* error.c (dump_expr): Likewise.

From-SVN: r17115

26 years agoframe.h (__register_frame, [...]): New.
Jeff Law [Mon, 15 Dec 1997 23:28:44 +0000 (16:28 -0700)]
frame.h (__register_frame, [...]): New.

        * frame.h (__register_frame, __register_frame_table,
        __deregister_frame): New.
        * frame.c (__register_frame, __register_frame_table,
        __deregister_frame): New.
        * frame.c (__deregister_frame_info): Return void *.
        * frame.h (__deregister_frame_info): Ditto.
        * collect2.c (__deregister_frame_info): Ditto.

From-SVN: r17113

26 years ago* version.c: Bump for snapshot.
Jeffrey A Law [Mon, 15 Dec 1997 23:11:07 +0000 (23:11 +0000)]
* version.c: Bump for snapshot.

From-SVN: r17112

26 years agoDon't ever run autoconf in the toplevel directory :(
Jeff Law [Mon, 15 Dec 1997 22:07:48 +0000 (15:07 -0700)]
Don't ever run autoconf in the toplevel directory :(

From-SVN: r17111

26 years agoupdate
Jason Merrill [Mon, 15 Dec 1997 20:40:20 +0000 (15:40 -0500)]
update

From-SVN: r17110

26 years agotypeck.c (build_function_call_real): Remove "inline called before definition" pedwarn.
Jason Merrill [Mon, 15 Dec 1997 20:34:29 +0000 (20:34 +0000)]
typeck.c (build_function_call_real): Remove "inline called before definition" pedwarn.

* typeck.c (build_function_call_real): Remove "inline called before
definition" pedwarn.

* pt.c (coerce_template_parms): Use maybe_fold_nontype_arg.

From-SVN: r17109

26 years agoMissed this from the -mmemory-latency commit.
Richard Henderson [Mon, 15 Dec 1997 18:40:42 +0000 (10:40 -0800)]
Missed this from the -mmemory-latency commit.

From-SVN: r17108

26 years ago* expmed.c (expand_shift): If SHIFT_COUNT_TRUNCATED, drop a SUBREG.
Richard Henderson [Mon, 15 Dec 1997 18:39:02 +0000 (10:39 -0800)]
* expmed.c (expand_shift): If SHIFT_COUNT_TRUNCATED, drop a SUBREG.

From-SVN: r17107

26 years agoalpha.c (alpha_cpu_name): New variable.
Richard Henderson [Mon, 15 Dec 1997 18:33:21 +0000 (10:33 -0800)]
alpha.c (alpha_cpu_name): New variable.

* alpha.c (alpha_cpu_name): New variable.
(alpha_mlat_string): Likewise.
(alpha_memory_latency): Likewise.
(override_options): Handle -mmemory-latency.
(alpha_adjust_cost): Adjust load cost for latency.
* alpha.h (TARGET_OPTIONS): Add meory-latency.
(REGISTER_MOVE_COST): Define in terms of memory_latency.  Take
TARGET_CIX into account.
(MEMORY_MOVE_COST): Define in terms of memory_latency.
* invoke.texi (DEC Alpha Options): Document -mmemory-latency.
* alpha.h (ASM_COMMENT_START): New macro.

From-SVN: r17106

26 years agoreload.h, [...]: Revert March 15 change.
Richard Henderson [Mon, 15 Dec 1997 17:55:58 +0000 (09:55 -0800)]
reload.h, [...]: Revert March 15 change.

* reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c,
dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change.
* reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
SUBREG_REG if the word count is unchanged.
* reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve
subregs of identical word size for push_reload.

From-SVN: r17105

26 years agotoplev.c (rest_of_compilation): Don't call save_for_inline_copy if all we're doing...
Mark Mitchell [Mon, 15 Dec 1997 17:55:11 +0000 (10:55 -0700)]
toplev.c (rest_of_compilation): Don't call save_for_inline_copy if all we're doing is dealing with -Wreturn-type.

        * toplev.c (rest_of_compilation): Don't call save_for_inline_copy
        if all we're doing is dealing with -Wreturn-type.

From-SVN: r17104

26 years agoalpha.md (zero_extendqihi2, [...]): Use and 255 instead of zapnot 1, since it schedul...
Richard Henderson [Mon, 15 Dec 1997 17:55:10 +0000 (09:55 -0800)]
alpha.md (zero_extendqihi2, [...]): Use and 255 instead of zapnot 1, since it schedules better.

        * alpha.md (zero_extendqihi2, zero_extendqisi2, zero_extendqidi2):
        Use and 255 instead of zapnot 1, since it schedules better.

From-SVN: r17103

26 years ago* com.c (ffecom_type_vardesc_): Vardesc.dims is a `ftnlen*'.
Richard Henderson [Mon, 15 Dec 1997 17:34:23 +0000 (09:34 -0800)]
* com.c (ffecom_type_vardesc_): Vardesc.dims is a `ftnlen*'.

From-SVN: r17102

26 years agostmt.c (expand_asm_operands): If an ASM has no outputs, then treat it as volatile.
Jeffrey A Law [Mon, 15 Dec 1997 15:46:40 +0000 (15:46 +0000)]
stmt.c (expand_asm_operands): If an ASM has no outputs, then treat it as volatile.

* stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
it as volatile.

From-SVN: r17100

26 years agoRebuild.
Jeff Law [Mon, 15 Dec 1997 15:08:30 +0000 (08:08 -0700)]
Rebuild.

From-SVN: r17099

26 years agocvt.c (cp_convert_to_pointer): Fix base conversion of pm's.
Jason Merrill [Mon, 15 Dec 1997 07:24:29 +0000 (07:24 +0000)]
cvt.c (cp_convert_to_pointer): Fix base conversion of pm's.

* cvt.c (cp_convert_to_pointer): Fix base conversion of pm's.

* pt.c (type_unification_real): Change __null to type void* with
a warning.

From-SVN: r17098

26 years agoBring over changes from latest gcc-2.8 pre-release.
Jeff Law [Mon, 15 Dec 1997 07:05:04 +0000 (00:05 -0700)]
Bring over changes from latest gcc-2.8 pre-release.

Mirror sched.c change into haifa-sched.c

From-SVN: r17097

26 years agoChange from latest gcc-2.8 prerelease
Jeff Law [Mon, 15 Dec 1997 06:11:01 +0000 (23:11 -0700)]
Change from latest gcc-2.8 prerelease

From-SVN: r17096

26 years agocall.c (implicit_conversion): Don't call build_user_type_conversion_1 with a NULL...
Mark Mitchell [Mon, 15 Dec 1997 04:40:01 +0000 (04:40 +0000)]
call.c (implicit_conversion): Don't call build_user_type_conversion_1 with a NULL expr, since it will crash.

* call.c (implicit_conversion): Don't call
build_user_type_conversion_1 with a NULL expr, since it will
crash.

* pt.c (unify): Don't try to unify array bounds if either array is
unbounded.

From-SVN: r17095

26 years agotweak
Jason Merrill [Mon, 15 Dec 1997 03:58:21 +0000 (22:58 -0500)]
tweak

From-SVN: r17094

26 years agotweak comment
Jason Merrill [Mon, 15 Dec 1997 03:58:03 +0000 (22:58 -0500)]
tweak comment

From-SVN: r17093

26 years ago* expr.c (expand_builtin): Support BUILT_IN_FMOD - just call fmod.
Per Bothner [Sat, 13 Dec 1997 19:40:06 +0000 (19:40 +0000)]
* expr.c (expand_builtin):  Support BUILT_IN_FMOD - just call fmod.

From-SVN: r17090

26 years agoflow.c (flow_analysis): Be consistent with find_basic_blocks in determining when...
Jason Merrill [Sat, 13 Dec 1997 01:49:10 +0000 (01:49 +0000)]
flow.c (flow_analysis): Be consistent with find_basic_blocks in determining when a new basic block starts.

* flow.c (flow_analysis): Be consistent with find_basic_blocks in
determining when a new basic block starts.

From-SVN: r17085

26 years agoerrfn.c (cp_pedwarn, [...]): Replace extern decls with casts.
Jason Merrill [Sat, 13 Dec 1997 00:28:00 +0000 (00:28 +0000)]
errfn.c (cp_pedwarn, [...]): Replace extern decls with casts.

* errfn.c (cp_pedwarn, cp_pedwarn_at, cp_error_at, cp_warning_at):
Replace extern decls with casts.

* decl.c (expand_start_early_try_stmts): Don't mess with a sequence.
Update last_parm_cleanup_insn.
(store_after_parms): Remove.
* cp-tree.h: Adjust.

Fixes eh{39,40}.C

From-SVN: r17083

26 years agoadd dwarf2 note
Jason Merrill [Fri, 12 Dec 1997 23:30:45 +0000 (18:30 -0500)]
add dwarf2 note

From-SVN: r17082

26 years agointegrate.c (initialize_for_inline): In DECL_RTL of a PARM_DECL, look inside a (mem...
Richard Kenner [Fri, 12 Dec 1997 16:06:57 +0000 (16:06 +0000)]
integrate.c (initialize_for_inline): In DECL_RTL of a PARM_DECL, look inside a (mem (addressof (mem ...))).

* integrate.c (initialize_for_inline): In DECL_RTL of a PARM_DECL,
look inside a (mem (addressof (mem ...))).

From-SVN: r17075

26 years agoRebuild after recent changes.
Jeff Law [Fri, 12 Dec 1997 15:58:02 +0000 (08:58 -0700)]
Rebuild after recent changes.

From-SVN: r17074

26 years agoosf2or3.h (LIB_SPEC): Restore missing defn.
Jason Merrill [Fri, 12 Dec 1997 10:31:22 +0000 (10:31 +0000)]
osf2or3.h (LIB_SPEC): Restore missing defn.

* alpha/osf2or3.h (LIB_SPEC): Restore missing defn.
Lost in 11/02 merge.

* pa.h (TEXT_SPACE_P): Use TREE_CODE_CLASS.
* pa.md (iorsi3): Add missing args to *_operand calls.
Simple bugs shown up by recent changes.

From-SVN: r17071

26 years agoexcept.c (call_get_eh_context): Don't mess with sequences.
Jason Merrill [Fri, 12 Dec 1997 09:23:52 +0000 (09:23 +0000)]
except.c (call_get_eh_context): Don't mess with sequences.

* except.c (call_get_eh_context): Don't mess with sequences.
(emit_eh_context): Include the call in the sequence here.

From-SVN: r17070

26 years agoFinish last change. I'm no emacs wizard :(
Jeff Law [Fri, 12 Dec 1997 09:00:19 +0000 (02:00 -0700)]
Finish last change.  I'm no emacs wizard :(

From-SVN: r17069

26 years agoFix minor bug in BeOS changes.
Jeff Law [Fri, 12 Dec 1997 08:50:19 +0000 (01:50 -0700)]
Fix minor bug in BeOS changes.

From-SVN: r17068

26 years agoRevert last change
Jeff Law [Fri, 12 Dec 1997 08:13:05 +0000 (01:13 -0700)]
Revert last change

From-SVN: r17067

26 years agocollect2.c (write_c_file_glob): Allocate initial frame object in static storage and...
Paul Eggert [Fri, 12 Dec 1997 07:37:57 +0000 (07:37 +0000)]
collect2.c (write_c_file_glob): Allocate initial frame object in static storage and pass its address.

        * collect2.c (write_c_file_glob): Allocate initial frame object
        in static storage and pass its address.

From-SVN: r17066

26 years agoexcept.c (call_get_eh_context): Don't take a parm.
Jason Merrill [Fri, 12 Dec 1997 07:35:04 +0000 (07:35 +0000)]
except.c (call_get_eh_context): Don't take a parm.

* except.c (call_get_eh_context): Don't take a parm.
Put the call at the top of the function.
(emit_eh_context): Adjust.
(get_eh_context): Replace with former use_eh_context.
(get_eh_context_once, get_saved_pc_ref): Remove.
(start_eh_unwinder, end_eh_unwinder, emit_unwinder): Remove.
* except.h: Adjust.
* integrate.c (expand_inline_function): Adjust.
* toplev.c (rest_of_compilation): Don't call emit_unwinder.

tidy tidy tidy

From-SVN: r17065

26 years agoxm-go32.h (EXECUTABLE_SUFFIX): Define.
Marc Lehmann [Fri, 12 Dec 1997 07:03:24 +0000 (07:03 +0000)]
xm-go32.h (EXECUTABLE_SUFFIX): Define.

        * i386/xm-go32.h (EXECUTABLE_SUFFIX): Define.
        (DIR_SEPARATOR, NO_SYS_SIGLIST): Likewise.

From-SVN: r17064

26 years agolinux.h (STACK_BOUNDARY): Define as 64 for glibc2.
Dave Love [Fri, 12 Dec 1997 06:55:33 +0000 (06:55 +0000)]
linux.h (STACK_BOUNDARY): Define as 64 for glibc2.

        * i386/linux.h (STACK_BOUNDARY): Define as 64 for glibc2.
        * i386/gnu.h (STACK_BOUNDARY): Define as 64.

From-SVN: r17063

26 years agofixincludes (str{len,spn,cspn} return value): Handle different layout on sysV88.
Manfred Hollstein [Fri, 12 Dec 1997 06:53:30 +0000 (06:53 +0000)]
fixincludes (str{len,spn,cspn} return value): Handle different layout on sysV88.

        * fixincludes (str{len,spn,cspn} return value): Handle different
        layout on sysV88.
        (hypot): Provide a fake for hypot which is broken on
        m88k-motorola-sysv3.

From-SVN: r17062

26 years agotree.c, tree.h: Change tree_code_type, tree_code_length, and tree_code_name from...
John F. Carr [Fri, 12 Dec 1997 06:49:29 +0000 (06:49 +0000)]
tree.c, tree.h: Change tree_code_type, tree_code_length, and tree_code_name from pointers to arrays.

        * tree.c, tree.h: Change tree_code_type, tree_code_length, and
        tree_code_name from pointers to arrays.
        * tree.c: Remove standard_tree_code_* variables, no longer used.
        * print-tree.c: Remove declaration of tree_code_name.

        * cp/lex.c (init_lex): Update for tree_code_* changes.
        * objc/objc-act.c (init_objc): Likewise.

        * tree.def, cp/cp-tree.def, objc/objc-tree.def: Update for tree_code
        changes.

From-SVN: r17061

26 years agocvs commit ChangeLog config.sub configure configure.in toplev.c
Fred Fish [Fri, 12 Dec 1997 06:36:11 +0000 (06:36 +0000)]
cvs commit ChangeLog config.sub configure configure.in toplev.c

From-SVN: r17060

26 years ago* config.guess: Add BeOS support.
Fred Fish [Fri, 12 Dec 1997 06:28:39 +0000 (06:28 +0000)]
* config.guess: Add BeOS support.

From-SVN: r17059

26 years agom68k.h (GO_IF_LEGITIMATE_ADDRESS): No longer cater to horribly old and broken Sun3...
Jeffrey A Law [Fri, 12 Dec 1997 06:23:19 +0000 (06:23 +0000)]
m68k.h (GO_IF_LEGITIMATE_ADDRESS): No longer cater to horribly old and broken Sun3 assemblers.

        * m68k.h (GO_IF_LEGITIMATE_ADDRESS): No longer cater to horribly
        old and broken Sun3 assemblers.  Newer versions handle large
        offsets correctly as does the GNU assembler.

Co-Authored-By: Toon Moene <toon@moene.indiv.nluug.nl>
From-SVN: r17058

26 years agoobjc-act.c (lang_report_error_function): Disable.
H.J. Lu [Fri, 12 Dec 1997 06:20:41 +0000 (06:20 +0000)]
objc-act.c (lang_report_error_function): Disable.

        * objc/objc-act.c (lang_report_error_function): Disable.
        * objc/objc-parse.y: Include "output.h".
        (yyerror): Remove redundant decl.
        (yyprint): Fix prototype.
        (apply_args_register_offset): Remove redundant decl.
        (get_file_function_name): Likewise.

From-SVN: r17057

26 years agodecl2.c (comdat_linkage): Also set DECL_COMDAT.
Jason Merrill [Fri, 12 Dec 1997 06:20:32 +0000 (06:20 +0000)]
decl2.c (comdat_linkage): Also set DECL_COMDAT.

* decl2.c (comdat_linkage): Also set DECL_COMDAT.
(finish_file): Check DECL_COMDAT instead of weak|one_only.
(import_export_vtable): Use make_decl_one_only instead of
  comdat_linkage for win32 tweak.
(import_export_decl): Likewise.
* pt.c (mark_decl_instantiated): Likewise.

Fix libgcc with -O3.

From-SVN: r17056

26 years agoflow.c (find_basic_blocks): A CALL_INSN that can throw starts a new basic block.
Jason Merrill [Fri, 12 Dec 1997 06:12:03 +0000 (06:12 +0000)]
flow.c (find_basic_blocks): A CALL_INSN that can throw starts a new basic block.

* flow.c (find_basic_blocks): A CALL_INSN that can throw starts
a new basic block.
(find_basic_blocks_1): Likewise.

From-SVN: r17055

26 years agoexcept.c (use_eh_context): Don't copy_rtx a REG.
Jason Merrill [Fri, 12 Dec 1997 05:15:30 +0000 (05:15 +0000)]
except.c (use_eh_context): Don't copy_rtx a REG.

* except.c (use_eh_context): Don't copy_rtx a REG.
(emit_throw): Lose old unwinder support.
(expand_internal_throw): Likewise.
* libgcc2.c (struct eh_context): Likewise.
(new_eh_context): Likewise.
(__get_eh_info): Lose redundant cast.
(__get_dynamic_handler_chain): Likewise.
(__get_saved_pc): Lose.
Lose all old unwinder support code.

* decl2.c (finish_file): Lose call to expand_builtin_throw.
* except.c (expand_builtin_throw): Remove.
* cp-tree.h: Remove ptr_ptr_type_node.
* decl.c: Likewise.

From-SVN: r17054