platform/upstream/gcc.git
25 years ago* i386.md (ashlsi3 splitter): Fix typo in last change.
Hans-Peter Nilsson [Tue, 9 Mar 1999 14:27:57 +0000 (14:27 +0000)]
* i386.md (ashlsi3 splitter): Fix typo in last change.

From-SVN: r25654

25 years agocalls.c (compute_argument_addresses): New function.
Jeffrey A Law [Tue, 9 Mar 1999 14:05:13 +0000 (14:05 +0000)]
calls.c (compute_argument_addresses): New function.

        * calls.c (compute_argument_addresses): New function.
        (rtx_for_function_call): New function.
        (expand_call): Use them.

From-SVN: r25653

25 years agoreg-stack.c (stack_reg_life_analysis): Use returnjump_p instead of an explicit test...
Richard Henderson [Tue, 9 Mar 1999 11:36:25 +0000 (03:36 -0800)]
reg-stack.c (stack_reg_life_analysis): Use returnjump_p instead of an explicit test for RETURN.

        * reg-stack.c (stack_reg_life_analysis): Use returnjump_p
        instead of an explicit test for RETURN.

From-SVN: r25652

25 years agoWarning fix:
Kaveh R. Ghazi [Tue, 9 Mar 1999 06:40:49 +0000 (06:40 +0000)]
Warning fix:

        * Makefile.in (toplev.o): Depend on $(BASIC_BLOCK_H).
        * toplev.c: Include basic-block.h.

From-SVN: r25651

25 years agoi386.md (zero_extendhisi2): Split into an expander and anonymous pattern.
Jeffrey A Law [Tue, 9 Mar 1999 01:09:52 +0000 (01:09 +0000)]
i386.md (zero_extendhisi2): Split into an expander and anonymous pattern.

        * i386.md (zero_extendhisi2): Split into an expander and anonymous
        pattern.  Add new anonymous pattern for use when optimizing for
        size or for the PPro.
        (zero_extendqihi2, zero_extendqisi2): Likewise.

From-SVN: r25650

25 years agoDaily bump.
Jeff Law [Tue, 9 Mar 1999 00:45:35 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25649

25 years agohaifa-sched.c (sched_analyze_1): Fix last change -- add clobber dependancies to sets...
Richard Henderson [Mon, 8 Mar 1999 23:45:12 +0000 (15:45 -0800)]
haifa-sched.c (sched_analyze_1): Fix last change -- add clobber dependancies to sets in the non-hard-reg case too.

        * haifa-sched.c (sched_analyze_1): Fix last change -- add clobber
        dependancies to sets in the non-hard-reg case too.

From-SVN: r25648

25 years agoi386.md (ashlsi3): Revise comments.
Jeffrey A Law [Mon, 8 Mar 1999 23:31:28 +0000 (23:31 +0000)]
i386.md (ashlsi3): Revise comments.

        * i386.md (ashlsi3): Revise comments.  Provide new anonymous
        pattern for Pentium and PPro/PII.  Reverse constraints in
        generic ashlsi3 anonymous pattern.

From-SVN: r25647

25 years agocalls.c (initialize_argument_info): Accept a pointer to CUMULATIVE_ARGS.
Jeffrey A Law [Mon, 8 Mar 1999 21:57:56 +0000 (21:57 +0000)]
calls.c (initialize_argument_info): Accept a pointer to CUMULATIVE_ARGS.

        * calls.c (initialize_argument_info): Accept a pointer to
        CUMULATIVE_ARGS.
        (expand_call): Pass the address of CUMULATIVE_ARGS.

From-SVN: r25646

25 years agoopenbsd.h (HANDLE_SYSV_PRAGMA): Define.
Jeff Law [Mon, 8 Mar 1999 20:40:08 +0000 (13:40 -0700)]
openbsd.h (HANDLE_SYSV_PRAGMA): Define.

        * config/openbsd.h (HANDLE_SYSV_PRAGMA): Define.
        * rs6000/xm-sysv4.h (HOST_BITS_PER_LONGLONG): Remove #if 0.
        * mn10300.h (CASE_DROPS_THROUGH): Delete.
        * mn10200.h (CASE_DROPS_THROUGH): Delete.
        * h8300.h (CASE_DROPS_THROUGH): Delete.

From-SVN: r25645

25 years agoFix performance problem on SH with unnecessary move instructions.
Jim Wilson [Mon, 8 Mar 1999 17:50:37 +0000 (17:50 +0000)]
Fix performance problem on SH with unnecessary move instructions.

* local-alloc.c (combine_regs): Don't combine if we have a hard reg
for which CLASS_LIKELY_SPILLED_P is true.

From-SVN: r25644

25 years agoFix cygwin toolchain build failure reported by Geoffrey Noer.
Jim Wilson [Mon, 8 Mar 1999 16:09:05 +0000 (16:09 +0000)]
Fix cygwin toolchain build failure reported by Geoffrey Noer.

* unroll.c (loop_iterations): Only call loop_find_equiv_value if we
have a REG or SUBREG.

From-SVN: r25643

25 years agoflow.c (merge_blocks_nomove): For HAVE_cc0 targets...
Jeffrey A Law [Mon, 8 Mar 1999 14:40:47 +0000 (14:40 +0000)]
flow.c (merge_blocks_nomove): For HAVE_cc0 targets...


        * flow.c (merge_blocks_nomove): For HAVE_cc0 targets, make sure
        to also delete the cc0 setter when deleting a conditional branch
        to the next block.

From-SVN: r25642

25 years agolex.c (java_parse_end_comment): Take extra parameter (next char).
Per Bothner [Mon, 8 Mar 1999 13:34:12 +0000 (13:34 +0000)]
lex.c (java_parse_end_comment): Take extra parameter (next char).


* lex.c (java_parse_end_comment):  Take extra parameter (next char).
* class.c (build_utf8_ref):  Fix possible name class/ambiguity.
* class.c (layout_class_method):  A static method in a base class
is never overridden, so treat it like it doesn't exist.
However, do complain about private non-static method overriding
public static method.
* parse.y:  Don't set unused INITIALIZED_P flag.
* java-tree.h (INITIALIZED_P):  Removed no-longer needed flag.
* parse.y (find_expr_with_wfl):  Optimize tail-calls.
(build_array_from_name):  Re-order &index[string] to &string[index].
* parse.y (java_complete_tree):  Don't call patch_assignment if rhs is
error_mark (it might catch more errors, but it is more likely to lose).

From-SVN: r25641

25 years ago*** empty log message ***
Per Bothner [Mon, 8 Mar 1999 13:34:10 +0000 (05:34 -0800)]
*** empty log message ***

From-SVN: r25640

25 years ago* regmove.c (copy_src_to_dest): New argument max_old_uid.
J"orn Rennecke [Mon, 8 Mar 1999 10:51:28 +0000 (10:51 +0000)]
* regmove.c (copy_src_to_dest): New argument max_old_uid.

From-SVN: r25639

25 years agofixincl-branch merge
Bruce Korb [Mon, 8 Mar 1999 08:26:56 +0000 (08:26 +0000)]
fixincl-branch merge

From-SVN: r25638

25 years agoImprove testiness
Craig Burley [Mon, 8 Mar 1999 06:34:47 +0000 (06:34 +0000)]
Improve testiness

From-SVN: r25637

25 years agoNew tests
Craig Burley [Mon, 8 Mar 1999 06:30:51 +0000 (06:30 +0000)]
New tests

From-SVN: r25636

25 years agoDaily bump.
Jeff Law [Mon, 8 Mar 1999 00:45:03 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25635

25 years agoimprove testiness
Craig Burley [Mon, 8 Mar 1999 00:14:12 +0000 (00:14 +0000)]
improve testiness

From-SVN: r25631

25 years agomove test from execute to compile
Craig Burley [Sun, 7 Mar 1999 18:09:27 +0000 (18:09 +0000)]
move test from execute to compile

From-SVN: r25630

25 years agohaifa-sched.c (ENCODE_BLOCKAGE): Don't shift unit too far.
Richard Henderson [Sun, 7 Mar 1999 11:50:32 +0000 (03:50 -0800)]
haifa-sched.c (ENCODE_BLOCKAGE): Don't shift unit too far.

        * haifa-sched.c (ENCODE_BLOCKAGE): Don't shift unit too far.
        (print_exp): Special case addition of a constant.
        (print_value) [CONST_INT]: Use HOST_WIDE_INT_PRINT_HEX.

From-SVN: r25629

25 years agohaifa-sched.c (reg_last_clobbers): New.
Richard Henderson [Sun, 7 Mar 1999 11:22:10 +0000 (03:22 -0800)]
haifa-sched.c (reg_last_clobbers): New.

        * haifa-sched.c (reg_last_clobbers): New.
        (reg_pending_clobbers, bb_reg_last_clobbers): New.
        (compute_block_backward_dependences): Allocate memory for them.
        (schedule_region): Likewise.
        (sched_analyze_1): Clobbers don't interfere with one another.
        They do interfere with sets ...
        (sched_analyze_2): ... and uses.
        (sched_analyze): Likewise.
        (sched_analyze_insn): Update reg_last_clobbers appropriately.

From-SVN: r25628

25 years agogmon-sol2.c: Include config.h and system.h.
Kaveh R. Ghazi [Sun, 7 Mar 1999 05:46:30 +0000 (05:46 +0000)]
gmon-sol2.c: Include config.h and system.h.

        * gmon-sol2.c: Include config.h and system.h.  Don't redundantly
        include system header files.
        (sccsid): Remove.
        (moncontrol, monstartup, _mcleanup, internal_mcount): Prototype.
        (_mcleanup): Add the `const' keyword to a char*.
        (internal_mcount): Declare `etext' as a char[] not a function.
        Cast `etext' to char* when calling `monstartup'.
        * sparc.c (frame_base_name, save_regs, restore_regs,
        build_big_number, sparc_cmodel_string, sparc_align_loops_string,
        sparc_align_jumps_string, sparc_align_funcs_string, code_model,
        cpu_default, cpu_table, output_function_prologue,
        output_function_epilogue, output_return,
        sparc_flat_output_function_prologue, ultra_code_names,
        sparc_flat_output_function_epilogue): Constify a char*.
        (hypersparc_adjust_cost): Add a default case in a switch.
        * sparc.h (sparc_cmodel_string, OVERRIDE_OPTIONS,
        sparc_cpu_select, sparc_align_loops_string,
        sparc_align_jumps_string, sparc_align_funcs_string,
        output_return): Constify a char*.
        * sparc.md (movdi): Change the comparison of HOST_BITS_PER_WIDE_INT
        so that we check "== 32", instead of "!= 64".  Cast a value to
        HOST_WIDE_INT when comparing against one.  Hide the declaration
        for variable `chain'.

From-SVN: r25627

25 years agosystem.h (const, inline): Move the stage2 handling of these keywords-as-macros from...
Kaveh R. Ghazi [Sun, 7 Mar 1999 05:21:41 +0000 (05:21 +0000)]
system.h (const, inline): Move the stage2 handling of these keywords-as-macros from here...

        * system.h (const, inline): Move the stage2 handling of these
        keywords-as-macros from here...
        * gansidecl.h (const, inline): ...to here.
(This became necessary after using `const' in config directory headers,
which get included before system.h does.  If we're going to reset these
keywords, we must do so before absolutely any other header file.)

From-SVN: r25626

25 years agoList TREE_INDIRECT_USING as application of TREE_LANG_FLAG_0.
Martin v. Löwis [Sun, 7 Mar 1999 04:39:44 +0000 (04:39 +0000)]
List TREE_INDIRECT_USING as application of TREE_LANG_FLAG_0.

From-SVN: r25625

25 years ago* recog.c (push_operand, pop_operand): VOIDmode needn't match modes.
Richard Henderson [Sun, 7 Mar 1999 02:45:29 +0000 (18:45 -0800)]
* recog.c (push_operand, pop_operand): VOIDmode needn't match modes.

From-SVN: r25624

25 years ago* cse.c (canon_hash): Never reject hard regs in CCmode.
Richard Henderson [Sun, 7 Mar 1999 02:00:27 +0000 (18:00 -0800)]
* cse.c (canon_hash): Never reject hard regs in CCmode.

From-SVN: r25623

25 years agoBump for snapshot
Jeffrey A Law [Sun, 7 Mar 1999 01:15:09 +0000 (18:15 -0700)]
Bump for snapshot

From-SVN: r25621

25 years agoDaily bump.
Jeff Law [Sun, 7 Mar 1999 00:45:03 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25620

25 years agofix
Jason Merrill [Sat, 6 Mar 1999 18:22:21 +0000 (13:22 -0500)]
fix

From-SVN: r25619

25 years agocp-tree.h (struct lang_type): Add anon_union field.
Jason Merrill [Sat, 6 Mar 1999 17:41:36 +0000 (17:41 +0000)]
cp-tree.h (struct lang_type): Add anon_union field.

* cp-tree.h (struct lang_type): Add anon_union field.
(ANON_UNION_TYPE_P): Use it instead of examining type.
(SET_ANON_UNION_TYPE_P): New macro.
* decl.c (check_tag_decl): Use it.
* search.c (compute_access): Handle non-type contexts earlier, and
handle NULL_TREE.
* tree.c (build_exception_variant): Use copy_to_permanent.

From-SVN: r25618

25 years agoflow.c (make_edges): Handle casesi that jump to default branch.
Richard Earnshaw [Sat, 6 Mar 1999 17:19:39 +0000 (17:19 +0000)]
flow.c (make_edges): Handle casesi that jump to default branch.

        * flow.c (make_edges): Handle casesi that jump to default branch.
        If CASE_DROPS_THROUGH, force fallthru to block after casesi.

Co-Authored-By: Richard Henderson <rth@cygnus.com>
From-SVN: r25617

25 years agoMakefile.in (jcf-parse.o): Depend on $(PARSE_H).
Kaveh R. Ghazi [Sat, 6 Mar 1999 08:35:49 +0000 (08:35 +0000)]
Makefile.in (jcf-parse.o): Depend on $(PARSE_H).

        * Makefile.in (jcf-parse.o): Depend on $(PARSE_H).
        (parse-scan.o): Depend on toplev.h.
        * class.c (make_method_value): Add prototype.  Make it static.
        Remove unused second argument, caller changed.
        * expr.c (java_lang_expand_expr): Remove unused variable
        `return_label'.
        * java-tree.h: Don't prototype find_in_current_zip.
        Add prototypes for verify_constant_pool, start_java_method,
        end_java_method, give_name_to_locals, expand_byte_code,
        open_in_zip, set_constant_value, find_constant1, find_constant2,
        find_utf8_constant, find_string_constant, find_class_constant,
        find_fieldref_index, find_methodref_index, write_constant_pool,
        count_constant_pool_bytes and encode_newarray_type.
        * jcf-dump.c: Remove unused variable `LONG_temp'.
        * jcf-parse.c: Include parse.h.
        (jcf_parse_source): Remove unused parameter, all callers changed.
        (jcf_figure_file_type): Add static prototype.
        (find_in_current_zip): Likewise.  Also remove unused parameter,
        all callers changed.
        (read_class): Initialize variable `saved_pos'.
        * jcf-reader.c (jcf_parse_preamble): Mark variables
        `minor_version' and `major_version' with ATTRIBUTE_UNUSED.
        * lex.c (java_is_eol): Wrap prototype and definition in !JC1_LITE.
        (java_init_lex): Wrap variable `java_lang_imported' in !JC1_LITE.
        (java_parse_doc_section): Initialize variable `seen_star'.
        (java_lex): Wrap variable `number_beginning' in !JC1_LITE.
        (java_lex_error): Mark parameters `msg' and `forward' with
        ATTRIBUTE_UNUSED.
        (java_get_line_col): Mark parameters `filename' and `line' with
        ATTRIBUTE_UNUSED.
        * parse-scan.y: Include toplev.h.
        (yyerror): Mark parameter `msg' with ATTRIBUTE_UNUSED.
        * parse.h: use `struct JCF', not plain `JCF'.
        (java_parser_context_save_global, java_expand_classes
        java_parser_context_restore_global, java_parse): Add prototypes.
        * typeck.c (convert_ieee_real_to_integer): Remove unused variable
        `node'.

From-SVN: r25616

25 years agoNew (old) tests, just started failing this past week
Craig Burley [Sat, 6 Mar 1999 07:16:13 +0000 (07:16 +0000)]
New (old) tests, just started failing this past week

From-SVN: r25615

25 years agoc-aux-info.c (data_type, [...]): Qualify a char* with the `const' keyword.
Kaveh R. Ghazi [Sat, 6 Mar 1999 05:34:26 +0000 (05:34 +0000)]
c-aux-info.c (data_type, [...]): Qualify a char* with the `const' keyword.

        * c-aux-info.c (data_type, affix_data_type, gen_decl,
        gen_formal_list_for_type, gen_formal_list_for_func_def, gen_type):
        Qualify a char* with the `const' keyword.
        * c-common.c (declare_hidden_char_array, add_attribute, if_elt,
        declare_function_name, decl_attributes, format_char_info,
        check_format_info, binary_op_error): Likewise.
        * cexp.y (yyerror, error, pedwarn, warning, token): Likewise.
        * gcse.c (dump_hash_table): Likewise.
        * integrate.c (function_cannot_inline_p): Likewise
        * optabs.c: Include insn-config.h earlier.
        (init_libfuncs, init_integral_libfuncs, init_floating_libfuncs):
        Qualify a char* with the `const' keyword.
        * real.c (asctoe24, asctoe53, asctoe64, asctoe113, asctoe,
        asctoeg, mtherr, ereal_atof): Likewise.
        * real.h (ereal_atof): Likewise.
        * sbitmap.c (dump_sbitmap_vector): Likewise.
        * sbitmap.h (dump_sbitmap_vector): Likewise.
        * stmt.c (nesting, n_occurrences, expand_start_case): Likewise.
        * toplev.c (rest_of_compilation): Likewise.
        * tree.h (function_cannot_inline_p, expand_start_case): Likewise.

From-SVN: r25614

25 years agodecl2.c (setup_initp): Give statics with no priority the default priority here.
Jason Merrill [Sat, 6 Mar 1999 03:54:30 +0000 (03:54 +0000)]
decl2.c (setup_initp): Give statics with no priority the default priority here.

* decl2.c (setup_initp): Give statics with no priority the default
priority here.
(do_dtors, do_ctors, finish_file): Remove special handling of
non-prioritized statics.

From-SVN: r25613

25 years agoDaily bump.
Jeff Law [Sat, 6 Mar 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25612

25 years ago[Nilsson] Add dependencies
Craig Burley [Sat, 6 Mar 1999 00:02:54 +0000 (00:02 +0000)]
[Nilsson] Add dependencies

From-SVN: r25611

25 years agoUpdate NEWS derived file
Craig Burley [Fri, 5 Mar 1999 23:41:03 +0000 (18:41 -0500)]
Update NEWS derived file

From-SVN: r25610

25 years agoWarn about invoking non-Y2K-compliant intrinsics
Craig Burley [Fri, 5 Mar 1999 23:40:12 +0000 (23:40 +0000)]
Warn about invoking non-Y2K-compliant intrinsics

From-SVN: r25609

25 years agors6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Add 64-bit support and do not overwrite AIX...
David Edelsohn [Fri, 5 Mar 1999 21:19:46 +0000 (21:19 +0000)]
rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Add 64-bit support and do not overwrite AIX link register save area.

        * rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Add 64-bit support and do
        not overwrite AIX link register save area.

From-SVN: r25608

25 years agocp-tree.h (ANON_UNION_TYPE_P): Robustify.
Mark Mitchell [Fri, 5 Mar 1999 16:38:54 +0000 (16:38 +0000)]
cp-tree.h (ANON_UNION_TYPE_P): Robustify.

* cp-tree.h (ANON_UNION_TYPE_P): Robustify.
* decl.c (make_typename_type): Don't issue an error if an
immediate lookup fails; it migt be resolved later.
* friend.c (is_friend): Add comment.
* search.c (breadth_first_search): Add POSTFN and DATA
parameters.  Tidy.  All callers changed.
(lookup_field_queue_p): New function.
(lookup_field_r): Likewise.
(lookup_field_post): Likewise.
(lookup_field): Use them, via breadth_first_search, instead of
duplicating logic.
(compute_access): Robustify.
(lookup_fnfield_info): New structure.

From-SVN: r25607

25 years agoFix date.
Joern Rennecke [Fri, 5 Mar 1999 15:09:39 +0000 (15:09 +0000)]
Fix date.

From-SVN: r25606

25 years agoreload.c (find_reloads_subreg_address): Actually create the USE for the register...
J"orn Rennecke [Fri, 5 Mar 1999 15:07:56 +0000 (15:07 +0000)]
reload.c (find_reloads_subreg_address): Actually create the USE for the register, not the new memory location.

* reload.c (find_reloads_subreg_address): Actually create the USE
for the register, not the new memory location.

From-SVN: r25605

25 years agoreload1.c (emit_reload_insns): If pseudo that can't be replaced with its equivalent...
J"orn Rennecke [Fri, 5 Mar 1999 13:43:54 +0000 (13:43 +0000)]
reload1.c (emit_reload_insns): If pseudo that can't be replaced with its equivalent constant...

* reload1.c (emit_reload_insns): If pseudo that can't be replaced
with its equivalent constant, fall back to reload_in.

From-SVN: r25604

25 years ago* Makefile.in: Delete .flow2 debugging files.
Richard Henderson [Fri, 5 Mar 1999 13:21:21 +0000 (05:21 -0800)]
* Makefile.in: Delete .flow2 debugging files.

From-SVN: r25603

25 years agoFix default cpu selection
Nick Clifton [Fri, 5 Mar 1999 11:38:13 +0000 (11:38 +0000)]
Fix default cpu selection

From-SVN: r25602

25 years ago* pt.c (tsubst, case ARRAY_REF): Use tsubst_expr again.
Jason Merrill [Fri, 5 Mar 1999 11:29:22 +0000 (11:29 +0000)]
* pt.c (tsubst, case ARRAY_REF): Use tsubst_expr again.

From-SVN: r25601

25 years agosh.h (SLOW_BYTE_ACCESS): Define to 1.
J"orn Rennecke [Fri, 5 Mar 1999 11:28:33 +0000 (11:28 +0000)]
sh.h (SLOW_BYTE_ACCESS): Define to 1.

* sh.h (SLOW_BYTE_ACCESS): Define to 1.
(BOOL_TYPE_SIZE): Define.

From-SVN: r25600

25 years agonew
Jason Merrill [Fri, 5 Mar 1999 11:27:06 +0000 (06:27 -0500)]
new

From-SVN: r25599

25 years agoupdate NEWS, intdoc.texi derived files
Craig Burley [Fri, 5 Mar 1999 10:26:20 +0000 (05:26 -0500)]
update NEWS, intdoc.texi derived files

From-SVN: r25598

25 years agoUpdate news item about IDATE (VXT) fix timeline
Craig Burley [Fri, 5 Mar 1999 10:22:50 +0000 (10:22 +0000)]
Update news item about IDATE (VXT) fix timeline

From-SVN: r25597

25 years agoconfigure.in: Support shared libs on FreeBSD 3.x and 4.x
Doug Rabson [Fri, 5 Mar 1999 01:21:14 +0000 (01:21 +0000)]
configure.in: Support shared libs on FreeBSD 3.x and 4.x

        * configure.in: Support shared libs on FreeBSD 3.x and 4.x
        * config/freebsd.ml: A copy of config/linux.ml since they are both
        ELF and both have a shared libm.

From-SVN: r25594

25 years agofunction.c (assign_stack_temp_for_type): Abort if mode == Blkmode and align is less...
John Wehle [Fri, 5 Mar 1999 01:19:25 +0000 (01:19 +0000)]
function.c (assign_stack_temp_for_type): Abort if mode == Blkmode and align is less than BIGGEST_ALIGNMENT / BITS_PER_UNIT.

        * function.c (assign_stack_temp_for_type): Abort
        if mode == Blkmode and align is less than
        BIGGEST_ALIGNMENT / BITS_PER_UNIT.
        (assign_stack_temp_for_type): Round the size parameter
        passed to assign_stack_local instead of size itself.
Bootstrapped on the PA and x86.

From-SVN: r25593

25 years agoDaily bump.
Jeff Law [Fri, 5 Mar 1999 00:45:06 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25592

25 years agolinuxlibc1.mt (MT_CFLAGS): Add -D_G_STDIO_USES_LIBIO -D_G_HAVE_WEAK_SYMBOL.
H.J. Lu [Fri, 5 Mar 1999 00:19:16 +0000 (00:19 +0000)]
linuxlibc1.mt (MT_CFLAGS): Add -D_G_STDIO_USES_LIBIO -D_G_HAVE_WEAK_SYMBOL.

* config/linuxlibc1.mt (MT_CFLAGS): Add -D_G_STDIO_USES_LIBIO
-D_G_HAVE_WEAK_SYMBOL.
* genops.c: Add the proper weak alias if _G_STDIO_USES_LIBIO
and _G_HAVE_WEAK_SYMBOL are defined.
* iofclose.c: Likewise.
* iofeof.c: Likewise.
* ioferror.c: Likewise.
* iogetc.c: Likewise.
* ioputc.c: Likewise.
* iovsprintf.c: Likewise.
* iovsscanf.c: Likewise.

From-SVN: r25590

25 years agoRemove duplicate of typename3.C
Mark Mitchell [Thu, 4 Mar 1999 22:19:36 +0000 (22:19 +0000)]
Remove duplicate of typename3.C

From-SVN: r25588

25 years agoflow.c (delete_unreachable_blocks): Mark blocks as they are put on to the worklist...
Richard Henderson [Thu, 4 Mar 1999 15:01:06 +0000 (07:01 -0800)]
flow.c (delete_unreachable_blocks): Mark blocks as they are put on to the worklist, not as they are taken off.

        * flow.c (delete_unreachable_blocks): Mark blocks as they
        are put on to the worklist, not as they are taken off.

From-SVN: r25584

25 years agoDaily bump.
Jeff Law [Thu, 4 Mar 1999 00:45:04 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25573

25 years agofunction.c (current_function_has_computed_jump): Remove duplicate definition.
Jeffrey A Law [Wed, 3 Mar 1999 23:13:41 +0000 (23:13 +0000)]
function.c (current_function_has_computed_jump): Remove duplicate definition.

        * function.c (current_function_has_computed_jump): Remove duplicate
        definition.

From-SVN: r25571

25 years agoRemove ChangeLog entries for flow rewrite for changes that were removed before they...
Richard Henderson [Wed, 3 Mar 1999 23:08:02 +0000 (15:08 -0800)]
Remove ChangeLog entries for flow rewrite for changes that were removed before they were checked in.

Remove ChangeLog entries for flow rewrite for changes that were removed
before they were checked in.  Add Makefile.in changes which were mentioned
in the ChangeLog, but never included in Makefile.in.

From-SVN: r25570

25 years agoMake C++ static constructors work for m68k-elf.
Jim Wilson [Wed, 3 Mar 1999 20:04:07 +0000 (20:04 +0000)]
Make C++ static constructors work for m68k-elf.

* m68k/m68020-elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Undef.
(STARTFILE_SPEC, ENDFILE_SPEC): Define to empty string.

From-SVN: r25565

25 years agoFix sparc-elf bugs stemming from solaris2 changes.
Jim Wilson [Wed, 3 Mar 1999 19:19:29 +0000 (19:19 +0000)]
Fix sparc-elf bugs stemming from solaris2 changes.

* sparc/elf.h (MULDI3_LIBCALL, DIVDI3_LIBCALL, UDIVDI3_LIBCALL,
MODDI3_LIBCALL, UMODDI3_LIBCALL, STDC_0_IN_SYSTEM_HEADERS): Undef.
(INIT_SUBTARGET_OPTABS): Define to empty.

From-SVN: r25564

25 years agoclass.c, [...]: Add 'static' to make SunOS 4 cc happy.
Jason Merrill [Wed, 3 Mar 1999 11:24:45 +0000 (11:24 +0000)]
class.c, [...]: Add 'static' to make SunOS 4 cc happy.

* class.c, decl2.c, method.c, pt.c: Add 'static' to make SunOS 4
cc happy.
* decl2.c (import_export_class): Also return if
CLASSTYPE_INTERFACE_ONLY is set.

From-SVN: r25562

25 years agoNew test case
Martin v. Löwis [Wed, 3 Mar 1999 11:23:47 +0000 (11:23 +0000)]
New test case

From-SVN: r25561

25 years agodecl.c (push_overloaded_decl): Only overwrite the old binding if there was one.
Martin v. Löwis [Wed, 3 Mar 1999 11:22:42 +0000 (11:22 +0000)]
decl.c (push_overloaded_decl): Only overwrite the old binding if there was one.

* decl.c (push_overloaded_decl): Only overwrite the old binding if
there was one.
* decl2.c (do_local_using_decl): Fix loop termination.

From-SVN: r25560

25 years agoMerge from fixincl-branch
Bruce Korb [Wed, 3 Mar 1999 08:07:47 +0000 (08:07 +0000)]
Merge from fixincl-branch

From-SVN: r25559

25 years agoMerge from fixincl-branch
Bruce Korb [Wed, 3 Mar 1999 07:41:52 +0000 (07:41 +0000)]
Merge from fixincl-branch

From-SVN: r25558

25 years agoDaily bump.
Jeff Law [Wed, 3 Mar 1999 00:45:33 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25555

25 years agocp-tree.h (determine_specialization): Don't declare.
Mark Mitchell [Tue, 2 Mar 1999 23:44:49 +0000 (23:44 +0000)]
cp-tree.h (determine_specialization): Don't declare.

* cp-tree.h (determine_specialization): Don't declare.
* pt.c (determine_specialization): Make it static.  Eliminate
complain parameter.  Note that decl is always non-NULL now, and
simplify accordingly.

From-SVN: r25554

25 years agodecl.c (maybe_push_to_top_level): Always call push_cp_function_context.
Mark Mitchell [Tue, 2 Mar 1999 23:29:37 +0000 (23:29 +0000)]
decl.c (maybe_push_to_top_level): Always call push_cp_function_context.

* decl.c (maybe_push_to_top_level): Always call
push_cp_function_context.
(pop_from_top_level): Always call pop_cp_function_context.

From-SVN: r25553

25 years agoUpdate NEWS derived file
Craig Burley [Tue, 2 Mar 1999 22:01:38 +0000 (17:01 -0500)]
Update NEWS derived file

From-SVN: r25552

25 years agoFix IDATE (VXT) intrinsic
Craig Burley [Tue, 2 Mar 1999 21:59:52 +0000 (21:59 +0000)]
Fix IDATE (VXT) intrinsic

From-SVN: r25551

25 years agoUpdate BUGS, NEWS derived files
Craig Burley [Tue, 2 Mar 1999 21:49:48 +0000 (16:49 -0500)]
Update BUGS, NEWS derived files

From-SVN: r25550

25 years agodoc changes from Dave Love left over
Craig Burley [Tue, 2 Mar 1999 21:45:55 +0000 (21:45 +0000)]
doc changes from Dave Love left over

From-SVN: r25549

25 years agofix references for HTML, etc.
Craig Burley [Tue, 2 Mar 1999 21:41:30 +0000 (21:41 +0000)]
fix references for HTML, etc.

From-SVN: r25548

25 years agodelete fixed bugs, describe one as appropriate news
Craig Burley [Tue, 2 Mar 1999 21:14:32 +0000 (21:14 +0000)]
delete fixed bugs, describe one as appropriate news

From-SVN: r25547

25 years agodoc 1.1.2 news in trunk
Craig Burley [Tue, 2 Mar 1999 21:06:55 +0000 (21:06 +0000)]
doc 1.1.2 news in trunk

From-SVN: r25546

25 years agoSupport -ax for Fortran code
Craig Burley [Tue, 2 Mar 1999 20:44:33 +0000 (20:44 +0000)]
Support -ax for Fortran code

From-SVN: r25545

25 years agofix STAT, LSTAT, FSTAT, DATE_AND_TIME docs
Craig Burley [Tue, 2 Mar 1999 20:40:59 +0000 (20:40 +0000)]
fix STAT, LSTAT, FSTAT, DATE_AND_TIME docs

From-SVN: r25544

25 years agofix news-doc item
Craig Burley [Tue, 2 Mar 1999 20:38:14 +0000 (20:38 +0000)]
fix news-doc item

From-SVN: r25543

25 years agoSplit old ChangeLog entries into ChangeLog.0
Craig Burley [Tue, 2 Mar 1999 20:35:06 +0000 (15:35 -0500)]
Split old ChangeLog entries into ChangeLog.0

From-SVN: r25542

25 years agoclarify g77 bug-reporting docs
Craig Burley [Tue, 2 Mar 1999 20:30:27 +0000 (20:30 +0000)]
clarify g77 bug-reporting docs

From-SVN: r25541

25 years agosh.c (force_into): New function.
J"orn Rennecke [Tue, 2 Mar 1999 16:42:59 +0000 (16:42 +0000)]
sh.c (force_into): New function.

* sh.c (force_into): New function.
(expand_block_move): Use it.

From-SVN: r25540

25 years agoAdd ability to display omitted search directories.
Nick Clifton [Tue, 2 Mar 1999 10:41:07 +0000 (10:41 +0000)]
Add ability to display omitted search directories.

From-SVN: r25539

25 years agoOops - fixed typos in previous delta
Nick Clifton [Tue, 2 Mar 1999 09:29:26 +0000 (09:29 +0000)]
Oops - fixed typos in previous delta

From-SVN: r25538

25 years agoRename gxx_include_dir to gcc_gxx_include_dir
Nick Clifton [Tue, 2 Mar 1999 09:25:31 +0000 (09:25 +0000)]
Rename gxx_include_dir to gcc_gxx_include_dir
Fix computation of gcc_tooldir.

From-SVN: r25537

25 years agoRename CYGNUS LOCAL to EGCS LOCAL
Nick Clifton [Tue, 2 Mar 1999 09:20:14 +0000 (09:20 +0000)]
Rename CYGNUS LOCAL to EGCS LOCAL

From-SVN: r25536

25 years agounroll.c (copy_loop_body): Don't make extra copies of NOTE_INSN_LOOP_CONT notes.
J"orn Rennecke [Tue, 2 Mar 1999 08:48:09 +0000 (08:48 +0000)]
unroll.c (copy_loop_body): Don't make extra copies of NOTE_INSN_LOOP_CONT notes.

* unroll.c (copy_loop_body): Don't make extra copies of
NOTE_INSN_LOOP_CONT notes.

From-SVN: r25535

25 years agotree.c (save_tree_status): Don't treat functions with no context as nested.
Mark Mitchell [Tue, 2 Mar 1999 07:42:49 +0000 (07:42 +0000)]
tree.c (save_tree_status): Don't treat functions with no context as nested.

* tree.c (save_tree_status): Don't treat functions with no context
as nested.

From-SVN: r25534

25 years agoMakefile.in (MAKEINFO): Use makeinfo built from sibling tree when available.
Robert Lipe [Tue, 2 Mar 1999 07:40:24 +0000 (07:40 +0000)]
Makefile.in (MAKEINFO): Use makeinfo built from sibling tree when available.

        * Makefile.in (MAKEINFO): Use makeinfo built from sibling
        tree when available.

From-SVN: r25533

25 years agoalpha.c (alpha_cpu_name, [...]): Add the `const' keyword.
Kaveh R. Ghazi [Tue, 2 Mar 1999 07:21:47 +0000 (07:21 +0000)]
alpha.c (alpha_cpu_name, [...]): Add the `const' keyword.

        * alpha.c (alpha_cpu_name, alpha_cpu_string, alpha_tp_string,
        alpha_fprm_string, alpha_fptm_string, alpha_mlat_string,
        current_function_file): Add the `const' keyword.
        (normal_memory_operand): Mark parameter `mode' with
        ATTRIBUTE_UNUSED.
        (alpha_expand_unaligned_load): Add a default case to a switch.
        * alpha.h (alpha_cpu_string, alpha_fprm_string, alpha_fptm_string,
        alpha_tp_string, alpha_mlat_string): Add the `const' keyword.
        (normal_memory_operand): Add prototype.
        * alpha.md: Cast an expression to `unsigned HOST_WIDE_INT' when
        comparing against one.

From-SVN: r25532

25 years agomips.c (abort_with_insn): Make function static...
Kaveh R. Ghazi [Tue, 2 Mar 1999 07:07:33 +0000 (07:07 +0000)]
mips.c (abort_with_insn): Make function static...

        * mips.c (abort_with_insn): Make function static, add a prototype,
        constify 2nd parameter and mark with ATTRIBUTE_NORETURN.
        (current_function_file, mips_cpu_string, mips_isa_string,
        mips_abi_string, mips_no_mips16_string, mips_entry_string,
        mips_move_1word, mips_move_2words, output_block_move, load_store,
        override_options, make_temp_file, mips16_fp_args): Qualify a char*
        with the `const' keyword.
        * mips.h (current_function_file, mips_cpu_string, mips_isa_string,
        mips_abi_string, mips_entry_string, mips_no_mips16_string,
        mips_move_1word, mips_move_2words, output_block_move): Likewise.
        (abort_with_insn): Remove extern prototype.
        * mips.md: Qualify a char* with the `const' keyword.
        Remove many unused variables named `label'.

From-SVN: r25531

25 years agoMakefile.in (cpp_install_dir, [...]): New variables.
H.J. Lu [Tue, 2 Mar 1999 00:59:35 +0000 (17:59 -0700)]
Makefile.in (cpp_install_dir, [...]): New variables.


        * Makefile.in (cpp_install_dir, INSTALL_CPP, UNINSTALL_CPP): New
        variables.
        (install-cpp, uninstall-cpp): New targets.
        (install-normal): Depend on $(INSTALL_CPP).
        (uninstall): Depend on $(UNINSTALL_CPP).
        * configure.in (cpp_install_dir): New, substitute.
        (tmake_file): Added t-install-cpp for --enable-cpp.
        * configure: Rebuilt.
        * cpp.sh: New cpp script.
        * config/t-install-cpp: New target fragment.

From-SVN: r25530

25 years agoMakefile.in (cpp_install_dir, [...]): New variables.
H.J. Lu [Tue, 2 Mar 1999 00:59:28 +0000 (17:59 -0700)]
Makefile.in (cpp_install_dir, [...]): New variables.

p
        * Makefile.in (cpp_install_dir, INSTALL_CPP, UNINSTALL_CPP): New
        variables.
        (install-cpp, uninstall-cpp): New targets.
        (install-normal): Depend on $(INSTALL_CPP).
        (uninstall): Depend on $(UNINSTALL_CPP).
        * configure.in (cpp_install_dir): New, substitute.
        (tmake_file): Added t-install-cpp for --enable-cpp.
        * configure: Rebuilt.
        * cpp.sh: New cpp script.
        * config/t-install-cpp: New target fragment.

From-SVN: r25529

25 years agoMakefile.in (cpp_install_dir, [...]): New variables.
H.J. Lu [Tue, 2 Mar 1999 00:59:26 +0000 (17:59 -0700)]
Makefile.in (cpp_install_dir, [...]): New variables.


        * Makefile.in (cpp_install_dir, INSTALL_CPP, UNINSTALL_CPP): New
        variables.
        (install-cpp, uninstall-cpp): New targets.
        (install-normal): Depend on $(INSTALL_CPP).
        (uninstall): Depend on $(UNINSTALL_CPP).
        * configure.in (cpp_install_dir): New, substitute.
        (tmake_file): Added t-install-cpp for --enable-cpp.
        * configure: Rebuilt.
        * cpp.sh: New cpp script.
        * config/t-install-cpp: New target fragment.

From-SVN: r25528

25 years agocse.c (fold_rtx): Update comments for (const (minus (label) (label))) case.
Franz Sirl [Tue, 2 Mar 1999 00:45:45 +0000 (00:45 +0000)]
cse.c (fold_rtx): Update comments for (const (minus (label) (label))) case.

        * cse.c (fold_rtx): Update comments for (const (minus (label) (label)))
        case.
        (cse_insn): Avoid creating a bogus REG_EQUAL note for
        (const (minus (label) (label)))
        (record_jump_cond): Fix mismatched paren in comment.
Fixes powerpc label-label problem.
Bootstraps on the x86.

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

25 years agoDaily bump.
Jeff Law [Tue, 2 Mar 1999 00:45:03 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r25526