Commit Graph

16091 Commits

Author SHA1 Message Date
Richard Henderson
574badbc83 crtbegin.asm, [...]: New files.
* alpha/crtbegin.asm, alpha/crtend.asm, alpha/t-crtb: New files.
* configure.in (alpha-*-linux*): Use them.

From-SVN: r19051
1998-04-08 11:22:54 -07:00
Jeffrey A Law
df89b5e780 i386.md (movqi recognizer): Don't perfom byte increment into a NON_QI_REG_P.
* i386.md (movqi recognizer): Don't perfom byte increment into
        a NON_QI_REG_P.

From-SVN: r19050
1998-04-08 11:24:27 -06:00
Alexandre Petit-Bianco
bf1e5319c3 tree.def (EXPR_WITH_FILE_LOCATION): New tree node definition.
d
Fri Apr  3 17:02:13 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
 	* tree.def (EXPR_WITH_FILE_LOCATION): New tree node definition.
 	* tree.h (EXPR_WFL_{NODE,FILENAME,FILENAME_NODE,LINENO,
 	COLNO,LINECOL,SET_LINECOL,EMIT_LINE_NOTE}): New macros.
 	(build_expr_wfl): New prototype declaration.
 	* tree.c (build_expr_wfl): New function, to build
  	EXPR_WITH_FILE_LOCATION nodes.
 	(copy_node): Don't zero TREE_CHAIN if copying a
  	EXPR_WITH_FILE_LOCATION node.
 	* print-tree.c (print_node): Handle EXPR_WITH_FILE_LOCATION.
 	* expr.c (expand_expr): Handle EXPR_WITH_FILE_LOCATION.

From-SVN: r19049
1998-04-08 07:03:48 -07:00
Jim Wilson
1382bac6e8 Delete duplicate test.
From-SVN: r19048
1998-04-08 06:22:56 -07:00
Jeff Law
9590eb1bc6 configure.in (x86-dg-dgux): Run fixinc.dgux.
8
        * configure.in (x86-dg-dgux): Run fixinc.dgux.

From-SVN: r19047
1998-04-08 05:56:17 -06:00
Jeff Law
f09ff19933 configure.in (x86-dg-dgux): Run fixinc.dgux.
�
        * configure.in (x86-dg-dgux): Run fixinc.dgux.

From-SVN: r19046
1998-04-08 05:56:15 -06:00
Jeffrey A Law
f962b99f1c * i386.h: Fix typo in GEN_INT changes.
From-SVN: r19045
1998-04-08 05:55:10 -06:00
Jeffrey A Law
c3709629ed bitmap.c (bitmap_element_allocate): Use "void" for arglist instead of an empty arglist in prototype.
* bitmap.c (bitmap_element_allocate): Use "void" for arglist instead
        of an empty arglist in prototype.

From-SVN: r19044
1998-04-08 05:54:19 -06:00
Jeffrey A Law
ee5254ffe2 Makefile.in: Remove bytecode crud that crept back in after the gcc2 merge.
* Makefile.in: Remove bytecode crud that crept back in after the
        gcc2 merge.

From-SVN: r19043
1998-04-08 05:51:57 -06:00
Jeff Law
f36c0c095f Note lang_print_xnode change.
From-SVN: r19042
1998-04-08 05:40:54 -06:00
Jeff Law
4a00b81561 Change from tege.
From-SVN: r19041
1998-04-08 05:39:39 -06:00
Brendan Kehoe
0806342bc1 c-lex.h (is_class_name): Fix arg type to be tree, not void.
* c-lex.h (is_class_name): Fix arg type to be tree, not void.
	(make_pointer_declarator, reinit_parse_for_function): Fix typo.

From-SVN: r19040
1998-04-08 05:57:52 -04:00
Richard Earnshaw
6f7349082d * arm.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
From-SVN: r19039
1998-04-08 06:19:00 +00:00
Bernd Schmidt
56c0e996b8 c-lex.c (is_class_name): Delete declaration.
* c-lex.c (is_class_name): Delete declaration.
        (whitespace_cr): Make static and add prototype.
        * c-lex.h (make_pointer_declarator, reinit_parse_for_function,
        yylex, get_directive_line): Turn declarations into prototypes.
        (position_after_whitespace, check_newline, yyerror,, is_class_name,
        forget_protocol_qualifiers, remember_protocol_qualifiers): Add
        prototypes.
        * genattr.c (extend_range, write_upcase, gen_attr, write_units): Add
        prototypes.
        * gencodes.c (gen_insn): Add prototype.
        * genconfig.c (walk_insn, gen_insn, gen_expand, gen_split,
        gen_peephole): Add prototypes.
        * genflags.c (num_operands, gen_proto, gen_nonproto, gen_insn): Add
        prototypes.
        * gengenrtl.c (type_from_format, accessor_from_format, special_rtx,
        special_format, find_formats, gendecl, genmacro, gendef, genlegend,
        genheader, gencode): Add prototypes.
        * genopinit.c (gen_insn): Add prototype.
        * genoutput.c (output_prologue, output_epilogue, scan_operands,
        process_template, validate_insn_alternatives, gen_insn, gen_peephole,
        gen_expand, gen_split, n_occurrences): Add prototypes.
        * genpeep.c (gen_peephole): Add prototype.
        * loop.c (find_and_verify_loops, mark_loop_jump, prescan_loop,
        reg_in_basic_block_p, consec_sets_invariant_p, libcall_other_reg,
        labels_in_range_p, count_loop_regs_set, note_addr_stored,
        loop_reg_used_before_p, scan_loop, replace_call_address,
        skip_consec_insns, libcall_benefit, ignore_some_movables,
        force_movables, combine_movables, rtx_equal_for_loop_p, move_movables,
        strength_reduce, valid_initial_value_p, find_mem_givs, record_biv,
        check_final_value, record_giv, update_giv_derive, basic_induction_var,
        simplify_giv_expr, general_induction_var, consec_sets_giv,
        check_dbra_loop, express_from, combine_givs_p, combine_givs,
        product_cheap_p, maybe_eliminate_biv, maybe_eliminate_biv_1,
        last_use_this_basic_block, record_initial, update_reg_last_use,
        iteration_info, analyze_loop_iterations, insert_bct,
        instrument_loop_bct, indirect_jump_in_function_p): Turn declarations
        into prototypes.

From-SVN: r19038
1998-04-07 17:47:11 -06:00
Jeff Law
8a63cdfc10 New test from Joern.
From-SVN: r19037
1998-04-07 17:30:05 -06:00
Jeffrey A Law
cc46ae8e68 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
From-SVN: r19036
1998-04-07 14:51:37 -06:00
Jeff Law
0b3d64d2d1 Forgot to commit (duh).
From-SVN: r19035
1998-04-07 12:44:08 -06:00
Ulrich Drepper
5f5f6cb7ca (__stl_prime_list): Mark last two numbers as unsigned long since they are...
(__stl_prime_list): Mark last two numbers as
unsigned long since they are otherwise too large for long int on
32bit machines.

From-SVN: r19034
1998-04-07 18:39:16 +00:00
Ken Raeburn
e7d075bfb3 Remove SIGINFO handling from mips.c.
From-SVN: r19033
1998-04-07 13:29:03 +00:00
Ken Raeburn
473fe49b1e Sync up MEMORY_MOVE_COST changes with FSF.
From-SVN: r19032
1998-04-07 13:24:41 +00:00
Jim Wilson
d6a007a2ab Testcase for loop reversal (check_dbra_loop) bug.
From-SVN: r19031
1998-04-07 05:02:08 -07:00
Jim Wilson
668d07befc Fix loop reversal bug reported by Joern Rennecke.
* loop.c (check_dbra_loop): When normalize comparison_val, add check
	to verify it is non-negative.

From-SVN: r19030
1998-04-07 05:00:13 -07:00
Jason Merrill
a59ca93678 call.c (build_call): Still evaluate the actual argument.
* call.c (build_call): Still evaluate the actual argument.
	* class.c (is_empty_class): Update for -fnew-abi.
	* decl2.c: -fnew-abi implies -fsquangle.
	* method.c (do_build_assign_ref): Don't do anything to copy
	an empty class.
	(do_build_copy_constructor): Likewise.
	* call.c (build_over_call): Likewise.

From-SVN: r19029
1998-04-06 23:48:22 -04:00
Richard Henderson
cd36edbdfb alpha.c (alpha_expand_block_move): Correctly collect block offsets.
* alpha.c (alpha_expand_block_move): Correctly collect block offsets.
(alpha_expand_block_clear): Likewise.

From-SVN: r19028
1998-04-06 19:03:34 -07:00
Richard Henderson
e814ca9784 * tree.h (sizetype_tab): Fix previous change for K&R.
From-SVN: r19027
1998-04-06 16:37:27 -07:00
Jeffrey A Law
f1d9e6d21a Bump for snapshot
From-SVN: r19025
1998-04-06 16:27:32 -06:00
Richard Earnshaw
22ec392898 configure.in (sparc-*-solaris2*): Add xm-siglist.h to xm_file.
* configure.in (sparc-*-solaris2*): Add xm-siglist.h to xm_file.
        Add USG and POSIX to xm_defines.

From-SVN: r19024
1998-04-06 16:17:05 -06:00
Jeff Law
d6f6f16085 Fix typo, add -O2 to trigger the bug.
From-SVN: r19023
1998-04-06 16:14:36 -06:00
Bob Manson
10da11319b gcc.c: Add linker spec.
* gcc.c: Add linker spec.
        (link_command_spec): Use %(linker) instead of ld.
        (main): If collect2 is requested as the linker, see if it exists;
        if not, use ld instead.
        * Makefile.in (USE_COLLECT2): It's named collect2 now, not ld.
        (ld:) Deleted.
        (install-collect2): Install as collect2, not ld.
        * configure.in(will_use_collect2): It's named collect2 now.
        * collect2: Remove checks to see if we were invoked recursively.
        (collect_execute): Use _spawnvp under cygwin32.

From-SVN: r19022
1998-04-06 14:51:28 -06:00
Jim Wilson
a8afd67b01 Fix solaris2 loop-2d.c failure reported by Manfred Hollstein.
* haifa-sched.c (build_control_flow): Set unreachable for block whose
	only predecessor is itself.

From-SVN: r19021
1998-04-06 10:50:13 -07:00
Kaveh R. Ghazi
944fc8abef More system.h cutover patches:
* c-parse.in: Include system.h, and remove stuff now made redundant.
        * cccp.c: Likewise.
        * cexp.y: Likewise.
        * protoize.c: Likewise.  Properly check for cpp stringification.
        * Makefile.in (c-parse.o, cccp.o, cexp.o, protoize.o, unprotoize.o):
        Depend on system.h.
        * objc/Make-lang.in (objc-parse.o): Likewise.

From-SVN: r19020
1998-04-06 14:01:33 +00:00
Kaveh R. Ghazi
3286ab5736 gansidecl.h: Check if compiler supports __attribute__.
* gansidecl.h: Check if compiler supports __attribute__.  Provide
        definitions for ATTRIBUTE_UNUSED and ATTRIBUTE_PRINTF using
        __attribute__ when its available.  Also provide definitions for
        ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2 and ATTRIBUTE_PRINTF_3 in
        terms of ATTRIBUTE_PRINTF.
        * genoutput.c (process_template): Use ATTRIBUTE_UNUSED in place
        of __attribute__.

From-SVN: r19019
1998-04-06 12:03:16 +00:00
Catherine Moore
d276f2bb0c combine.c (can_combine_p): Include successor in volatile test.
Mon Apr  6 07:17:52 1998  Catherine Moore  <clm@cygnus.com>
        * combine.c (can_combine_p):  Include successor in volatile test.

From-SVN: r19018
1998-04-06 03:49:13 -07:00
J"orn Rennecke
64ad9df2ce Fix execute failures for optimizing gcc.c-torture/execute/920721-4.c:
* sh.h (CASE_VECTOR_SHORTEN_MODE): Fix logic when to set
	offset_unsigned.

From-SVN: r19017
1998-04-06 07:38:10 +01:00
Jeffrey A Law
dc544d2c5e objc-act.c (encode_aggregate_within): Avoid GNU extensions in prototype and definition.
* objc/objc-act.c (encode_aggregate_within): Avoid GNU extensions
        in prototype and definition.

From-SVN: r19016
1998-04-05 19:05:12 -06:00
Jeffrey A Law
38c413cd54 Bump for snapshot
From-SVN: r19015
1998-04-05 18:49:00 -06:00
Jeff Law
dcfabec309 Bogus file sucked in from gcc2 merge.
From-SVN: r19014
1998-04-05 18:47:41 -06:00
Richard Henderson
59dd0a31bc alpha.c (alpha_expand_block_clear): Add missing offset arg to alpha_expand_unaligned_store_words.
* alpha.c (alpha_expand_block_clear): Add missing offset arg to
alpha_expand_unaligned_store_words.

From-SVN: r19013
1998-04-05 17:13:47 -07:00
John Wehle
f31fce3f85 i386.md (movsf_push, movsf_mem): Remove.
* i386.md (movsf_push, movsf_mem): Remove.
        (movsf_push): Rename from movsf_push_nomove and move in front of
        movsf.  Use nonmemory_operand predicate and don't bother checking
        TARGET_MOVE.
        (movsf_push_memory): New pattern.
        (movsf): Don't bother checking for push_operand.  If TARGET_MOVE and
        both operands refer to memory then force operand[1] into a register.
        (movsf_normal): Change to unnamed pattern.
        Likewise for movdf, movxf, and friends.

From-SVN: r19011
1998-04-05 14:32:31 -06:00
Jeffrey A Law
27ebc03eb1 Bump for snapshot
From-SVN: r19009
1998-04-05 12:45:55 -06:00
Jeff Law
f3978531f3 expmed.c (synth_mult): The value -1, has no zeros, so it can never have the form ...011.
* expmed.c (synth_mult): The value -1, has no zeros, so it can
        never have the form ...011.
Forgot to commit ChangeLog entry for this one.

From-SVN: r19008
1998-04-05 10:48:42 -06:00
Richard Henderson
6ecd4e5399 * configure.in (alpha-dec-osf*): Match osf1.3 correctly.
From-SVN: r19007
1998-04-05 09:30:46 -07:00
Jeff Law
e2cc7d49b5 Add new test.
From-SVN: r19006
1998-04-05 09:57:44 -06:00
Don Bowman
98bd9f0f86 * configure.in (mips-wrs-vxworks): New target.
From-SVN: r19005
1998-04-05 09:54:49 -06:00
Jason Merrill
80cd3ecac8 * tree.c (avoid_overlap): Return a value.
From-SVN: r19004
1998-04-04 22:24:25 -05:00
Jeffrey A Law
ac08ebd030 Bump for snapshot
From-SVN: r19002
1998-04-04 16:34:34 -07:00
Jeffrey A Law
f4a788acb3 Bump for snapshot
From-SVN: r19001
1998-04-04 16:33:41 -07:00
Richard Henderson
5cb6195d3b i386.c (asm_output_function_prefix, [...]): Use ASM_GENERATE_INTERNAL_LABEL properly.
* i386.c (asm_output_function_prefix, load_pic_register):
Use ASM_GENERATE_INTERNAL_LABEL properly.
(output_pic_addr_const): Recognize %X to supress any PIC sym suffix.
(print_operand): Ignore it.
(load_pic_register): Use it for the got load call.
* i386.md (prologue_set_got, prologue_get_pc): Likewise.
(prologue_get_pc_and_set_got): Likewise.
* i386.h: Update print_operand docs.

From-SVN: r19000
1998-04-04 12:25:44 -08:00
Richard Henderson
ce1938523b i386.md (ffssi, ffshi): Rewrite as define_expands.
* i386.md (ffssi, ffshi): Rewrite as define_expands.
(ffssi_1, ffshi_1): New (unspec [] 5) support patterns.
* i386.c (notice_update_cc): Recognize unspec 5.

From-SVN: r18999
1998-04-04 11:57:26 -08:00
Jeffrey A Law
e06e4d4534 method.c (check_btype): Add missing argument to xrealloc.
* method.c (check_btype): Add missing argument to xrealloc.
        (check_ktype): Likewise.

From-SVN: r18998
1998-04-04 12:53:58 -07:00