Commit Graph

21051 Commits

Author SHA1 Message Date
Jeffrey A Law
24883a4a12 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
1999-03-08 16:31:28 -07:00
Jeffrey A Law
959f3a0667 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
1999-03-08 14:57:56 -07:00
Jeff Law
e4cbe00203 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
1999-03-08 13:40:08 -07:00
Jim Wilson
49071ddced 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
1999-03-08 09:50:37 -08:00
Jim Wilson
66830675f2 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
1999-03-08 08:09:05 -08:00
Jeffrey A Law
86879c21ac 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
1999-03-08 07:40:47 -07:00
Per Bothner
30ca27b475 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
1999-03-08 05:34:12 -08:00
Per Bothner
c0d87ff6f9 *** empty log message ***
From-SVN: r25640
1999-03-08 05:34:10 -08:00
J"orn Rennecke
78dd9906fe * regmove.c (copy_src_to_dest): New argument max_old_uid.
From-SVN: r25639
1999-03-08 10:51:28 +00:00
Bruce Korb
3c869bc5eb fixincl-branch merge
From-SVN: r25638
1999-03-08 08:26:56 +00:00
Craig Burley
3d1d35d66a Improve testiness
From-SVN: r25637
1999-03-08 01:34:47 -05:00
Craig Burley
fc370eff81 New tests
From-SVN: r25636
1999-03-08 01:30:51 -05:00
Jeff Law
460fb6158a Daily bump.
From-SVN: r25635
1999-03-07 17:45:03 -07:00
Craig Burley
7e0847f623 improve testiness
From-SVN: r25631
1999-03-07 19:14:12 -05:00
Craig Burley
3f18f777de move test from execute to compile
From-SVN: r25630
1999-03-07 13:09:27 -05:00
Richard Henderson
f4b9425602 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
1999-03-07 03:50:32 -08:00
Richard Henderson
28c95eff94 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
1999-03-07 03:22:10 -08:00
Kaveh R. Ghazi
3bb5de61eb 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
1999-03-07 05:46:30 +00:00
Kaveh R. Ghazi
366453bf4b 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
1999-03-07 05:21:41 +00:00
Martin v. Löwis
b26caacda9 List TREE_INDIRECT_USING as application of TREE_LANG_FLAG_0.
From-SVN: r25625
1999-03-07 04:39:44 +00:00
Richard Henderson
aeb7ff6879 * recog.c (push_operand, pop_operand): VOIDmode needn't match modes.
From-SVN: r25624
1999-03-06 18:45:29 -08:00
Richard Henderson
9a794e5054 * cse.c (canon_hash): Never reject hard regs in CCmode.
From-SVN: r25623
1999-03-06 18:00:27 -08:00
Jeffrey A Law
fc095971f1 Bump for snapshot
From-SVN: r25621
1999-03-06 18:15:09 -07:00
Jeff Law
7b9d9f9c7e Daily bump.
From-SVN: r25620
1999-03-06 17:45:03 -07:00
Jason Merrill
a1ac6acca1 fix
From-SVN: r25619
1999-03-06 13:22:21 -05:00
Jason Merrill
0dd3962da5 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
1999-03-06 12:41:36 -05:00
Richard Earnshaw
4b523fc495 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
1999-03-06 09:19:39 -08:00
Kaveh R. Ghazi
8e1f2d4c56 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
1999-03-06 08:35:49 +00:00
Craig Burley
158281d7a3 New (old) tests, just started failing this past week
From-SVN: r25615
1999-03-06 02:16:13 -05:00
Kaveh R. Ghazi
dff01034e5 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
1999-03-06 05:34:26 +00:00
Jason Merrill
3c2a009706 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
1999-03-05 22:54:30 -05:00
Jeff Law
15d1c8cfe6 Daily bump.
From-SVN: r25612
1999-03-05 17:45:02 -07:00
Craig Burley
f177f8bfab [Nilsson] Add dependencies
From-SVN: r25611
1999-03-05 19:02:54 -05:00
Craig Burley
a9c509b345 Update NEWS derived file
From-SVN: r25610
1999-03-05 18:41:03 -05:00
Craig Burley
411d4e28f8 Warn about invoking non-Y2K-compliant intrinsics
From-SVN: r25609
1999-03-05 18:40:12 -05:00
David Edelsohn
40ae436b58 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
1999-03-05 16:19:46 -05:00
Mark Mitchell
7d4bdeed81 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
1999-03-05 16:38:54 +00:00
Joern Rennecke
00512c3a63 Fix date.
From-SVN: r25606
1999-03-05 15:09:39 +00:00
J"orn Rennecke
0ba9b9e6bf 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
1999-03-05 15:07:56 +00:00
J"orn Rennecke
d62dab419a 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
1999-03-05 13:43:54 +00:00
Richard Henderson
b85f4db33b * Makefile.in: Delete .flow2 debugging files.
From-SVN: r25603
1999-03-05 05:21:21 -08:00
Nick Clifton
1323d53a04 Fix default cpu selection
From-SVN: r25602
1999-03-05 11:38:13 +00:00
Jason Merrill
6fb2c05a1b * pt.c (tsubst, case ARRAY_REF): Use tsubst_expr again.
From-SVN: r25601
1999-03-05 06:29:22 -05:00
J"orn Rennecke
9a5bb31788 sh.h (SLOW_BYTE_ACCESS): Define to 1.
* sh.h (SLOW_BYTE_ACCESS): Define to 1.
	(BOOL_TYPE_SIZE): Define.

From-SVN: r25600
1999-03-05 11:28:33 +00:00
Jason Merrill
5747af32ee new
From-SVN: r25599
1999-03-05 06:27:06 -05:00
Craig Burley
b3b2275a5c update NEWS, intdoc.texi derived files
From-SVN: r25598
1999-03-05 05:26:20 -05:00
Craig Burley
a332224a56 Update news item about IDATE (VXT) fix timeline
From-SVN: r25597
1999-03-05 05:22:50 -05:00
Doug Rabson
268e8aeed4 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
1999-03-04 18:21:14 -07:00
John Wehle
6f67a30d15 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
1999-03-04 18:19:25 -07:00
Jeff Law
01587fa2fe Daily bump.
From-SVN: r25592
1999-03-04 17:45:06 -07:00