aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2000-10-24expr.c (do_store_flag): Don't crash if either side of a comparison is ↵Andrew Haley2-0/+10
error_mark_node. 2000-10-24 Andrew Haley <aph@cygnus.co.uk> * expr.c (do_store_flag): Don't crash if either side of a comparison is error_mark_node. From-SVN: r37036
2000-10-24sibcall.c (purge_mem_unchanging_flag): New function.Jakub Jelinek4-11/+94
* sibcall.c (purge_mem_unchanging_flag): New function. (optimize_sibling_and_tail_recursive_calls): Call it. * g++.old-deja/g++.other/sibcall1.C: New test. From-SVN: r37033
2000-10-24Daily bump.Jeff Law2-2/+2
From-SVN: r37031
2000-10-24Makefile.in (check-po): New target for doing checks in the po subdir if all ↵Philipp Thomas4-94/+129
languages configured. 2000-10-24 Philipp Thomas <pthomas@suse.de> * Makefile.in (check-po): New target for doing checks in the po subdir if all languages configured. (CHECK_TARGETS): Add @CHECK_PO@, replaced with check-po via configure if NLS is enabled. * configure.in: If NLS is enabled, substitute CHECK_PO by check-po, otherwise leave empty. * configure: Regenerate. From-SVN: r37030
2000-10-23ia64.c (ia64_expand_prologue): Mark extra output registers as fixed.Richard Henderson2-2/+18
* config/ia64/ia64.c (ia64_expand_prologue): Mark extra output registers as fixed. (ia64_function_epilogue): Undo output fixation. From-SVN: r37029
2000-10-23alpha.md: Add names for all unnamed insns; use define_insn_and_split in some ↵Richard Henderson2-266/+259
obvious places. * config/alpha/alpha.md: Add names for all unnamed insns; use define_insn_and_split in some obvious places. (lda): Remove. (zero_extendqihi2): Use an expander w/ nonimmediate_operand for BWX. (zero_extendqisi2, zero_extendqidi2): Likewise. (zero_extendhisi2, zero_extendhidi2): Likewise. (abs splitters): Fix match_scratch operand number. (bcc_reverse): Swap pc & label instead of non-canonical compare. From-SVN: r37028
2000-10-23Fix Turbo's LPRng compilation failure due to assembler errors.Jim Wilson3-3/+19
* ia64.c (ia64_print_operand, case 'r'): Correct comment. Handle CONST_INT. * ia64.md (cmpsi_adjusted): Use %r3. (cmpdi_adjusted): Likewise. From-SVN: r37025
2000-10-23* call.c (equal_functions): Also call decls_match for extern "C" fns.Jason Merrill3-2/+28
From-SVN: r37024
2000-10-23att.h (ASM_FILE_START): Define.Diego Novillo2-0/+15
2000-10-23 Diego Novillo <dnovillo@cygnus.com> * config/i386/att.h (ASM_FILE_START): Define. From-SVN: r37023
2000-10-23linux.h (ASM_FILE_START): Define.Diego Novillo2-0/+15
2000-10-23 Diego Novillo <dnovillo@cygnus.com> * config/i386/linux.h (ASM_FILE_START): Define. From-SVN: r37022
2000-10-23m68k-coff removed libgloss to fix a multiple definition of crt0Donald Lindsay2-1/+7
From-SVN: r37020
2000-10-23reload1.c (reload_reg_reaches_end_p): A RELOAD_OTHER can overwrite the value ↵Geoff Keating2-5/+11
in a RELOAD_FOR_INPUT and other kinds of... * reload1.c (reload_reg_reaches_end_p): A RELOAD_OTHER can overwrite the value in a RELOAD_FOR_INPUT and other kinds of reloads just like an RELOAD_FOR_OUTPUT would. From-SVN: r37019
2000-10-23local-alloc.c (update_equiv_regs): Add an abort().Geoff Keating2-1/+16
* local-alloc.c (update_equiv_regs): Add an abort(). When deleting or moving insns, update reg_equiv[regno].init_insns. From-SVN: r37018
2000-10-23c-tree.texi: Improve documentation for IF_STMTs and related conditional ↵Mark Mitchell2-9/+26
statements. * c-tree.texi: Improve documentation for IF_STMTs and related conditional statements. From-SVN: r37015
2000-10-23Daily bump.Jeff Law2-2/+2
From-SVN: r37014
2000-10-23call.c (standard_conversion): Use RVALUE_CONVs for all expressions that ↵Mark Mitchell3-1/+39
satisfy lvalue_p... * call.c (standard_conversion): Use RVALUE_CONVs for all expressions that satisfy lvalue_p, not just those that satisfy real_lvalue_p. From-SVN: r37013
2000-10-23expr.c (do_preexpand_calls): Remove.Mark Mitchell8-131/+60
* expr.c (do_preexpand_calls): Remove. (same_from_p): Don't use CALL_EXPR_RTL. (expand_expr): Don't call preexpand_calls, or use CALL_EXPR_RTL. (preexpand_calls): Remove. * tree.c (first_rtl_op): Remove CALL_EXPR case. (unsave_expr_1): Likewise. * tree.def (CALL_EXPR): Give it only two slots. * tree.h (CALL_EXPR_RTL): Remove. * optimize.c (copy_body_r): Don't treat CALL_EXPRs specially. From-SVN: r37012
2000-10-22libgcc-std.ver (__addvsi3, [...]): New functions.Chandrakala Chavva2-0/+16
* libgcc-std.ver (__addvsi3, __addvdi3, __subvsi3, __subvdi3, __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3): New functions. From-SVN: r37010
2000-10-22call.c (build_conditional_expr): Use ocp_convert to force rvalue conversion.Jason Merrill2-3/+27
* call.c (build_conditional_expr): Use ocp_convert to force rvalue conversion. From-SVN: r37009
2000-10-22calls.c (combine_pending_stack_adjustment_and_call): Don't adjust stack when ↵Alexandre Oliva2-1/+6
unadjusted_alignment ends up as zero. * calls.c (combine_pending_stack_adjustment_and_call): Don't adjust stack when unadjusted_alignment ends up as zero. From-SVN: r37008
2000-10-22genfixes: Remove EGCS reference.Joseph Myers4-20/+37
* fixinc/genfixes: Remove EGCS reference. * install.texi: Remove EGCS reference. * INSTALL: Regenerate. From-SVN: r37007
2000-10-22tree.h (TYPE_IS_SIZETYPE): Add more documentation.Mark Mitchell4-12/+30
* tree.h (TYPE_IS_SIZETYPE): Add more documentation. * typeck.c (c_sizeof): Return an expression of `size_t' type, not one with TYPE_IS_SIZETYPE set. (dubious_conversion_warnings): Remove special-case code. From-SVN: r37006
2000-10-22* POTFILES.in: Add config/i386/netware.h and config/netware.h.Geoff Keating2-0/+6
From-SVN: r37004
2000-10-22Daily bump.Jeff Law2-2/+2
From-SVN: r37003
2000-10-22decl2.c (arg_assoc_type): Handle VECTOR_TYPE.Geoff Keating4-0/+19
* decl2.c (arg_assoc_type): Handle VECTOR_TYPE. * error.c (dump_type): Handle VECTOR_TYPE like POINTER_TYPE. (dump_type_prefix): Print vector-of-int as 'int vector'. (dump_type_suffix): Handle VECTOR_TYPE like POINTER_TYPE. * tree.c (walk_tree): Handle VECTOR_TYPE. From-SVN: r37002
2000-10-22* decl.c (init_decl_processing): Call MD_INIT_BUILTINS.Geoff Keating2-0/+8
From-SVN: r37001
2000-10-21parse.y (operator): Set got_object from got_scope.Jason Merrill4-12/+80
* parse.y (operator): Set got_object from got_scope. Set looking_for_typename. * decl.c (lookup_name_real): Clear val after setting from_obj. Reorganize diagnostic. From-SVN: r37000
2000-10-21POTFILES.in: Remove config/rs6000/netware.h.Philipp Thomas3-5/+13
2000-10-21 Philipp Thomas <pthomas@suse.de> * POTFILES.in: Remove config/rs6000/netware.h. Remove the files moved out of libgcc and over to libsupc++. * Makefile.in.in (stamp-check-pot): Rename to stamp-check-po. (check-po): New, more intuitive target to check POTFILES.in for consistency. From-SVN: r36997
2000-10-21diagnostic.c: Remove EGCS reference in comment.Joseph Myers5-3/+11
* diagnostic.c: Remove EGCS reference in comment. f: * Makefile.in, g77spec.c: Remove EGCS references in comments. From-SVN: r36996
2000-10-21Warning fixes:Kaveh R. Ghazi5-4/+31
* gjavah.c (NEED_PEEK_ATTRIBUTE, NEED_SKIP_ATTRIBUTE): Define * jcf-reader.c (peek_attribute, skip_attribute): Only define when requested. * parse.h (yyerror): If JC1_LITE, mark with ATTRIBUTE_NORETURN. * verify.c (CHECK_PC_IN_RANGE): Cast result of stmt-expr to void. From-SVN: r36994
2000-10-21* loop.c (strength_reduce): Fix error in last change.Richard Kenner2-1/+5
From-SVN: r36993
2000-10-21Daily bump.Jeff Law2-2/+2
From-SVN: r36992
2000-10-21* gcc.dg/noncompile/init-3.c: New test.Jakub Jelinek2-0/+8
From-SVN: r36991
2000-10-21parse.y (do_resolve_class): Also explore superclasses of intermediate ↵Bryce McKinlay2-4/+11
enclosing contexts when... 2000-08-15 Bryce McKinlay <bryce@albatross.co.nz> * parse.y (do_resolve_class): Also explore superclasses of intermediate enclosing contexts when searching for inner classes. From-SVN: r36990
2000-10-20Makefile.in (SHLIB_NM_FLAGS): New.David Edelsohn4-2/+32
* Makefile.in (SHLIB_NM_FLAGS): New. (libgcc.mk): Pass it. * mklibgcc.in (libgcc.map): Use it. * rs6000/t-aix43 (SHLIB_EXT, SHLIB_LINK, SHLIB_LIBS, SHLIB_MKMAP, SHLIB_MAPFILES, SHLIB_NM_FLAGS): New. From-SVN: r36989
2000-10-20Warning fixes:Kaveh R. Ghazi7-7/+33
* mips.h (REG_CLASS_FROM_LETTER): Cast array arg to unsigned char. * sparc.c (load_pic_register): Delete unused varaible. * libgcc2.c (__addvsi3): Delete unused variable. * libgcc2.h (__absvsi2, __absvdi2, __addvsi3, __addvdi3, __subvsi3, __subvdi3, __mulvsi3, __mulvdi3, __negvsi2, __negvdi2): Prototype. * ssa.c (apply_delayed_renames): Avoid undefined operation. * toplev.c (display_target_options): Make static to match prototype. Delete empty declaration. From-SVN: r36987
2000-10-20* tree.c (walk_tree): Don't walk into default args.Jason Merrill1-0/+31
From-SVN: r36985
2000-10-20tree.c (walk_tree): Don't walk into default args.Jason Merrill3-3/+14
* tree.c (walk_tree): Don't walk into default args. * error.c (dump_expr): Use host_integerp. From-SVN: r36984
2000-10-20Removed erroneous ChangeLog entryTom Tromey1-7/+0
From-SVN: r36983
2000-10-20jvspec.c (lang_specific_driver): Recognize -MF and -MT.Tom Tromey9-201/+144
* jvspec.c (lang_specific_driver): Recognize -MF and -MT. * lang-specs.h: Added %{MA}, %{MF*}, %{MT*}. * lang-options.h: Added -MA, -MT, -MF.. * lang.c (lang_decode_option): Recognize -MA, -MT, -MF. (DEPEND_TARGET_SET): New macro. (DEPEND_FILE_ALREADY_SET): Likewise. (init_parse): Handle new flags. * jcf.h (jcf_dependency_print_dummies): Declare. * Make-lang.in (s-java): Added mkdeps.o. * Makefile.in (BACKEND): Added mkdeps.o. (../gcjh$(exeext)): Added mkdeps.o. (../jcf-dump$(exeext)): Added mkdeps.o. * jcf-depend.c: Include mkdeps.h. (struct entry, dependencies, targets, MAX_OUTPUT_COLUMNS, add_entry): Removed. (jcf_dependency_reset): Rewrote. (dependencies): New global. (jcf_dependency_set_target): Rewrote. (jcf_dependency_add_target): Likewise. (jcf_dependency_add_file): Likewise. (munge): Removed. (print_ents): Removed. (jcf_dependency_write): Rewrote. (print_dummies): New global. (jcf_dependency_print_dummies): New function (jcf_dependency_write): Call deps_dummy_targets if required. From-SVN: r36981
2000-10-20cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT.Tom Tromey3-2/+9
* cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT. * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT. From-SVN: r36980
2000-10-20expr.c (expand_expr, [...]): Set RTX_UNCHANGING_P on returned MEM.Richard Kenner3-17/+64
* expr.c (expand_expr, case SAVE_EXPR): Set RTX_UNCHANGING_P on returned MEM. (expand_expr_unaligned, case ARRAY_REF): Check that index is a constant before comparing it; use tree_low_cst. * tree.c (save_expr): Set TREE_READONLY. (substitute_expr): Return inside of NON_LVALUE_EXPR. (build, build1): Set TREE_READONLY if all operands are. (build_index_type): If upper bound is a negative number, lower bound is zero and sizetype is unsigned, use upper bound of one and lower of zero. From-SVN: r36979
2000-10-20gcse.c (set_hash_table_size): Now unsigned.Richard Kenner1-2/+2
* gcse.c (set_hash_table_size): Now unsigned. * sdbout.c (template_name_p): Add "const" to avoid warnings. (sdbout_record_type_name, plain_type_1, sdbout_symbol): Likewise. (sdbout_one_type, sdbout_parms, sdbout_reg_parms): Likewise. (sdbout_end_epilogue): Remove variable NAME. * system.h (getopt): Add default definition. * config/alpha/alpha.c (print_operand): Don't continue processing after issuing error. (summarize_insn): Avoid use of UL in constant. From-SVN: r36978
2000-10-20* Use "because" instead of since in error messages.David Edelsohn4-4/+14
From-SVN: r36977
2000-10-20stor-layout.c (compute_record_mode): Use tree_low_cst.Richard Kenner2-30/+15
* stor-layout.c (compute_record_mode): Use tree_low_cst. Don't use mode of field for record unless sizes are the same. (layout_type, case ARRAY_TYPE): Remove special bounds handling previously added for Ada; also change to using host_integerp and tree_low_cst. From-SVN: r36976
2000-10-20loop.c (strength_reduce): Show when new register made for giv is known to be ↵Richard Kenner2-1/+44
a pointer and its aligment if... * loop.c (strength_reduce): Show when new register made for giv is known to be a pointer and its aligment if so and known. (loop_dump_aux): Show VERBOSE parameter unused. From-SVN: r36975
2000-10-20gcse.c (set_hash_table_size): Now unsigned.Richard Kenner4-10/+25
* gcse.c (set_hash_table_size): Now unsigned. * sdbout.c (template_name_p): Add "const" to avoid warnings. (sdbout_record_type_name, plain_type_1, sdbout_symbol): Likewise. (sdbout_one_type, sdbout_parms, sdbout_reg_parms): Likewise. (sdbout_end_epilogue): Remove variable NAME. * system.h (getopt): Add default definition. * config/alpha/alpha.c (print_operand): Don't continue processing after issuing error. (summarize_insn): Avoid use of UL in constant. From-SVN: r36974
2000-10-20* function.c (locate_and_pad_parm): Use host_integerp and tree_low_cst.Richard Kenner2-4/+6
From-SVN: r36973
2000-10-20Fix formatting after collision.Richard Henderson1-0/+1
From-SVN: r36972
2000-10-20regrename.c (rr_replace_reg): Rewrite to use recog_data to perform ↵Richard Henderson2-112/+61
substitutions... * regrename.c (rr_replace_reg): Rewrite to use recog_data to perform substitutions, and apply_change_group to see if it worked. From-SVN: r36971