aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2000-05-24Fix minor goofs pointed out by Stan.Jeff Law1-6/+5
From-SVN: r34155
2000-05-24Forgot to commit.Jeff Law1-0/+5
From-SVN: r34154
2000-05-25* loop.c (basic_induction_var): Avoid double recording of an increment.J"orn Rennecke2-1/+11
From-SVN: r34153
2000-05-24gcc.texi: Remove contributor list.Jeff Law2-184/+681
* gcc.texi: Remove contributor list. Instead include contrib.texi. * contrib.texi: New file. From-SVN: r34152
2000-05-25revert: loop.h (struct induction): Add multi_insn_incr.J"orn Rennecke3-53/+30
* Back out this patch: Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com> * loop.h (struct induction): Add multi_insn_incr. * loop.c (basic_induction_var): New multi_insn_incr argument. Set it if we search back through previous insns for the biv. (record_biv): New multi_insn_incr argument; fill in struct induction. (strength_reduce): Discard an iv with multiple bivs, any of which require multiple insns to increment. * loop.c (check_insn_for_bivs): Remove bits copied from above patch. From-SVN: r34151
2000-05-25rtl.h (loc_mentioned_in_p): Declare.J"orn Rennecke5-31/+51
* rtl.h (loc_mentioned_in_p): Declare. * reload.c (loc_mentioned_in_p): Moved from here... * rtlanal.c (loc_mentioned_in_p): to here. No longer static. Fix loop increment for 'E' handling. * loop.c (strength_reduce): When doing biv->giv conversion, take multi-insn biv increments into account. From-SVN: r34150
2000-05-24stmt.c (expand_end_bindings): Look through NOTEs to find a BARRIER.Jason Merrill2-2/+13
* stmt.c (expand_end_bindings): Look through NOTEs to find a BARRIER. From-SVN: r34149
2000-05-24newJason Merrill1-0/+14
From-SVN: r34148
2000-05-24cp-tree.h (build_delete): Change prototype.Mark Mitchell6-115/+96
* cp-tree.h (build_delete): Change prototype. (build_vec_delete): Likewise. * call.c (build_scoped_method_call): Use special_function_kind values to indicate the kind of destruction to be done. (build_method_call): Likewise. * decl.c (finish_destructor_body): Likewise. (maybe_build_cleanup_1): Likewise. Rename to ... (maybe_build_cleanup): ... this. * decl2.c (delete_sanity): Use special_function_kind values to indicate the kind of destruction to be done. (build_cleanup): Likewise. * init.c (perform_member_init): Likewise. (build_vec_delete_1): Likewise. (build_dtor_call): Simplify. (build_delete): Use special_function_kind values to indicate the kind of destruction to be done. (build_vbase_delete): Likewise. (build_vec_delete): Likewise. From-SVN: r34147
2000-05-24calls.c (expand_call): Handle cleanups in tail-recursion arguments ↵Mark Mitchell3-3/+33
analagously to cleanups in sibling... * calls.c (expand_call): Handle cleanups in tail-recursion arguments analagously to cleanups in sibling calls. From-SVN: r34143
2000-05-24simplify-rtx.c: Rename macro SIGN_EXTEND to HWI_SIGN_EXTEND.Kaveh R. Ghazi2-10/+15
* simplify-rtx.c: Rename macro SIGN_EXTEND to HWI_SIGN_EXTEND. All callers changed. From-SVN: r34141
2000-05-24expr.c (expand_assignment, [...]): Set in_check_memory_usage while emitting ↵Alexandre Oliva2-0/+18
chkr_check_addr libcall. * expr.c (expand_assignment, store_expr, expand_expr, expand_expr_unaligned): Set in_check_memory_usage while emitting chkr_check_addr libcall. From-SVN: r34140
2000-05-24Make g++ struct packing attribute sensitive to -fpack-struct, as per docnDonald Lindsay2-0/+6
From-SVN: r34139
2000-05-24ignore test if targets 'long long' is less than 64 bitsNick Clifton1-0/+3
From-SVN: r34138
2000-05-24new test caseNick Clifton2-0/+23
From-SVN: r34136
2000-05-24(extract_muldiv): When constructing a multiplier/divisor...Nick Clifton2-0/+10
(extract_muldiv): When constructing a multiplier/divisor, do not expect const_binop to correctly determine if overflow has occured, so check explicitly. From-SVN: r34135
2000-05-24init.c (sort_member_init): Fix typo in error message generation code.Mark Mitchell2-1/+7
* init.c (sort_member_init): Fix typo in error message generation code. From-SVN: r34134
2000-05-24Document the c_fix typesBruce Korb1-42/+75
From-SVN: r34133
2000-05-24Update new-abi upcast algorithm.Nathan Sidwell3-57/+64
* inc/cxxabi.h (__class_type_info::__do_upcast): Change prototype and meaning of return value. (__si_class_type_info::__do_upcast): Likewise. (__vmi_class_type_info::__do_upcast): Likewise. * tinfo.cc (__class_type_info::__upcast_result): Replace whole2dst with part2dst. Adjust ctor. (__class_type_info::__do_upcast): Adjust call of worker function. (__class_type_info::__do_upcast): Adjust. (__si_class_type_info::__do_upcast): Adjust. Use parent's __do_upcast. (__vmi_class_type_info::__do_upcast): Likewise. Fix private virtual base in diamond heirarchy bug. From-SVN: r34132
2000-05-24c-decl.c (build_enumerator): Don't modify the value's type, convert it.Alexandre Oliva2-2/+6
* c-decl.c (build_enumerator): Don't modify the value's type, convert it. From-SVN: r34131
2000-05-24Daily bump.Jeff Law2-2/+2
From-SVN: r34130
2000-05-24* mips.h (LINKER_ENDIAN_SPEC): Pass -EL to linker by default.Andreas Jaeger2-1/+5
From-SVN: r34127
2000-05-24configure.in: Redefine inhibit_libc conditions.Eric Christopher4-119/+134
* configure.in: Redefine inhibit_libc conditions. * libgcc2.c: Remove inhibit_libc conditional define. * configure: Regenerate. From-SVN: r34126
2000-05-24cp-tree.h (lang_decl_flags): Rename mutable_flag to uninlinable and bitfield ↵Mark Mitchell10-83/+117
to tinfo_fn_p. * cp-tree.h (lang_decl_flags): Rename mutable_flag to uninlinable and bitfield to tinfo_fn_p. (DECL_TINFO_FN_P): Adjust. (SET_DECL_TINFO_FN_P): Likewise. (DECL_MUTABLE_P): Likewise. (DECL_C_BIT_FIELD): Likewise. (SET_DECL_C_BIT_FIELD): Likewise. (CLEAR_DECL_C_BIT_FIELD): Likewise. (DECL_UNINLINABLE): Likewise. * class.c (alter_access): Call retrofit_lang_decl if ncessary. (handle_using_decl): Remove assertion. (build_vtbl_or_vbase_field): Use build_decl, not build_lang_decl, to build FIELD_DECLs. (build_base_field): Likewise. (layout_class_type): Likewise. * decl.c (init_decl_processing): Likewise. (build_ptrmemfunc_type): Likewise. (grokdeclarator): Likewise. * decl2.c (grok_x_components): Likewise. * except.c (call_eh_info): Likewise. * init.c (init_init_processing): Likewise. * rtti.c (expand_class_desc): Likewise. (create_pseudo_type_info): Likewise. (get_vmi_pseudo_type_info): Likewise. (create_tinfo_types): Likewise. * ptree.c (print_lang_decl): Adjust. * typeck.c (build_component_ref): Don't check DECL_LANG_SPECIFIC before checking DECL_MUTABLE_P. From-SVN: r34125
2000-05-23configure.in: For --enable-languages=LIST, check for empty LIST.Phil Edwards3-0/+13
* configure.in: For --enable-languages=LIST, check for empty LIST. * configure: Regenerate. From-SVN: r34123
2000-05-23* pdp11.h (STACK_BOUNDARY): Define.Lars Brinkhoff2-0/+7
From-SVN: r34121
2000-05-24decl2.c (maybe_retrofit_in_chrg): Don't create in-charge parameters for ↵Mark Mitchell3-2/+15
template functions. * decl2.c (maybe_retrofit_in_chrg): Don't create in-charge parameters for template functions. * pt.c (tsubst_decl): Make sure we call maybe_retrofit_in_chrg for destructors as well as constructors. From-SVN: r34120
2000-05-24* ifcvt.c (if_convert): Update life info globally.Jakub Jelinek2-1/+7
From-SVN: r34119
2000-05-24emit-rtl.c (unshare_all_decls): New function.Alexandre Oliva2-0/+26
* emit-rtl.c (unshare_all_decls): New function. (unshare_all_rtl): Call it. From-SVN: r34118
2000-05-23Remove compile time warnings when building arm.oNick Clifton6-66/+90
From-SVN: r34114
2000-05-23sh.c (gen_far_branch, [...]): Update to reflect new prototypes for ↵Clinton Popetz2-4/+11
redirect_jump and invert_jump. * config/sh/sh.c (gen_far_branch, split_branches): Update to reflect new prototypes for redirect_jump and invert_jump. (sh_insn_length_adjustment): Get rid of const warnings. From-SVN: r34113
2000-05-23invoke.texi (Options for Debugging Your Program or GCC): Update the names of ↵Kazu Hirata2-19/+24
dump files. * invoke.texi (Options for Debugging Your Program or GCC): Update the names of dump files. From-SVN: r34112
2000-05-23configure.in (NO_MINUS_C_MINUS_O): Fix thinko in previous fix.Philippe De Muyter3-2/+7
* configure.in (NO_MINUS_C_MINUS_O): Fix thinko in previous fix. * configure: Regenerated. From-SVN: r34111
2000-05-23bcp-1.c: Replace abort in arg of __builtin_constant_p with a generic ↵Zack Weinberg22-1/+58
external function. gcc/testsuite: * c-torture/execute/bcp-1.c: Replace abort in arg of __builtin_constant_p with a generic external function. * gcc.dg/20000108-1.c, gcc.dg/980211-1.c, gcc.dg/980414-1.c, gcc.dg/990119-1.c, gcc.dg/990409.c, gcc.dg/990424-1.c, gcc.dg/991230-1.c, gcc.dg/clobbers.c, gcc.dg/lineno.c, gcc.dg/noreturn-1.c, gcc.dg/trigraphs.c, gcc.dg/uninit-4.c: Prototype abort and/or exit. * gcc.dg/990407-1.c, gcc.dg/strpaste.c, gcc.dg/special/alias-1.c, gcc.dg/special/gcsec-1.c, gcc.dg/special/weak-1.c, gcc.dg/special/weak-2.c, gcc.dg/special/wkali-1.c, gcc.dg/special/wkali-2.c: Include stdlib.h. libio/tests: * tfformat.c: Include stdlib.h. From-SVN: r34110
2000-05-23simplify-rtx.c (SIGN_EXTEND): New macro.Zack Weinberg2-13/+31
* simplify-rtx.c (SIGN_EXTEND): New macro. (simplify_unary_operation, simplify_binary_operation, simplify_relational_operation): Use SIGN_EXTEND. Make low halves of (low, high) pairs unsigned if they weren't already. (simplify_ternary_operation): Cast INTVAL to unsigned before comparing to a MODE_BITSIZE. From-SVN: r34109
2000-05-23getopt.h (getopt): Also check HAVE_DECL_* when prototyping.Kaveh R. Ghazi9-250/+284
include: * getopt.h (getopt): Also check HAVE_DECL_* when prototyping. * libiberty.h (basename): Likewise. gcc: * aclocal.m4 (gcc_AC_CHECK_DECL, gcc_AC_CHECK_DECLS): New macros rewritten from the internals of gcc_AC_NEED_DECLARATION{S}. * configure.in (gcc_AC_CHECK_DECLS): Call this instead of gcc_AC_NEED_DECLARATIONS. * dwarfout.c: Don't prototype time(). * gcc.c: Check HAVE_DECL_* instead of NEED_DECLARATION_*. * system.h: Likewise. * toplev.c: Likewise. From-SVN: r34108
2000-05-23* c-decl.c (pushdecl): Invert sense of test for non-global types.Zack Weinberg3-1/+23
From-SVN: r34107
2000-05-23* reload1.c (reload_cse_move2add): Honor TRULY_NOOP_TRUNCATION.J"orn Rennecke2-2/+10
From-SVN: r34106
2000-05-23config/mips/elf64.h (CTOR_LISTS_DEFINED_EXTERNALLY): DefineJonathan Larmour2-0/+9
From-SVN: r34105
2000-05-23alpha.c: Remove #ifdef HAIFA since now only scheduler.Richard Kenner3-40/+62
* config/alpha/alpha.c: Remove #ifdef HAIFA since now only scheduler. (alpha_start_function): Never write ..ng label if VMS or NT. (alpha_align_insns): Remove GP_IN_USE arg. Alignment now unsigned. (alpha_reorg): Don't pass GP_IN_USE arg to alpha_align_insns. * config/alpha/alpha.md (prologue_ldgp): Split into one define_expand and two define_insn's. From-SVN: r34104
2000-05-23* combine.c (simplify_comparison): Use trunc_int_for_mode.Richard Henderson2-3/+5
From-SVN: r34103
2000-05-23Daily bump.Jeff Law2-2/+2
From-SVN: r34102
2000-05-23class.c (build_ctor_vtbl_group): Set inits.Mark Mitchell3-0/+7
* class.c (build_ctor_vtbl_group): Set inits. * optimize.c (maybe_clone_body): Set DECL_INLINE and DECL_THIS_INLINE appropriately for clones. From-SVN: r34101
2000-05-22* stor-layout.c (place_field): Change rli->size to rli->offset.Richard Henderson2-1/+5
From-SVN: r34100
2000-05-22function.c (thread_prologue_and_epilogue_insns): Make sure existing line ↵Richard Henderson2-27/+62
number notes appear after the prologue. * function.c (thread_prologue_and_epilogue_insns): Make sure existing line number notes appear after the prologue. From-SVN: r34098
2000-05-22alpha.c (alpha_fnname): New static variable.Richard Kenner4-19/+52
* config/alpha/alpha.c (alpha_fnname): New static variable. (print_operand, case '~'): New case. (alpha_expand_prologue): Emit prologue_ldgp insn if needed. (alpha_start_function): Set alpha_fnname. Write "ng" label if no ldgp; don't write ldgp insn. * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): New case '~'. * config/alpha/alpha.md (prologue_ldgp): New define_insn. From-SVN: r34097
2000-05-22cp-tree.h (IDENTIFIER_TYPENAME_P): Use a flag, not strncmp.Mark Mitchell8-28/+52
* cp-tree.h (IDENTIFIER_TYPENAME_P): Use a flag, not strncmp. (DECL_CONV_FN_P): Simplify. (DECL_OPERATOR): Remove. (language_to_string): Declare. * decl.c (duplicate_decls): Fix typo in comment. (grokdeclarator): Adjust use of IDENTIFIER_TYPENAME_P. (grok_op_properties): Use DECL_CONV_FN_P instead of IDENTIFIER_TYPENAME_P. * dump.c (dequeue_and_dump): Dump the language linkage of declarations. * error.c (language_to_string): Give it external linkage. * method.c (build_typename_overload): Set IDENTIFIER_TYPENAME_P. (implicitly_declare_fn): Set DECL_LANGUAGE. * pt.c (check_explicit_specialization): Use DECL_CONV_FN_P, not IDENTIFIER_TYPENAME_P. (tsubst_decl): Likewise. (tsubst_copy): Adjust use of IDENTIFIER_TYPENAME_P. * semantics.c (finish_member_declaration): Don't mark members of classes declared in an extern "C" region as extern "C". From-SVN: r34095
2000-05-22jump.c (jump_optimize_1): Don't increment LABEL_NUSES on deleted labels.Clinton Popetz2-1/+7
* jump.c (jump_optimize_1): Don't increment LABEL_NUSES on deleted labels. From-SVN: r34094
2000-05-22Fix whitespace in commentRichard Kenner1-3/+2
From-SVN: r34093
2000-05-22Use just -g instead of -gdwarf-2Alexandre Oliva1-1/+1
From-SVN: r34090