Alexandre Oliva [Sun, 12 Apr 1998 20:00:34 +0000 (20:00 +0000)]
* configure.in: only set HAVE_LIBZ if zlib.h exists
From-SVN: r19154
Jeffrey A Law [Sun, 12 Apr 1998 19:58:53 +0000 (19:58 +0000)]
* Makefile.in (INSTALL_MODULES): Remove texinfo.
From-SVN: r19153
Catherine Moore [Sun, 12 Apr 1998 19:55:52 +0000 (19:55 +0000)]
* invoke.texi (ld options) Include memset requirements
for options -nodstdlib and -nodefaultlibs.
From-SVN: r19152
Paul Eggert [Sun, 12 Apr 1998 19:52:16 +0000 (19:52 +0000)]
This change is from an idea suggested by Arthur David Olson.
* c-common.c (decl_attributes, record_function_format,
check_format_info, init_function_format_info):
Add support for strftime format checking.
(enum format_type): New type.
(record_function_format): Now static, and takes value of type
enum format_type instead of int.
(time_char_table): New constant.
(struct function_format_info): format_type member renamed from is_scan.
(check_format_info): Use `warning' rather than sprintf followed by
`warning', to avoid mishandling `%' in warnings.
Change `pedwarn' to `warning', since these warnings do not necessarily
mean the program does not conform to the C Standard, as the code
need not be executed.
* c-tree.h (record_function_format): Remove decl; no longer extern.
* extend.texi: Add documentation for strftime format checking.
From-SVN: r19151
Jeffrey A Law [Sun, 12 Apr 1998 19:32:23 +0000 (19:32 +0000)]
ecoffl.h: Do not include mips.h.
* mips/ecoffl.h: Do not include mips.h.
* mips/elf.h: Likewise.
From-SVN: r19150
Jeffrey A Law [Sun, 12 Apr 1998 19:24:39 +0000 (19:24 +0000)]
configure.in (mips-*-ecoff): Do not mention mips/mips.h in tm_files.
* configure.in (mips-*-ecoff): Do not mention mips/mips.h in tm_files.
* mips/ecoff.h: Include "mips/mips.h".
From-SVN: r19149
Jeff Law [Sun, 12 Apr 1998 17:04:58 +0000 (11:04 -0600)]
Initial revision
From-SVN: r19142
Jeff Law [Sun, 12 Apr 1998 17:04:57 +0000 (11:04 -0600)]
Initial revision
From-SVN: r19141
Jeff Law [Sun, 12 Apr 1998 17:04:55 +0000 (11:04 -0600)]
Initial revision
From-SVN: r19140
Jeffrey A Law [Sat, 11 Apr 1998 22:42:57 +0000 (16:42 -0600)]
Bump for snapshot
From-SVN: r19112
Jeffrey A Law [Sat, 11 Apr 1998 00:28:07 +0000 (00:28 +0000)]
cse.c (count_reg_usage): Correctly handle REG_NONNEG notes.
* cse.c (count_reg_usage): Correctly handle REG_NONNEG notes.
(delete_trivially_dead_insns): Renamed from delete_dead_from_cse.
* toplev.c (rest_of_compilation): Call delete_trivially_dead_insns
instead of delete_dead_from_cse. Also call delete_trivially_dead_insns
between loop optimization passes.
* rtl.h: Updated appropriately.
From-SVN: r19100
Jeff Law [Fri, 10 Apr 1998 22:54:42 +0000 (16:54 -0600)]
Rebuild after recent parse.y change.
From-SVN: r19099
Jeff Law [Fri, 10 Apr 1998 21:30:30 +0000 (15:30 -0600)]
Reinstall this patch from Jason.
8
Reinstall this patch from Jason.
* function.c (push_function_context_to): Don't call init_emit.
From-SVN: r19098
Jeff Law [Fri, 10 Apr 1998 21:30:28 +0000 (15:30 -0600)]
Reinstall this patch from Jason.
�
Reinstall this patch from Jason.
* function.c (push_function_context_to): Don't call init_emit.
From-SVN: r19097
Nick Clifton [Fri, 10 Apr 1998 13:41:28 +0000 (13:41 +0000)]
Prevent going into an infinite loop upon encountering an enuterminated comment.
From-SVN: r19082
Jeffrey A Law [Fri, 10 Apr 1998 09:44:37 +0000 (09:44 +0000)]
emit-rtl.c (operand_subword): Properly handle CONST_INTs for 64x32 cross builds.
* emit-rtl.c (operand_subword): Properly handle CONST_INTs for
64x32 cross builds.
From-SVN: r19081
Dave Brolley [Fri, 10 Apr 1998 09:40:22 +0000 (03:40 -0600)]
Forgot to commit.
From-SVN: r19080
Jason Merrill [Fri, 10 Apr 1998 03:38:27 +0000 (03:38 +0000)]
sig.c (build_signature_pointer_constructor): Don't set TREE_HAS_CONSTRUCTOR for a signature pointer.
* sig.c (build_signature_pointer_constructor): Don't set
TREE_HAS_CONSTRUCTOR for a signature pointer.
* cvt.c (ocp_convert): Don't force a temporary for internal structs.
* init.c (resolve_offset_ref): Warn about implicit & on pmfs
here, too.
* typeck.c (build_unary_op): Only allow taking the address of a
real constructor.
* typeck2.c (digest_init): Simplify.
(store_init_value): Don't pedwarn about using { } for pmfs.
From-SVN: r19079
Jeff Law [Fri, 10 Apr 1998 00:57:57 +0000 (18:57 -0600)]
Fix minor bugs in previous change.
From-SVN: r19078
Jeffrey A Law [Fri, 10 Apr 1998 00:45:43 +0000 (00:45 +0000)]
* cplus-dem.c: Sync with gcc.
From-SVN: r19077
Jim Wilson [Fri, 10 Apr 1998 00:37:58 +0000 (00:37 +0000)]
Makefile.am (SUBDIRS): Redefine to exclude info, po, util and doc.
* Makefile.am (SUBDIRS): Redefine to exclude info, po, util and doc.
* Makefile.in: Rebuild.
From-SVN: r19076
Jeffrey A Law [Fri, 10 Apr 1998 00:31:10 +0000 (00:31 +0000)]
configure.in: Handle --with-fast-fixincludes.
* configure.in: Handle --with-fast-fixincludes.
(fixincludes): If --with-fast-fixincludes, then use a different
fixincludes program by default.
* Makefile.in (fixinc.sh): New rule.
From-SVN: r19075
Jeff Law [Fri, 10 Apr 1998 00:14:42 +0000 (18:14 -0600)]
new test from HJ.
From-SVN: r19074
H.J. Lu [Thu, 9 Apr 1998 23:38:47 +0000 (23:38 +0000)]
i386.md (movqi+1): Handle invalid QI register.
* i386.md (movqi+1): Handle invalid QI register.
(movsf_push-1): Likewise.
From-SVN: r19073
Benjamin Kosnik [Thu, 9 Apr 1998 20:36:49 +0000 (20:36 +0000)]
cp-tree.h (start_decl): Update prototype.
a
Thu Apr 9 22:16:57 1998 Per Bothner <bothner@cygnus.com>
* cp-tree.h (start_decl): Update prototype.
* decl.c (start_decl): Like the C version, new parameters
for the attributes. Call cplus_decl_attributes here,
(pushdecl): Like C version, do build_type_copy if TYPE_DECL,
(grokdeclarator): Pass NULL for new start_decl arguments.
* pt.c (tsubst_expr): Likewise.
* parse.y: Merge cplus_decl_attribute calls into start_decl calls.
* typeck.c (common_type): Check TYPE_MAIN_VARIANT.
* lex.c (build_lang_decl): Add lang_name_java.
* class.c (push_lang_context): Add lang_name_java.
* method.c (build_mangled_name): Check for is_java_type.
Thu Apr 9 22:16:57 1998 Benjamin Kosnik <bkoz@loony.cygnus.com>
* decl.c (grokdeclarator): Check TYPE_MAIN_VARIANT.
* call.c (build_scoped_method_call): Check for TREE_CODE for
VOID_TYPE instead of type == void_type_node.
(build_method_call): Ditto.
* decl.c (lookup_name_real): Ditto.
(grokdeclarator): Ditto.
(start_decl): Ditto.
(grokparms): Ditto.
(start_function): Ditto.
(finish_function): Ditto.
(start_method): Ditto.
also fixes g++/15415
From-SVN: r19072
Benjamin Kosnik [Thu, 9 Apr 1998 20:36:47 +0000 (20:36 +0000)]
cp-tree.h (start_decl): Update prototype.
d
Thu Apr 9 22:16:57 1998 Per Bothner <bothner@cygnus.com>
* cp-tree.h (start_decl): Update prototype.
* decl.c (start_decl): Like the C version, new parameters
for the attributes. Call cplus_decl_attributes here,
(pushdecl): Like C version, do build_type_copy if TYPE_DECL,
(grokdeclarator): Pass NULL for new start_decl arguments.
* pt.c (tsubst_expr): Likewise.
* parse.y: Merge cplus_decl_attribute calls into start_decl calls.
* typeck.c (common_type): Check TYPE_MAIN_VARIANT.
* lex.c (build_lang_decl): Add lang_name_java.
* class.c (push_lang_context): Add lang_name_java.
* method.c (build_mangled_name): Check for is_java_type.
Thu Apr 9 22:16:57 1998 Benjamin Kosnik <bkoz@loony.cygnus.com>
* decl.c (grokdeclarator): Check TYPE_MAIN_VARIANT.
* call.c (build_scoped_method_call): Check for TREE_CODE for
VOID_TYPE instead of type == void_type_node.
(build_method_call): Ditto.
* decl.c (lookup_name_real): Ditto.
(grokdeclarator): Ditto.
(start_decl): Ditto.
(grokparms): Ditto.
(start_function): Ditto.
(finish_function): Ditto.
(start_method): Ditto.
also fixes g++/15415
From-SVN: r19071
Nick Clifton [Thu, 9 Apr 1998 16:58:50 +0000 (16:58 +0000)]
Removed unused functions.
Changed call_address_operand() to only accept symbolic addresses.
From-SVN: r19070
Jeff Law [Thu, 9 Apr 1998 10:55:36 +0000 (04:55 -0600)]
Change from Dave.
From-SVN: r19069
Jeff Law [Thu, 9 Apr 1998 00:44:41 +0000 (18:44 -0600)]
calls.c (expand_call): Fix typo.
8
* calls.c (expand_call): Fix typo.
From-SVN: r19068
Jeff Law [Thu, 9 Apr 1998 00:44:39 +0000 (18:44 -0600)]
calls.c (expand_call): Fix typo.
�
* calls.c (expand_call): Fix typo.
From-SVN: r19067
Jeff Law [Wed, 8 Apr 1998 23:36:52 +0000 (17:36 -0600)]
Tweak for init_lex/init_parse changes.
From-SVN: r19066
Dave Brolley [Wed, 8 Apr 1998 23:30:28 +0000 (23:30 +0000)]
lex.c (finput): New variable.
* lex.c (finput): New variable.
(init_cpp_parse): Renamed from init_parse.
(init_parse): Handle !USE_CPPLIB. Call init_cpp_parse when finished.
(finish_parse): New function.
* cp-tree.h (init_lex, init_parse): Remove declarations.
From-SVN: r19065
Dave Brolley [Wed, 8 Apr 1998 23:30:08 +0000 (17:30 -0600)]
com.c (finput): New variable.
* com.c (finput): New variable.
(init_parse): Handle !USE_CPPLIB.
(finish_parse): New function.
(lang_init): No longer declare finput.
From-SVN: r19064
Dave Brolley [Wed, 8 Apr 1998 23:29:09 +0000 (23:29 +0000)]
c-lex.c (finput): New global.
* 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.
From-SVN: r19063
Jeffrey A Law [Wed, 8 Apr 1998 23:10:27 +0000 (23:10 +0000)]
configure.in (v850): Use t-v850.
* configure.in (v850): Use t-v850.
(ix86-wrs-vxworks): Recognize 786 just like other x86 configurations.
From-SVN: r19062
Jeffrey A Law [Wed, 8 Apr 1998 22:55:33 +0000 (22:55 +0000)]
* protoize.c (creat, read, write): Do not declare.
From-SVN: r19061
Jeffrey A 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...
* jump.c (mark_jump_label): Record REG_LABEL notes for insns which
refer to the CODE_LABEL before a dispatch table.
From-SVN: r19060
Jeffrey A Law [Wed, 8 Apr 1998 22:44:13 +0000 (22:44 +0000)]
* invoke.texi: Add ARC options.
From-SVN: r19059
Jeffrey A 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.
* gcc.c (proces_command): Improve error message for -o with
either -c or -S.
From-SVN: r19058
Gavin Koch [Wed, 8 Apr 1998 22:14:57 +0000 (22:14 +0000)]
r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK, [...]): Add.
* config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
ASM_WEAKEN_LABEL): Add.
From-SVN: r19057
Jeff Law [Wed, 8 Apr 1998 22:09:33 +0000 (16:09 -0600)]
Update copyright.
From-SVN: r19056
Jeffrey A Law [Wed, 8 Apr 1998 22:08:11 +0000 (22:08 +0000)]
x-cygwin32 (CLIB): Link in advapi32.
* i386/x-cygwin32 (CLIB): Link in advapi32.
Easier to build with older version of gcc.
From-SVN: r19055
Jeffrey A Law [Wed, 8 Apr 1998 22:04:32 +0000 (22:04 +0000)]
alpha.h (ASM_IDENTIFY_GCC): Define to nothing.
* alpha.h (ASM_IDENTIFY_GCC): Define to nothing.
(ASM_IDENTIFY_LANGUAGE): Likewise.
Bring over from devo.
From-SVN: r19054
Jeff Law [Wed, 8 Apr 1998 21:12:07 +0000 (15:12 -0600)]
Bring over changes from devo.
From-SVN: r19053
Richard Henderson [Wed, 8 Apr 1998 18:30:32 +0000 (11:30 -0700)]
Support recursive calls to exit.
From-SVN: r19052
Richard Henderson [Wed, 8 Apr 1998 18:22:54 +0000 (11:22 -0700)]
crtbegin.asm, [...]: New files.
* alpha/crtbegin.asm, alpha/crtend.asm, alpha/t-crtb: New files.
* configure.in (alpha-*-linux*): Use them.
From-SVN: r19051
Jeffrey A 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.
* i386.md (movqi recognizer): Don't perfom byte increment into
a NON_QI_REG_P.
From-SVN: r19050
Alexandre Petit-Bianco [Wed, 8 Apr 1998 14:03:48 +0000 (14:03 +0000)]
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
Jim Wilson [Wed, 8 Apr 1998 13:22:56 +0000 (13:22 +0000)]
Delete duplicate test.
From-SVN: r19048
Jeff Law [Wed, 8 Apr 1998 11:56:17 +0000 (05:56 -0600)]
configure.in (x86-dg-dgux): Run fixinc.dgux.
8
* configure.in (x86-dg-dgux): Run fixinc.dgux.
From-SVN: r19047
Jeff Law [Wed, 8 Apr 1998 11:56:15 +0000 (05:56 -0600)]
configure.in (x86-dg-dgux): Run fixinc.dgux.
�
* configure.in (x86-dg-dgux): Run fixinc.dgux.
From-SVN: r19046
Jeffrey A Law [Wed, 8 Apr 1998 11:55:10 +0000 (11:55 +0000)]
* i386.h: Fix typo in GEN_INT changes.
From-SVN: r19045
Jeffrey A 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.
* bitmap.c (bitmap_element_allocate): Use "void" for arglist instead
of an empty arglist in prototype.
From-SVN: r19044
Jeffrey A 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.
* Makefile.in: Remove bytecode crud that crept back in after the
gcc2 merge.
From-SVN: r19043
Jeff Law [Wed, 8 Apr 1998 11:40:54 +0000 (05:40 -0600)]
Note lang_print_xnode change.
From-SVN: r19042
Jeff Law [Wed, 8 Apr 1998 11:39:39 +0000 (05:39 -0600)]
Change from tege.
From-SVN: r19041
Brendan Kehoe [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.
* 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
Richard Earnshaw [Wed, 8 Apr 1998 06:19:00 +0000 (06:19 +0000)]
* arm.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
From-SVN: r19039
Bernd Schmidt [Tue, 7 Apr 1998 23:47:11 +0000 (23:47 +0000)]
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
Jeff Law [Tue, 7 Apr 1998 23:30:05 +0000 (17:30 -0600)]
New test from Joern.
From-SVN: r19037
Jeffrey A Law [Tue, 7 Apr 1998 20:51:37 +0000 (20:51 +0000)]
* pa.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
From-SVN: r19036
Jeff Law [Tue, 7 Apr 1998 18:44:08 +0000 (12:44 -0600)]
Forgot to commit (duh).
From-SVN: r19035
Ulrich 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...
(__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
Ken Raeburn [Tue, 7 Apr 1998 13:29:03 +0000 (13:29 +0000)]
Remove SIGINFO handling from mips.c.
From-SVN: r19033
Ken Raeburn [Tue, 7 Apr 1998 13:24:41 +0000 (13:24 +0000)]
Sync up MEMORY_MOVE_COST changes with FSF.
From-SVN: r19032
Jim Wilson [Tue, 7 Apr 1998 12:02:08 +0000 (12:02 +0000)]
Testcase for loop reversal (check_dbra_loop) bug.
From-SVN: r19031
Jim 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.
From-SVN: r19030
Jason Merrill [Tue, 7 Apr 1998 03:48:22 +0000 (03:48 +0000)]
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
Richard Henderson [Tue, 7 Apr 1998 02:03:34 +0000 (19:03 -0700)]
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
Richard Henderson [Mon, 6 Apr 1998 23:37:27 +0000 (16:37 -0700)]
* tree.h (sizetype_tab): Fix previous change for K&R.
From-SVN: r19027
Jeffrey A Law [Mon, 6 Apr 1998 22:27:32 +0000 (16:27 -0600)]
Bump for snapshot
From-SVN: r19025
Richard Earnshaw [Mon, 6 Apr 1998 22:17:05 +0000 (22:17 +0000)]
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
Jeff Law [Mon, 6 Apr 1998 22:14:36 +0000 (16:14 -0600)]
Fix typo, add -O2 to trigger the bug.
From-SVN: r19023
Bob Manson [Mon, 6 Apr 1998 20:51:28 +0000 (20:51 +0000)]
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
Jim 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.
From-SVN: r19021
Kaveh R. 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.
From-SVN: r19020
Kaveh R. Ghazi [Mon, 6 Apr 1998 12:03:16 +0000 (12:03 +0000)]
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
Catherine Moore [Mon, 6 Apr 1998 10:49:13 +0000 (10:49 +0000)]
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
J"orn Rennecke [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.
From-SVN: r19017
Jeffrey A Law [Mon, 6 Apr 1998 01:05:12 +0000 (01:05 +0000)]
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
Jeffrey A Law [Mon, 6 Apr 1998 00:49:00 +0000 (18:49 -0600)]
Bump for snapshot
From-SVN: r19015
Jeff Law [Mon, 6 Apr 1998 00:47:41 +0000 (18:47 -0600)]
Bogus file sucked in from gcc2 merge.
From-SVN: r19014
Richard Henderson [Mon, 6 Apr 1998 00:13:47 +0000 (17:13 -0700)]
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
John Wehle [Sun, 5 Apr 1998 20:32:31 +0000 (20:32 +0000)]
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
Jeffrey A Law [Sun, 5 Apr 1998 18:45:55 +0000 (12:45 -0600)]
Bump for snapshot
From-SVN: r19009
Jeff Law [Sun, 5 Apr 1998 16:48:42 +0000 (10:48 -0600)]
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
Richard Henderson [Sun, 5 Apr 1998 16:30:46 +0000 (09:30 -0700)]
* configure.in (alpha-dec-osf*): Match osf1.3 correctly.
From-SVN: r19007
Jeff Law [Sun, 5 Apr 1998 15:57:44 +0000 (09:57 -0600)]
Add new test.
From-SVN: r19006
Don Bowman [Sun, 5 Apr 1998 15:54:49 +0000 (09:54 -0600)]
* configure.in (mips-wrs-vxworks): New target.
From-SVN: r19005
Jason Merrill [Sun, 5 Apr 1998 03:24:25 +0000 (03:24 +0000)]
* tree.c (avoid_overlap): Return a value.
From-SVN: r19004
Jeffrey A Law [Sat, 4 Apr 1998 23:34:34 +0000 (16:34 -0700)]
Bump for snapshot
From-SVN: r19002
Jeffrey A Law [Sat, 4 Apr 1998 23:33:41 +0000 (16:33 -0700)]
Bump for snapshot
From-SVN: r19001
Richard Henderson [Sat, 4 Apr 1998 20:25:44 +0000 (12:25 -0800)]
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
Richard Henderson [Sat, 4 Apr 1998 19:57:26 +0000 (11:57 -0800)]
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
Jeffrey A Law [Sat, 4 Apr 1998 19:53:58 +0000 (19:53 +0000)]
method.c (check_btype): Add missing argument to xrealloc.
* method.c (check_btype): Add missing argument to xrealloc.
(check_ktype): Likewise.
From-SVN: r18998
Richard Henderson [Sat, 4 Apr 1998 18:37:01 +0000 (10:37 -0800)]
Clarify LEGITIMIZE_RELOAD_ADDRESS issues a tad.
From-SVN: r18997
David Mosberger-Tang [Sat, 4 Apr 1998 18:20:59 +0000 (18:20 +0000)]
alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '(' for s/sv/svi.
* 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.
From-SVN: r18996
Richard Henderson [Sat, 4 Apr 1998 17:46:35 +0000 (09:46 -0800)]
com.c (ffecom_expr_): Revert Oct 22 change.
* 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.
From-SVN: r18995
Richard Henderson [Sat, 4 Apr 1998 17:46:06 +0000 (09:46 -0800)]
tree.h (sizetype_tab[2], [...]): Merge all of these into a single struct, with additional [us]sizetype entries.
* 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.
From-SVN: r18994
Richard Henderson [Sat, 4 Apr 1998 17:04:24 +0000 (09:04 -0800)]
* configure.in (alpha-*-linux-*): Undo tm_file changes from gcc2 merge.
From-SVN: r18993