gcc.git
25 years agomachmode.h (smallest_mode_for_size): Prototype.
Richard Henderson [Thu, 11 Mar 1999 13:56:20 +0000 (05:56 -0800)]
machmode.h (smallest_mode_for_size): Prototype.

        * machmode.h (smallest_mode_for_size): Prototype.
        * stor-layout.c (smallest_mode_for_size): Remove static.

From-SVN: r25703

25 years agoloop.c (strength_reduce): Don't do biv increment -> DEST_REG giv conversion if we...
J"orn Rennecke [Thu, 11 Mar 1999 13:28:55 +0000 (13:28 +0000)]
loop.c (strength_reduce): Don't do biv increment -> DEST_REG giv conversion if we don't know the lifetime.

* loop.c (strength_reduce): Don't do biv increment -> DEST_REG giv
conversion if we don't know the lifetime.

From-SVN: r25702

25 years agoreload.1c (delete_address_reloads_1): Check for reloads of CURRENT_INSN even if it...
J"orn Rennecke [Thu, 11 Mar 1999 12:44:27 +0000 (12:44 +0000)]
reload.1c (delete_address_reloads_1): Check for reloads of CURRENT_INSN even if it sets DST.

* reload.1c (delete_address_reloads_1):  Check for reloads of
CURRENT_INSN even if it sets DST.

From-SVN: r25701

25 years agodwarf2out.c (add_AT_lbl_offset): Rename from add_AT_section_offset.
Jason Merrill [Thu, 11 Mar 1999 10:34:01 +0000 (05:34 -0500)]
dwarf2out.c (add_AT_lbl_offset): Rename from add_AT_section_offset.

* dwarf2out.c (add_AT_lbl_offset): Rename from add_AT_section_offset.
(print_die, size_of_die, value_format, output_die): Adjust.
* dwarf2out.c (TEXT_SECTION_LAABEL, DEBUG_LINE_SECTION_LABEL,
DEBUG_INFO_SECTION_LABEL, ABBREV_SECTION_LABEL,
text_section_laabel, debug_line_section_label,
debug_info_section_label, abbrev_section_label): New.
(output_compilation_unit_header):  Emit label associated
with section instead of section name itself.
(out_pubnames, output_aranges, output_line_info,
dwarf2out_finish): Likewise.
(dwarf2out_init): Build internal label names for sections
from static labels.

From-SVN: r25700

25 years ago* sh.md (mulsi3): End mul.l sequence with a no-op move.
J"orn Rennecke [Thu, 11 Mar 1999 09:31:33 +0000 (09:31 +0000)]
* sh.md (mulsi3): End mul.l sequence with a no-op move.

From-SVN: r25699

25 years agoactivate fixinc/mkfixinc.sh
Bruce Korb [Thu, 11 Mar 1999 09:11:19 +0000 (09:11 +0000)]
activate fixinc/mkfixinc.sh

From-SVN: r25698

25 years agoActivating fast-fixincludes
Bruce Korb [Thu, 11 Mar 1999 08:53:13 +0000 (08:53 +0000)]
Activating fast-fixincludes

From-SVN: r25697

25 years agocppfiles.c (INO_T_EQ): Handle UWIN.
Mumit Khan [Thu, 11 Mar 1999 00:58:01 +0000 (00:58 +0000)]
cppfiles.c (INO_T_EQ): Handle UWIN.

        * cppfiles.c (INO_T_EQ): Handle UWIN.
        * c-common.c (decl_attributes): Flag unrecognized attribute
        functions as warnings instead of as errors.
        Support for i386-pc-uwin.
        * i386/uwin.h: New file.
        * i386/xm-uwin.h: New file.
        * i386/t-uwin: New file.
        * i386/uwin.asm: New file.
        * configure.in (i[3456]86-*-uwin*): Define.
        Add Workaround for vfork bug when hosted on uwin.
        * configure: Regenerate.
        * cccp.c (INO_T_EQ): Undefine. UWIN has inodes.
        (absolute_filename): UWIN uses POSIX pathnames only.
        * libgcc2.c (getpagesize): Do not define for UWIN.
        (mprotect): Likewise.
        * protoize.c (dirent.h): Conditionally include.
        (fputc): Prototype only if it's not a macro.

From-SVN: r25696

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

From-SVN: r25695

25 years agopexecute.c (__CYGWIN32__): Rename to
Mumit Khan [Thu, 11 Mar 1999 00:32:50 +0000 (00:32 +0000)]
pexecute.c (__CYGWIN32__): Rename to

        * pexecute.c (__CYGWIN32__): Rename to
        (__CYGWIN__): this.
        * xmalloc.c: Likewise.
        Changes to support i386-pc-uwin.
        * configure.in (*-*-uwin*): Workaround for vfork bug.
        * configure: Regenerate.
        * pexecute.c (pexecute): Be like standard Unix.
        (pwait): Likewise.
        * xmalloc.c (first_break): Define.
        (xmalloc_set_program_name): Use.
        (xmalloc): Use.

From-SVN: r25694

25 years agoconfig.sub: Add i386-uwin support.
Mumit Khan [Thu, 11 Mar 1999 00:20:22 +0000 (00:20 +0000)]
config.sub: Add i386-uwin support.

        * config.sub: Add i386-uwin support.
        * config.guess: Likewise.

From-SVN: r25693

25 years ago* configure.in: Remove init_priority stuff.
Jason Merrill [Thu, 11 Mar 1999 00:14:36 +0000 (00:14 +0000)]
* configure.in: Remove init_priority stuff.

From-SVN: r25692

25 years ago* configure.in: Add mh-*pic handling for alpha, arm, powerpc
Franz Sirl [Thu, 11 Mar 1999 00:11:25 +0000 (00:11 +0000)]
* configure.in: Add mh-*pic handling for alpha, arm, powerpc

From-SVN: r25691

25 years agoconfigure.in: Cleanup and add mh-*pic handling for arm, powerpc
Franz Sirl [Thu, 11 Mar 1999 00:10:48 +0000 (00:10 +0000)]
configure.in: Cleanup and add mh-*pic handling for arm, powerpc

Thu Mar 11 01:07:55 1999  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
        * configure.in: Cleanup and add mh-*pic handling for arm, powerpc

From-SVN: r25690

25 years agoconfig.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
Franz Sirl [Thu, 11 Mar 1999 00:10:20 +0000 (17:10 -0700)]
config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc

H
        * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc

From-SVN: r25689

25 years agoconfig.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
Franz Sirl [Thu, 11 Mar 1999 00:10:19 +0000 (17:10 -0700)]
config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc


        * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc

From-SVN: r25688

25 years agoconfigure.in: cleanup, add mh-*pic handling for arm, special case powerpc*-*-aix*
Franz Sirl [Thu, 11 Mar 1999 00:09:24 +0000 (00:09 +0000)]
configure.in: cleanup, add mh-*pic handling for arm, special case powerpc*-*-aix*


        * configure.in: cleanup, add mh-*pic handling for arm, special
        case powerpc*-*-aix*

From-SVN: r25687

25 years ago* sdbout.c (plain_type_1): Make boolean types work better with sdb.
Colin Smith [Wed, 10 Mar 1999 23:30:08 +0000 (23:30 +0000)]
* sdbout.c (plain_type_1): Make boolean types work better with sdb.

From-SVN: r25686

25 years agojcf-write.c (generate_bytecode_insns): Handle __builtin_fmod, for %.
Per Bothner [Wed, 10 Mar 1999 23:22:48 +0000 (15:22 -0800)]
jcf-write.c (generate_bytecode_insns): Handle __builtin_fmod, for %.

8
* jcf-write.c (generate_bytecode_insns):  Handle __builtin_fmod, for %.

From-SVN: r25683

25 years agojcf-write.c (generate_bytecode_insns): Handle __builtin_fmod, for %.
Per Bothner [Wed, 10 Mar 1999 23:22:47 +0000 (15:22 -0800)]
jcf-write.c (generate_bytecode_insns): Handle __builtin_fmod, for %.


* jcf-write.c (generate_bytecode_insns):  Handle __builtin_fmod, for %.

From-SVN: r25682

25 years agogcc.texi: Update bug reporting instructions to match current ezmlm list reality.
Alexandre Oliva [Wed, 10 Mar 1999 23:22:31 +0000 (16:22 -0700)]
gcc.texi: Update bug reporting instructions to match current ezmlm list reality.

X
        * gcc.texi: Update bug reporting instructions to match
        current ezmlm list reality.

From-SVN: r25681

25 years agogcc.texi: Update bug reporting instructions to match current ezmlm list reality.
Alexandre Oliva [Wed, 10 Mar 1999 23:22:28 +0000 (16:22 -0700)]
gcc.texi: Update bug reporting instructions to match current ezmlm list reality.


        * gcc.texi: Update bug reporting instructions to match
        current ezmlm list reality.

From-SVN: r25680

25 years agolcm.c: New file.
Jeffrey A Law [Wed, 10 Mar 1999 22:03:36 +0000 (22:03 +0000)]
lcm.c: New file.

        * lcm.c: New file.
        * Makefile.in (OBJS): Add lcm.o
        (lcm.o): Add dependencies.

From-SVN: r25679

25 years agogcse.c (compute_pre_local_properties): Delete.
Jeffrey A Law [Wed, 10 Mar 1999 21:36:35 +0000 (21:36 +0000)]
gcse.c (compute_pre_local_properties): Delete.

        * gcse.c (compute_pre_local_properties): Delete.
        (compute_pre_data): Use compute_local_properties instead of
        compute_pre_local_properties.

From-SVN: r25678

25 years agogcse.c: More comments, whitespace and similar fixes.
Jeffrey A Law [Wed, 10 Mar 1999 21:29:44 +0000 (21:29 +0000)]
gcse.c: More comments, whitespace and similar fixes.

        * gcse.c: More comments, whitespace and similar fixes.
        (dump_cuid_table, maybe_set_rd_gen, dump_cprop_data): Delete.
        (dump_pre_data, compute_cprop_local_properties): Likewise.
        (one_classic_gcse_pass): Lose unused argument.  All callers changed.
        (compute_hash_table, compute_expr_hash_table): Likewise.
        (compute_set_hash_table, one_pre_gcse_pass, mark_call): Likewise.
        (cprop_insn, cprop, one_cprop_pass): Add new argument ALTER_JUMPS.
        All callers changed.  Only alter jumps if ALTER_JUMPS is nonzero.
        Lose unused argument.
        (gcse_main): Always run a cprop pass after finishing global cse.
        (compute_local_properties): New function.
        (hash_scan_pat, hash_scan_insn): No longer call maybe_set_rd_gen.
        (compute_cprop_data): Use compute_local_properties.

From-SVN: r25677

25 years agogcc.c (print_file_name, [...]): Qualify a char* with the `const' keyword.
Kaveh R. Ghazi [Wed, 10 Mar 1999 20:32:13 +0000 (20:32 +0000)]
gcc.c (print_file_name, [...]): Qualify a char* with the `const' keyword.

        * gcc.c (print_file_name, print_prog_name, spec_machine,
        read_specs, set_spec, lookup_compiler, build_search_list,
        putenv_from_prefixes, find_a_file, record_temp_file,
        delete_if_ordinary, handle_braces, do_spec, do_spec_1, find_file,
        is_directory, validate_switches, used_arg, default_arg,
        pfatal_with_name, perror_with_name, pfatal_pexecute, fatal, error,
        notice, add_preprocessor_option, add_assembler_option,
        add_linker_option, process_command, execute,
        unused_prefix_warnings, clear_args, fatal_error,
        lang_specific_driver, user_specs, compiler, link_command_spec,
        option_map, translate_options, make_temp_file, temp_name,
        programname, path_prefix, machine_suffix, just_machine_suffix,
        gcc_exec_prefix, standard_exec_prefix, standard_exec_prefix_1,
        md_exec_prefix, md_startfile_prefix, md_startfile_prefix_1,
        standard_startfile_prefix, standard_startfile_prefix_1,
        standard_startfile_prefix_2, tooldir_base_prefix, tooldir_prefix,
        multilib_dir, temp_filename, temp_file, command, switchstr,
        infile, outfiles, input_filename, input_basename, input_suffix,
        check_live_switch, main): Qualify a char* with the `const' keyword.

From-SVN: r25676

25 years agos/ /<tab>/g
Jeff Law [Wed, 10 Mar 1999 20:18:59 +0000 (13:18 -0700)]
s/        /<tab>/g

From-SVN: r25675

25 years agogcse.c: Update various comments.
Jeffrey A Law [Wed, 10 Mar 1999 20:14:05 +0000 (20:14 +0000)]
gcse.c: Update various comments.

        * gcse.c: Update various comments.
        (current_function_calls_longjmp): Delete declaration.

From-SVN: r25674

25 years agogcse.c (run_jump_opt_after_gcse): New variable.
Jeffrey A Law [Wed, 10 Mar 1999 19:45:18 +0000 (19:45 +0000)]
gcse.c (run_jump_opt_after_gcse): New variable.

        * gcse.c (run_jump_opt_after_gcse): New variable.
        (gcse_main): Returns an integer.
        (hash_scan_set): Record initializations from CONST_DOUBLEs too.
        (try_replace_reg): Update some comments.
        (cprop_insn): Allow propagation into some JUMP_INSNs too.
        * rtl.h (gcse_main): Update prototype.
        * toplev.c (rest_of_compilation): If gcse_main returns nonzero,
        then run a jump optimization pass.
        * jump.c (delete_barrier_successors): Delete nop jumps too.

From-SVN: r25673

25 years agosemantics.c (begin_class_definition): Call build_self_reference.
Mark Mitchell [Wed, 10 Mar 1999 17:58:08 +0000 (17:58 +0000)]
semantics.c (begin_class_definition): Call build_self_reference.

* semantics.c (begin_class_definition): Call build_self_reference.
(finish_member_declaration): Set DECL_CONTEXT for TYPE_DECLs.

From-SVN: r25672

25 years ago* search.c (assert_canonical_unmarked): Fix typo in prototype.
Mark Mitchell [Wed, 10 Mar 1999 12:17:47 +0000 (12:17 +0000)]
* search.c (assert_canonical_unmarked): Fix typo in prototype.

From-SVN: r25671

25 years agosh.c (fp_arith_reg_operand): Actually test if reg is suitable for FP arithmetic.
J"orn Rennecke [Wed, 10 Mar 1999 11:07:32 +0000 (11:07 +0000)]
sh.c (fp_arith_reg_operand): Actually test if reg is suitable for FP arithmetic.

* sh.c (fp_arith_reg_operand): Actually test if reg is suitable
for FP arithmetic.  Changed caller.
* sh.md (subsf3, subsf_i): Use fp_arith_reg_operand.

From-SVN: r25670

25 years agoreload1.c (choose_reload_regs): When inheriting from the frame pointer, don't clobber it.
J"orn Rennecke [Wed, 10 Mar 1999 10:59:54 +0000 (10:59 +0000)]
reload1.c (choose_reload_regs): When inheriting from the frame pointer, don't clobber it.

* reload1.c (choose_reload_regs): When inheriting from the frame
pointer, don't clobber it.

From-SVN: r25669

25 years agosearch.c (dfs_canonical_queue): New function.
Mark Mitchell [Wed, 10 Mar 1999 10:53:35 +0000 (10:53 +0000)]
search.c (dfs_canonical_queue): New function.

* search.c (dfs_canonical_queue): New function.
(dfs_assert_unmarked_p): Likewise.
(assert_canonical_unmarked): Likewise.
(access_in_type): Use it.
(accessible_p): Likewise.  Walk the whole tree when umarking.

From-SVN: r25668

25 years agosig.c (build_signature_table_constructor): Use accessible_p instead of compute_access.
Mark Mitchell [Wed, 10 Mar 1999 09:33:45 +0000 (09:33 +0000)]
sig.c (build_signature_table_constructor): Use accessible_p instead of compute_access.

* sig.c (build_signature_table_constructor): Use accessible_p
instead of compute_access.

From-SVN: r25667

25 years agomissing updates to fixinc/fixinc.*
Bruce Korb [Wed, 10 Mar 1999 08:06:20 +0000 (08:06 +0000)]
missing updates to fixinc/fixinc.*

From-SVN: r25666

25 years agoFixed the 'case' ordering
Bruce Korb [Wed, 10 Mar 1999 08:00:12 +0000 (08:00 +0000)]
Fixed the 'case' ordering

From-SVN: r25665

25 years agoPatches from superior directory
Bruce Korb [Wed, 10 Mar 1999 07:49:54 +0000 (07:49 +0000)]
Patches from superior directory

From-SVN: r25664

25 years ago* call.c (add_builtin_candidates): Handle overloaded conversion ops.
Jason Merrill [Wed, 10 Mar 1999 00:57:44 +0000 (00:57 +0000)]
* call.c (add_builtin_candidates): Handle overloaded conversion ops.

From-SVN: r25663

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

From-SVN: r25662

25 years agocp-tree.h (flag_access_control): Declare.
Mark Mitchell [Tue, 9 Mar 1999 23:02:42 +0000 (23:02 +0000)]
cp-tree.h (flag_access_control): Declare.

* cp-tree.h (flag_access_control): Declare.
(TREE_VIA_PPUBLIC): Document.
(DECL_NONSTATIC_MEMBER_P): New macro.
(enforce_access): Return an indication of whether or not access
was permitted.
(build_self_reference): Change prototype.
(compute_access): Replace with ...
(accessible_p): New function.
(dfs_walk): Change prototype.
(dfs_unmark): Likewise.
(markedp): Likewise.
* call.c (enforce_access): Use accessible_p.
* class.c (build_self_reference): Insert the declaration into the
list of members for this type, and make it public.
* decl.c (xref_basetypes): Avoid ill-timed recursion.
* init.c (build_offset_ref): Use lookup_member, not three separate
name-lookups.  Call enforce_access rather than checking for
illegal accesses here.
(resolve_offset_ref): Likewise.
* lex.c (do_identifier): Likewise.
* method.c (hack_identifier): Likewise.
* parse.y (self_reference): Remove.
(opt_component_decl_list): Don't use it.
* parse.c: Regenerated.
* pt.c (print_candidates): Generalize to handle lists of
overloaded functions.
(instantiate_class_template): Don't rely on TREE_VIA_PRIVATE; it's
not set.
(get_template_base): Use new calling convention for dfs_walk.
* search.c: Include varray.h.  Add prototypes.
(dfs_walk): Accept a data pointer to pass to the work functions.
All callers changed.  All work functions changed.
(breadth_first_search): Rename to bfs_walk, and make consistent
with dfs_walk.
(dfs_walk_real): New function.
(canonical_binfo): New function.
(context_for_name_lookup): Likewise.
(shared_marked_p): Likewise.
(shared_unmarked_p): Likewise.
(lokup_field_queue_p): Likewise.
(lookup_field_r): Generalize to handle both functions and fields.
(lookup_field): Just call lookup_member.
(lookup_fnfields): Likewise.
(lookup_member): Move body of lookup_field here and generalize.
(dfs_accessible_queue_p): Likewise.
(dfs_accessible_p): Likewise.
(dfs_access_in_type): Likewise.
(access_in_type): Likewise.
(compute_access): Remove, and replace with ...
(accessible_p): New function.
(vbase_types): Remove.
(vbase_decl_ptr_intermediate): Likewise.
(vbase_decl_ptr): Likewise.
(vbase_init_result): Likewise.
(closed_envelopes): Likewise.
(bvtable): Likewise.

From-SVN: r25661

25 years agocall.c (add_function_candidate): Check for proper number of args before checking...
Jason Merrill [Tue, 9 Mar 1999 19:37:02 +0000 (19:37 +0000)]
call.c (add_function_candidate): Check for proper number of args before checking the validity of those args.

* call.c (add_function_candidate): Check for proper number of args
before checking the validity of those args.

From-SVN: r25660

25 years agonew
Jason Merrill [Tue, 9 Mar 1999 19:34:51 +0000 (14:34 -0500)]
new

From-SVN: r25659

25 years agocalls.c (load_register_parameters): New function.
Jeffrey A Law [Tue, 9 Mar 1999 16:40:30 +0000 (16:40 +0000)]
calls.c (load_register_parameters): New function.

        * calls.c (load_register_parameters): New function.
        (expand_call): Use it.

From-SVN: r25658

25 years agoreload1.c (reload_combine_note_store): Fix calculation of number of affected registers.
J"orn Rennecke [Tue, 9 Mar 1999 16:05:48 +0000 (16:05 +0000)]
reload1.c (reload_combine_note_store): Fix calculation of number of affected registers.

* reload1.c (reload_combine_note_store): Fix calculation of number
of affected registers.

From-SVN: r25657

25 years agoflow.c (tidy_fallthru_edge): Be more careful finding the last BARRIER of a list.
Richard Henderson [Tue, 9 Mar 1999 15:49:53 +0000 (07:49 -0800)]
flow.c (tidy_fallthru_edge): Be more careful finding the last BARRIER of a list.

* flow.c (tidy_fallthru_edge): Be more careful finding the last
BARRIER of a list.  Delete the cc0 setter as well as a cond jump.

From-SVN: r25656

25 years ago* calls.c (expand_call): Slightly reorganize code.
Jeffrey A Law [Tue, 9 Mar 1999 15:49:12 +0000 (15:49 +0000)]
* calls.c (expand_call): Slightly reorganize code.

From-SVN: r25655

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