law [Wed, 8 Apr 1998 23:30:08 +0000 (23:30 +0000)]
* com.c (finput): New variable.
(init_parse): Handle !USE_CPPLIB.
(finish_parse): New function.
(lang_init): No longer declare finput.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19064
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Apr 1998 23:29:09 +0000 (23:29 +0000)]
* c-lex.c (finput): New global.
(init_parse): Always included. Handle !USE_CPPLIB using
code originally in compile_file.
(finish_parse): Update for CPPLIB.
* toplev.c (init_parse, finish_parse): Declare.
(finput): Delete variable. Now in front-ends.
(compile_file): Remove code which is now handled by init_parse
which is unconditionally called. Similarly for finish_parse.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19063
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Apr 1998 23:10:27 +0000 (23:10 +0000)]
* configure.in (v850): Use t-v850.
(ix86-wrs-vxworks): Recognize 786 just like other x86 configurations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19062
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Apr 1998 22:55:33 +0000 (22:55 +0000)]
* protoize.c (creat, read, write): Do not declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19061
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Apr 1998 22:47:50 +0000 (22:47 +0000)]
* jump.c (mark_jump_label): Record REG_LABEL notes for insns which
refer to the CODE_LABEL before a dispatch table.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19060
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Apr 1998 22:44:13 +0000 (22:44 +0000)]
* invoke.texi: Add ARC options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19059
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Apr 1998 22:39:36 +0000 (22:39 +0000)]
* gcc.c (proces_command): Improve error message for -o with
either -c or -S.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19058
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Apr 1998 22:14:57 +0000 (22:14 +0000)]
* config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
ASM_WEAKEN_LABEL): Add.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19057
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Apr 1998 22:09:33 +0000 (22:09 +0000)]
Update copyright.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19056
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Apr 1998 22:08:11 +0000 (22:08 +0000)]
* i386/x-cygwin32 (CLIB): Link in advapi32.
Easier to build with older version of gcc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19055
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Apr 1998 22:04:32 +0000 (22:04 +0000)]
* alpha.h (ASM_IDENTIFY_GCC): Define to nothing.
(ASM_IDENTIFY_LANGUAGE): Likewise.
Bring over from devo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19054
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Apr 1998 21:12:07 +0000 (21:12 +0000)]
Bring over changes from devo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19053
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 8 Apr 1998 18:30:32 +0000 (18:30 +0000)]
Support recursive calls to exit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19052
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 8 Apr 1998 18:22:54 +0000 (18:22 +0000)]
* alpha/crtbegin.asm, alpha/crtend.asm, alpha/t-crtb: New files.
* configure.in (alpha-*-linux*): Use them.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19051
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Apr 1998 17:24:27 +0000 (17:24 +0000)]
* i386.md (movqi recognizer): Don't perfom byte increment into
a NON_QI_REG_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19050
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Wed, 8 Apr 1998 14:03:48 +0000 (14:03 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19049
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 8 Apr 1998 13:22:56 +0000 (13:22 +0000)]
Delete duplicate test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19048
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Apr 1998 11:56:17 +0000 (11:56 +0000)]
8
* configure.in (x86-dg-dgux): Run fixinc.dgux.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19047
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Apr 1998 11:56:15 +0000 (11:56 +0000)]
�
* configure.in (x86-dg-dgux): Run fixinc.dgux.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19046
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Apr 1998 11:55:10 +0000 (11:55 +0000)]
* i386.h: Fix typo in GEN_INT changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19045
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Apr 1998 11:54:19 +0000 (11:54 +0000)]
* bitmap.c (bitmap_element_allocate): Use "void" for arglist instead
of an empty arglist in prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19044
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Apr 1998 11:51:57 +0000 (11:51 +0000)]
* Makefile.in: Remove bytecode crud that crept back in after the
gcc2 merge.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19043
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Apr 1998 11:40:54 +0000 (11:40 +0000)]
Note lang_print_xnode change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19042
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 8 Apr 1998 11:39:39 +0000 (11:39 +0000)]
Change from tege.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19041
138bc75d-0d04-0410-961f-
82ee72b054a4
brendan [Wed, 8 Apr 1998 09:57:52 +0000 (09:57 +0000)]
* c-lex.h (is_class_name): Fix arg type to be tree, not void.
(make_pointer_declarator, reinit_parse_for_function): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19040
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Wed, 8 Apr 1998 06:19:00 +0000 (06:19 +0000)]
* arm.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19039
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 7 Apr 1998 23:47:11 +0000 (23:47 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19038
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 7 Apr 1998 23:30:05 +0000 (23:30 +0000)]
New test from Joern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19037
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 7 Apr 1998 20:51:37 +0000 (20:51 +0000)]
* pa.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19036
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 7 Apr 1998 18:44:08 +0000 (18:44 +0000)]
Forgot to commit (duh).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19035
138bc75d-0d04-0410-961f-
82ee72b054a4
drepper [Tue, 7 Apr 1998 18:39:16 +0000 (18:39 +0000)]
(__stl_prime_list): Mark last two numbers as
unsigned long since they are otherwise too large for long int on
32bit machines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19034
138bc75d-0d04-0410-961f-
82ee72b054a4
raeburn [Tue, 7 Apr 1998 13:29:03 +0000 (13:29 +0000)]
Remove SIGINFO handling from mips.c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19033
138bc75d-0d04-0410-961f-
82ee72b054a4
raeburn [Tue, 7 Apr 1998 13:24:41 +0000 (13:24 +0000)]
Sync up MEMORY_MOVE_COST changes with FSF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19032
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 7 Apr 1998 12:02:08 +0000 (12:02 +0000)]
Testcase for loop reversal (check_dbra_loop) bug.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19031
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 7 Apr 1998 12:00:13 +0000 (12:00 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19030
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 7 Apr 1998 03:48:22 +0000 (03:48 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19029
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 7 Apr 1998 02:03:34 +0000 (02:03 +0000)]
* alpha.c (alpha_expand_block_move): Correctly collect block offsets.
(alpha_expand_block_clear): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19028
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 6 Apr 1998 23:37:27 +0000 (23:37 +0000)]
* tree.h (sizetype_tab): Fix previous change for K&R.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19027
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 6 Apr 1998 22:27:32 +0000 (22:27 +0000)]
Bump for snapshot
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19025
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 6 Apr 1998 22:17:05 +0000 (22:17 +0000)]
* configure.in (sparc-*-solaris2*): Add xm-siglist.h to xm_file.
Add USG and POSIX to xm_defines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19024
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 6 Apr 1998 22:14:36 +0000 (22:14 +0000)]
Fix typo, add -O2 to trigger the bug.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19023
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 6 Apr 1998 20:51:28 +0000 (20:51 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19022
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 6 Apr 1998 17:50:13 +0000 (17:50 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19021
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 6 Apr 1998 14:01:33 +0000 (14:01 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19020
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 6 Apr 1998 12:03:16 +0000 (12:03 +0000)]
* 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__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19019
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 6 Apr 1998 10:49:13 +0000 (10:49 +0000)]
Mon Apr 6 07:17:52 1998 Catherine Moore <clm@cygnus.com>
* combine.c (can_combine_p): Include successor in volatile test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19018
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 6 Apr 1998 06:38:10 +0000 (06:38 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19017
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 6 Apr 1998 01:05:12 +0000 (01:05 +0000)]
* objc/objc-act.c (encode_aggregate_within): Avoid GNU extensions
in prototype and definition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19016
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 6 Apr 1998 00:49:00 +0000 (00:49 +0000)]
Bump for snapshot
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19015
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 6 Apr 1998 00:47:41 +0000 (00:47 +0000)]
Bogus file sucked in from gcc2 merge.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19014
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 6 Apr 1998 00:13:47 +0000 (00:13 +0000)]
* alpha.c (alpha_expand_block_clear): Add missing offset arg to
alpha_expand_unaligned_store_words.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19013
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 5 Apr 1998 20:32:31 +0000 (20:32 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19011
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 5 Apr 1998 18:45:55 +0000 (18:45 +0000)]
Bump for snapshot
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19009
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 5 Apr 1998 16:48:42 +0000 (16:48 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19008
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 5 Apr 1998 16:30:46 +0000 (16:30 +0000)]
* configure.in (alpha-dec-osf*): Match osf1.3 correctly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19007
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 5 Apr 1998 15:57:44 +0000 (15:57 +0000)]
Add new test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19006
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 5 Apr 1998 15:54:49 +0000 (15:54 +0000)]
* configure.in (mips-wrs-vxworks): New target.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19005
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 5 Apr 1998 03:24:25 +0000 (03:24 +0000)]
* tree.c (avoid_overlap): Return a value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19004
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 4 Apr 1998 23:34:34 +0000 (23:34 +0000)]
Bump for snapshot
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19002
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 4 Apr 1998 23:33:41 +0000 (23:33 +0000)]
Bump for snapshot
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19001
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 4 Apr 1998 20:25:44 +0000 (20:25 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19000
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 4 Apr 1998 19:57:26 +0000 (19:57 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18999
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 4 Apr 1998 19:53:58 +0000 (19:53 +0000)]
* method.c (check_btype): Add missing argument to xrealloc.
(check_ktype): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18998
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 4 Apr 1998 18:37:01 +0000 (18:37 +0000)]
Clarify LEGITIMIZE_RELOAD_ADDRESS issues a tad.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18997
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 4 Apr 1998 18:20:59 +0000 (18:20 +0000)]
* alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '(' for s/sv/svi.
* alpha.c (print_operand): Handle it.
* alpha.md (fix_truncsfdi2): Use it. Add earlyclobber pattern
for ALPHA_TP_INSN.
(fix_truncdfdi2): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18996
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 4 Apr 1998 17:46:35 +0000 (17:46 +0000)]
* com.c (ffecom_expr_): Revert Oct 22 change. Instead take a WIDENP
argument so that we can respect the signedness of the original type.
(ffecom_init_0): Do sizetype initialization first.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18995
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 4 Apr 1998 17:46:06 +0000 (17:46 +0000)]
* tree.h (sizetype_tab[2], sbitsizetype, ubitsizetype): Merge all
of these into a single struct, with additional [us]sizetype entries.
* stor-layout.c (set_sizetype): Initialize [us]sizetype.
* fold-const.c (size_int_wide): Don't rely on sizetype_tab being
an array.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18994
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 4 Apr 1998 17:04:24 +0000 (17:04 +0000)]
* configure.in (alpha-*-linux-*): Undo tm_file changes from gcc2 merge.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18993
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 4 Apr 1998 13:54:32 +0000 (13:54 +0000)]
* haifa-sched.c (split_block_insns): Don't supress insn splitting
on subsequent passes.
* alpha.c (hard_fp_register_operand): New function.
* alpha.h (PREDICATE_CODES): Add it.
* alpha.md (extendsidi2): Kill bogus f<-f cvtql+cvtlq case. Add an
f<-m case and accompanying define_split.
(trapb): Use a unique unspec_volatile number.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18992
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 4 Apr 1998 13:54:31 +0000 (13:54 +0000)]
* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18991
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 4 Apr 1998 13:54:29 +0000 (13:54 +0000)]
* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18990
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 4 Apr 1998 13:54:28 +0000 (13:54 +0000)]
* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18989
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 4 Apr 1998 13:54:26 +0000 (13:54 +0000)]
* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18988
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 4 Apr 1998 13:32:43 +0000 (13:32 +0000)]
* configure.in (alpha-*-linux-gnu*): Undo Feb 3 change brought in
from gcc2 merge.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18987
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 4 Apr 1998 13:32:42 +0000 (13:32 +0000)]
* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18986
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 4 Apr 1998 13:32:41 +0000 (13:32 +0000)]
* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18985
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 4 Apr 1998 13:32:39 +0000 (13:32 +0000)]
* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18984
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 3 Apr 1998 16:37:26 +0000 (16:37 +0000)]
dummy commit before merge
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18980
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 3 Apr 1998 16:22:13 +0000 (16:22 +0000)]
dummy commit before merge
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18979
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 3 Apr 1998 14:13:24 +0000 (14:13 +0000)]
Implement empty base optimization.
* class.c (finish_struct_1): Add vbase fields earlier. Set
CLASSTYPE_SIZE of an empty base to 0. Types with bases can be empty.
* search.c (dfs_check_overlap, dfs_no_overlap_yet): New fns.
(types_overlap_p): New fn.
* tree.c (avoid_overlap): New fn.
(build_base_fields): Use it to avoid overlapping empty bases.
* cp-tree.h, decl2.c, lang-options.h: Add -fnew-abi.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18978
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 3 Apr 1998 12:29:37 +0000 (12:29 +0000)]
* Makefile.in (insn*.o): Depend on system.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18976
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Fri, 3 Apr 1998 12:29:04 +0000 (12:29 +0000)]
x86 regex.c failure from Jim Meyering.
* compile/980329-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18975
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 3 Apr 1998 12:17:58 +0000 (12:17 +0000)]
* decl.c (cplus_expand_expr_stmt): Strip unused INDIRECT_REFs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18974
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 3 Apr 1998 03:41:20 +0000 (03:41 +0000)]
Re-implement allocation of base class subobjects.
* tree.c (unshare_base_binfos): New fn.
(layout_basetypes): Use it. Now handles offsets of both virtual and
non-virtual bases, after layout_type.
(layout_vbasetypes): Remove.
(build_base_fields): Generate FIELD_DECLs for each non-virtual base.
(build_vbase_pointer_fields): Split out from old layout_basetypes.
* class.c (finish_base_struct): Lose offset handling code.
Move nonvdtor warning here. Don't mess with t_binfo anymore.
(finish_struct_1): Don't mess with t_binfo anymore. Use fns above.
* cp-tree.h: Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18973
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 2 Apr 1998 23:18:27 +0000 (23:18 +0000)]
* pa.c (output_global_address): Initialize base.
* pa.h (GO_IF_LEGITIMATE_ADDRESS): Initialize index.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18972
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 2 Apr 1998 23:15:06 +0000 (23:15 +0000)]
* gthr.h: Support systems that don't have weak, but have threads.
* configure.in (*wrs-vxworks*): Use VxWorks threads by default.
* gthr-vxworks.h: New file.
* objc/thr-vxworks.h: Dummy file from thr-single.c for now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18971
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 2 Apr 1998 18:30:53 +0000 (18:30 +0000)]
Readd patch for SCO5 to fix build problem.
* info/termdep.h: If POSIX, #undef TIOCGETC for benefit of systems
that provide TIOCETC but not struct tchars.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18967
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 2 Apr 1998 18:12:00 +0000 (18:12 +0000)]
Fix x86 core dump on regex.c
* i386.md (movqi+1): Change alternative 1 from *r/r to *r/*rn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18966
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 2 Apr 1998 17:05:40 +0000 (17:05 +0000)]
* cp-tree.h: Lose CLASSTYPE_VBASE_SIZE, some unused stuff.
* decl.c, decl2.c, pt.c, ptree.c, lex.c: Likewise.
* class.c (duplicate_tag_error): Likewise.
(finish_struct_1): Set CLASSTYPE_SIZE, CLASSTYPE_MODE, CLASSTYPE_ALIGN.
* tree.c (layout_vbasetypes): Update from layout_record, remove
var_size support, use CLASSTYPE_SIZE instead of CLASSTYPE_VBASE_SIZE.
(layout_basetypes): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18965
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 2 Apr 1998 16:19:01 +0000 (16:19 +0000)]
update
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18964
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 2 Apr 1998 11:54:27 +0000 (11:54 +0000)]
Patch from vmakarov to avoid warnings with -Wall.
* ginclude/va-i960.h (va_end): Change void * to void.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18961
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 2 Apr 1998 11:07:45 +0000 (11:07 +0000)]
Patched in the gcc directory:
* Makefile.in (choose-temp.o): Depend on system.h.
Patched in both the libiberty and gcc directories:
* choose-temp.c: Include system.h when IN_GCC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18952
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 2 Apr 1998 03:45:22 +0000 (03:45 +0000)]
Update with automake patched for DATA=$(INSTALL_DATA) problem.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18948
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 2 Apr 1998 02:42:26 +0000 (02:42 +0000)]
* reload.c (find_reloads_address): Try LEGITIMIZE_RELOAD_ADDRESS.
(move_replacements): New function.
* reload.h: Prototype it.
* alpha.h (LEGITIMIZE_RELOAD_ADDRESS): New definition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18947
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 2 Apr 1998 01:56:17 +0000 (01:56 +0000)]
* final.c (alter_subreg): Allow the target to hook by-mode subreg
hard register number changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18946
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 2 Apr 1998 01:33:22 +0000 (01:33 +0000)]
* emit-rtl.c (gen_lowpart_common): Skip count by HARD_REGNO_NREGS.
(gen_highpart): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18945
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 2 Apr 1998 01:13:17 +0000 (01:13 +0000)]
* configure (alpha-*-linuxecoff, alpha-*-linux-gnulibc1):
Run fixincludes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18944
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 1 Apr 1998 23:35:51 +0000 (23:35 +0000)]
* fold-const.c optimze_bit_field_compare): Initialize rnbitpos,
rnbitsize, rnmode and rinner.
(make_range): Initialize type.
(fold): Initialize arg0, arg1 and varop.
* function.c (instantiate_virtual_regs_1): Initialize offset, regnoi
and regnor.
(expand_function_start): Initialize last_ptr.
* stor-layout.c (layout_record): Initialize desired_align.
(get_best_mode): Initialize unit.
* tree.c (copy_node): Initialize length.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18943
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 1 Apr 1998 23:18:11 +0000 (23:18 +0000)]
* c-lex.c (yylex): Initialize traditional_type, ansi_type and type.
* caller-save.c (insert_save_restore): Initialize pat, code and
numregs.
* emit-rtl.c (push_to_sequence): Initialize top.
(push_topmost_sequence): Likewise.
* genattrtab.c (simplify_by_exploding): Initialize defval.
* profile.c (branch_prob): Initialize dest.
* rtl.h (note_stores): Remove duplicate prototype.
(GEN_INT): Re-instate cast of second arg to HOST_WIDE_INT.
Fix some warnings.
* cplus-dem.c (gnu_special): Don't get confused by .<digits>
strings that are not actually lengths.
A change from libiberty that didn't make it into the gcc copy.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18942
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 1 Apr 1998 22:44:48 +0000 (22:44 +0000)]
* genattrtab.c: Make generated file use system.h, instead of
including stdio.h, etc directly.
* genextract.c, genopinit.c, genoutput.c: Likewise.
* genpeep.c, genrecog.c: Likewise
* genoutput.c (process_template): Mark operands in the generated
function as potentially unused if compiling with GNU CC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18941
138bc75d-0d04-0410-961f-
82ee72b054a4