Bruce Korb [Fri, 12 Mar 1999 07:44:19 +0000 (07:44 +0000)]
Missing merges from fixincl-branch
From-SVN: r25725
Martin v. Löwis [Fri, 12 Mar 1999 05:18:20 +0000 (05:18 +0000)]
New test case.
From-SVN: r25724
Martin v. Löwis [Fri, 12 Mar 1999 03:41:32 +0000 (03:41 +0000)]
Problem fixed in g++.
From-SVN: r25723
Jeff Law [Fri, 12 Mar 1999 00:45:04 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25715
Jeffrey A Law [Fri, 12 Mar 1999 00:02:32 +0000 (00:02 +0000)]
expr.c (expand_expr): Allow a CALL_EXPR with a mode wider than MAX_INTEGER_COMPUTATION_MODE.
* expr.c (expand_expr): Allow a CALL_EXPR with a mode wider than
MAX_INTEGER_COMPUTATION_MODE.
From-SVN: r25714
Zack Weinberg [Thu, 11 Mar 1999 16:00:04 +0000 (16:00 +0000)]
Tests for various kinds of spurious uninit variable warning.
`
Tests for various kinds of spurious uninit variable warning.
All are derived from cpplib; see comments in the files.
From-SVN: r25711
Zack Weinberg [Thu, 11 Mar 1999 16:00:04 +0000 (16:00 +0000)]
Tests for various kinds of spurious uninit variable warning.
l
Tests for various kinds of spurious uninit variable warning.
All are derived from cpplib; see comments in the files.
From-SVN: r25710
Zack Weinberg [Thu, 11 Mar 1999 16:00:03 +0000 (16:00 +0000)]
*** empty log message ***
From-SVN: r25709
Craig Burley [Thu, 11 Mar 1999 14:37:09 +0000 (14:37 +0000)]
Add AUTOMATIC to list of unsupported extensions
From-SVN: r25706
Richard Henderson [Thu, 11 Mar 1999 14:02:42 +0000 (06:02 -0800)]
* alpha.md (ev5_e0): Conflict loads and stores.
From-SVN: r25705
Richard Henderson [Thu, 11 Mar 1999 14:01:27 +0000 (06:01 -0800)]
alpha.h (HARD_REGNO_MODE_OK): Disallow QI/HImode in fp regs.
* alpha.h (HARD_REGNO_MODE_OK): Disallow QI/HImode in fp regs.
(MODES_TIEABLE_P): Update.
From-SVN: r25704
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
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
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
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
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
Bruce Korb [Thu, 11 Mar 1999 09:11:19 +0000 (09:11 +0000)]
activate fixinc/mkfixinc.sh
From-SVN: r25698
Bruce Korb [Thu, 11 Mar 1999 08:53:13 +0000 (08:53 +0000)]
Activating fast-fixincludes
From-SVN: r25697
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
Jeff Law [Thu, 11 Mar 1999 00:45:05 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25695
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
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
Jason Merrill [Thu, 11 Mar 1999 00:14:36 +0000 (00:14 +0000)]
* configure.in: Remove init_priority stuff.
From-SVN: r25692
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jeff Law [Wed, 10 Mar 1999 20:18:59 +0000 (13:18 -0700)]
s/ /<tab>/g
From-SVN: r25675
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
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
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
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
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
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
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
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
Bruce Korb [Wed, 10 Mar 1999 08:06:20 +0000 (08:06 +0000)]
missing updates to fixinc/fixinc.*
From-SVN: r25666
Bruce Korb [Wed, 10 Mar 1999 08:00:12 +0000 (08:00 +0000)]
Fixed the 'case' ordering
From-SVN: r25665
Bruce Korb [Wed, 10 Mar 1999 07:49:54 +0000 (07:49 +0000)]
Patches from superior directory
From-SVN: r25664
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
Jeff Law [Wed, 10 Mar 1999 00:45:04 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25662
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
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
Jason Merrill [Tue, 9 Mar 1999 19:34:51 +0000 (14:34 -0500)]
new
From-SVN: r25659
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
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
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
Jeffrey A Law [Tue, 9 Mar 1999 15:49:12 +0000 (15:49 +0000)]
* calls.c (expand_call): Slightly reorganize code.
From-SVN: r25655
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
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
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
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
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
Jeff Law [Tue, 9 Mar 1999 00:45:35 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25649
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
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
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
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
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
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
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
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
Per Bothner [Mon, 8 Mar 1999 13:34:10 +0000 (05:34 -0800)]
*** empty log message ***
From-SVN: r25640
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
Bruce Korb [Mon, 8 Mar 1999 08:26:56 +0000 (08:26 +0000)]
fixincl-branch merge
From-SVN: r25638
Craig Burley [Mon, 8 Mar 1999 06:34:47 +0000 (06:34 +0000)]
Improve testiness
From-SVN: r25637
Craig Burley [Mon, 8 Mar 1999 06:30:51 +0000 (06:30 +0000)]
New tests
From-SVN: r25636
Jeff Law [Mon, 8 Mar 1999 00:45:03 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25635
Craig Burley [Mon, 8 Mar 1999 00:14:12 +0000 (00:14 +0000)]
improve testiness
From-SVN: r25631
Craig Burley [Sun, 7 Mar 1999 18:09:27 +0000 (18:09 +0000)]
move test from execute to compile
From-SVN: r25630
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
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
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
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
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
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
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
Jeffrey A Law [Sun, 7 Mar 1999 01:15:09 +0000 (18:15 -0700)]
Bump for snapshot
From-SVN: r25621
Jeff Law [Sun, 7 Mar 1999 00:45:03 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25620
Jason Merrill [Sat, 6 Mar 1999 18:22:21 +0000 (13:22 -0500)]
fix
From-SVN: r25619
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
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
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
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
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
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
Jeff Law [Sat, 6 Mar 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25612
Craig Burley [Sat, 6 Mar 1999 00:02:54 +0000 (00:02 +0000)]
[Nilsson] Add dependencies
From-SVN: r25611
Craig Burley [Fri, 5 Mar 1999 23:41:03 +0000 (18:41 -0500)]
Update NEWS derived file
From-SVN: r25610
Craig Burley [Fri, 5 Mar 1999 23:40:12 +0000 (23:40 +0000)]
Warn about invoking non-Y2K-compliant intrinsics
From-SVN: r25609