aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2001-01-23bb-reorder.c (make_reorder_chain_1): Handle case where jump edge goes to the ↵John David Anglin2-5/+21
same block as the fallthru edge. * bb-reorder.c (make_reorder_chain_1): Handle case where jump edge goes to the same block as the fallthru edge. From-SVN: r39228
2001-01-23Eliminate IA-64 compiler warnings.Jim Wilson11-16/+70
* dwarf2out.c (dwarf2out_line): Make last_file_num be unsigned. * frame.h (__ia64_personality_v1): Add prototype. * libgcc2.c (ia64_throw_helper): Change personality declaration to prototype form. Add void * cast to first argument to personality call. ... From-SVN: r39227
2001-01-23libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list of EH symbols.Chris Demetriou4-1/+23
2001-01-23 Chris Demetriou <cgd@broadcom.com> * libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list of EH symbols. * libgcc2.c (__terminate_func): Make variable static. (__terminate_set_func): New function to set __terminate_func. * libgcc2.h (__terminate_func_ptr): New typedef. (__terminate_set_func): New function. From-SVN: r39224
2001-01-23flow.c (init_propagate_block_info): Don't consider unchanging memories for ↵Richard Henderson2-0/+12
dead frame store elimination. * flow.c (init_propagate_block_info): Don't consider unchanging memories for dead frame store elimination. From-SVN: r39222
2001-01-23varasm.c (UNIQUE_SECTION): Move default implementation ...Richard Henderson1-0/+5
* varasm.c (UNIQUE_SECTION): Move default implementation ... * defaults.h: ... here. From-SVN: r39221
2001-01-24Fix date.Franz Sirl1-1/+1
From-SVN: r39220
2001-01-2420010123-1.c: New test.Franz Sirl2-0/+27
2001-01-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * gcc.c-torture/execute/20010123-1.c: New test. From-SVN: r39219
2001-01-24Update copyright dates.Franz Sirl2-2/+2
From-SVN: r39218
2001-01-23* c4x.h (TARGET_LOAD_DIRECT_MEMS): Define.Michael Hayes2-0/+8
From-SVN: r39217
2001-01-23* c-lex.c (lex_charconst): Fix typo: s/p/str.Neil Booth2-1/+5
From-SVN: r39215
2001-01-23com.c: Don't explicitly include any time headers...Michael Sokolov2-14/+7
* com.c: Don't explicitly include any time headers, the right ones are already included by proj.h. From-SVN: r39214
2001-01-23varasm.c (UNIQUE_SECTION): Move default implementation ...Richard Henderson2-27/+28
* varasm.c (UNIQUE_SECTION): Move default implementation ... * defaults.h: ... here. From-SVN: r39213
2001-01-23configure.in: Enable libgcj on several additional platforms.Bryce McKinlay2-0/+5
* configure.in: Enable libgcj on several additional platforms. In gcc/java: * config-lang.in: Disable java by default. From-SVN: r39212
2001-01-23rs6000.h (rs6000_return_addr): Move prototype from here...Franz Sirl3-4/+7
2001-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * rs6000.h (rs6000_return_addr): Move prototype from here... * rs6000-protos.h (rs6000_return_addr): ...to here. (rs6000_init_expanders): Delete prototype. From-SVN: r39211
2001-01-23Replace , with \, inside @gccoptlist macros.Nick Clifton2-10/+47
Document %B and %j and %. and %v3 and %M and %{S*&T} spec switches. From-SVN: r39210
2001-01-23gcj.texi (Copying): New node.Tom Tromey2-0/+457
* gcj.texi (Copying): New node. Added copyright information. From-SVN: r39208
2001-01-23* c4x.c (c4x_r11_set_p): Calculate rtx code correctly.Herman A.J. ten Brugge2-14/+14
From-SVN: r39207
2001-01-23cpperror.c: Merge handlers of PEDWARN and WARNING.Chris Demetriou2-21/+11
* cpperror.c: Merge handlers of PEDWARN and WARNING. Have -Werror make pedantic warnings errors, like the rest of GCC. Co-Authored-By: Neil Booth <neil@daikokuya.demon.co.uk> From-SVN: r39206
2001-01-23c-tree.texi (IDENTIFIER_LENGTH): Fix typo.Phil Edwards2-1/+5
2001-01-23 Phil Edwards <pme@sources.redhat.com> * c-tree.texi (IDENTIFIER_LENGTH): Fix typo. From-SVN: r39204
2001-01-23integrate.h (struct inline_remap): Add compare_src, compare_mode.Jakub Jelinek3-4/+77
* integrate.h (struct inline_remap): Add compare_src, compare_mode. * integrate.c (expand_inline_function): Initialize them. (subst_constants): If changing COMPARE so that both its arguments will be VOIDmode and the comparison mode will be lost, note compare_mode. Use the recorded compare_mode to optimize IF_THEN_ELSE. From-SVN: r39203
2001-01-23dwarf2out.c (new_die): Use xcalloc.Jason Merrill2-8/+8
* dwarf2out.c (new_die): Use xcalloc. (output_die): Abort rather than emit a local reference to offset 0. From-SVN: r39201
2001-01-23libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy of a saved ↵Andrew Haley2-69/+73
register; return NULL instead. 2001-01-17 Andrew Haley <aph@redhat.com> * libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy of a saved register; return NULL instead. (copy_reg): Take a pointer to a source register rather than a frame_state. (next_stack_level): Remember the address in the stack frame of all saved registers. Use the saved register pointer array as the source of the CFA. (throw_helper): Rewrite. Unwind once rather than twice and keep track of saved registers as we go. From-SVN: r39199
2001-01-23decl.c (grokdeclarator): Don't presume DECL_LANG_SPECIFIC indicates anything ↵Nathan Sidwell4-5/+38
special about template depth. cp: * decl.c (grokdeclarator): Don't presume DECL_LANG_SPECIFIC indicates anything special about template depth. Make sure we only count the user visible template classes. testsuite: * g++.old-deja/g++.pt/spec37.C: New test. From-SVN: r39198
2001-01-23call.c (build_conv): Typo in comment.Nathan Sidwell4-30/+109
cp: * call.c (build_conv): Typo in comment. (add_builtin_candidate): Add more explanation. Remove extra test for ENUMERAL_TYPE in {PRE,POST}INCREMENT_EXPR. Allow ENUMERAL_TYPEs for relops and eqops. Add both candidates when we have enumeral types. (add_builtin_candidates): Add more explanation. Add ENUMERAL_TYPE candidates for relops and eqops. (joust): Simplify control flow. Allow a non-template user function to hide a builtin. testsuite: * g++.old-deja/g++.pt/overload14.C: New test. From-SVN: r39197
2001-01-23Daily bump.Jeff Law2-2/+2
From-SVN: r39195
2001-01-23c4x-protos.h (c4x_legitimize_reload_address): Remove.Herman A.J. ten Brugge4-38/+54
* c4x-protos.h (c4x_legitimize_reload_address): Remove. * c4x.c (c4x_legitimize_reload_address): Remove. * c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Rewrite to generate correct reload address for ldp(k) insn. From-SVN: r39194
2001-01-22pa.md (return_internal): Add a USE of the PIC register to ensure it is ↵Jeffrey A Law2-2/+19
restored after each call. * pa.md (return_internal): Add a USE of the PIC register to ensure it is restored after each call. (return expander): Corresponding changes. From-SVN: r39193
2001-01-2220010122-1.c: New test, exercise __builtin_return_address.Franz Sirl2-0/+214
2001-01-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * gcc.c-torture/execute/20010122-1.c: New test, exercise __builtin_return_address. From-SVN: r39189
2001-01-22rs6000.h (INIT_EXPANDERS): Delete.Franz Sirl3-32/+103
2001-01-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * rs6000.h (INIT_EXPANDERS): Delete. (RETURN_ADDR_RTX): Call rs6000_return_addr(). * rs6000.c (rs6000_override_options): Call *_machine_status from here... (rs6000_init_expanders): ...instead of here. Delete. (rs6000_mark_machine_status): New function. (rs6000_init_machine_status): Use xcalloc. (rs6000_return_addr): Generate RTX for the return address. (rs6000_ra_ever_killed): New, check if LR was ever destroyed. (rs6000_stack_info): Use it. From-SVN: r39188
2001-01-22gthr-win32.h: Include errno.h to get a declaration for EINVAL and _mingw.h if...Thomas Pfaff2-0/+9
* gthr-win32.h: Include errno.h to get a declaration for EINVAL and _mingw.h if the target is mingw32. From-SVN: r39187
2001-01-22* cpp.texi: Fix typos.Andres Felipe Vargas2-2/+6
From-SVN: r39186
2001-01-22explow.c (probe_stack_range): Ensure value passed to stack_check_libfunc is ↵Richard Kenner2-6/+19
ptr_mode, not Pmode. * explow.c (probe_stack_range): Ensure value passed to stack_check_libfunc is ptr_mode, not Pmode. From-SVN: r39185
2001-01-22recog.c (validate_replace_rtx_1): In ZERO_EXTEND / SIGN_EXTEND case...J"orn Rennecke3-8/+50
* recog.c (validate_replace_rtx_1): In ZERO_EXTEND / SIGN_EXTEND case, don't use operand_subword to calculate a SUBREG that is wider than a word. * rtl.texi: Comparisons yield 0 or STORE_FLAG_VALUE. From-SVN: r39183
2001-01-22cp-tree.h (unification_kind_t): Add DEDUCE_ORDER.Nathan Sidwell8-46/+212
cp: * cp-tree.h (unification_kind_t): Add DEDUCE_ORDER. (more_specialized): Add deduction parameter. * call.c (joust): Adjust more_specialized call. * pt.c (UNIFY_ALLOW_OUTER_MORE_CV_QUAL, UNIFY_ALLOW_OUTER_LESS_CV_QUAL): New unify flags. (get_bindings_order): Remove. (get_bindings_real): Add DEDUCE parameter. (maybe_adjust_types_for_deduction): Return extra unify flags. Do REFERENCE_TYPE jig for DEDUCE_ORDER. (type_unification_real): Deal with DEDUCE_ORDER. Use result of maybe_adjust_types_for_deduction. (more_specialized): Add DEDUCE parameter. Call get_bindings_real directly. (try_one_overload): Use result of maybe_adjust_types_for_deduction. (check_cv_quals_for_unify): Use new unify qualifier flags. (unify): Clear new unify qualifier flags. (get_bindings_real): Add DEDUCE parameter. (get_bindings): Adjust call to get_bindings_real. (get_bindings_overload): Likewise. (most_specialized_instantiation): Adjust call to more_specialized. testsuite: * g++.old-deja/g++.martin/sts_partial.C: Remove XFAIL. * g++.old-deja/g++.pt/spec35.C: New test. * g++.old-deja/g++.pt/spec36.C: New test. From-SVN: r39182
2001-01-22c4x.c (c4x_valid_rptb_p, [...]): New functions.Herman A.J. ten Brugge2-1/+119
* c4x.c (c4x_valid_rptb_p, c4x_label_ref_used_p): New functions. (c4x_rptb_insert): Call c4x_valid_rptb_p to check if repeat block is valid. If not replace it by equivalent insns. From-SVN: r39181
2001-01-22c4x.c (c4x_check_legit_addr): Only check CONST.Herman A.J. ten Brugge4-29/+102
* c4x.c (c4x_check_legit_addr): Only check CONST. Not if CONST contains SYMBOL_REF, LABEL_REF and CONST_INT. (c4x_U_constraint, symbolic_address_operand): Likewise. (c4x_immed_float_constant): Do not check if CONST_DOUBLE is in memory. (c4x_r11_set_p, c4x_check_laj_p): New functions. * c4x-protos.h (c4x_check_laj_p): Add prototype. * c4x.md (in_annul_slot_3): Do not allow auto-increment in last anulling slot because of silicon bug. (laj, lajv): Call c4x_check_laj_p to check for silicon bug. From-SVN: r39180
2001-01-22Daily bump.Jeff Law2-2/+2
From-SVN: r39179
2001-01-22cppexp.c (parse_charconst): Change `mask' type to agree with parse_escape.Alan Modra2-2/+8
* cppexp.c (parse_charconst): Change `mask' type to agree with parse_escape. From-SVN: r39178
2001-01-21i386.c (ix86_asm_file_end): Disable putting pic_label_name in a linkonce ↵Richard Henderson2-1/+10
section. * config/i386/i386.c (ix86_asm_file_end): Disable putting pic_label_name in a linkonce section. From-SVN: r39176
2001-01-21Various fixes to allow compiling a compressed .jar/.zip archive.Per Bothner6-82/+88
From-SVN: r39175
2001-01-21Minor optimization of static ggc roots.Per Bothner3-36/+36
* jcf-parse.c (parse_roots): New static field. (current_field, current_method, current_file_list): Replace by macros naming fields of parse_roots. (init_jcf_parse): Combine 3 ggc_add_tree_root calls to 1. * class.c (class_roots): New static field. (registered_class, fields_ident, info_ident, class_list): New macros naming fields of parse_roots. (build_static_field_ref): Don't register roots here. (layout_class): Static field list replaced by macro class_list. (init_class_processing): Call ggc_add_tree_root for 4 roots. Initialize fields_ident and info_ident here. From-SVN: r39174
2001-01-21jcf-parse.c (ggc_mark_jcf): New function.Per Bothner2-0/+30
* jcf-parse.c (ggc_mark_jcf): New function. (init_jcf_parse): Register current_jcf as ggc root. From-SVN: r39173
2001-01-21* lang.c (put_decl_node): Print method's name.Per Bothner2-2/+9
From-SVN: r39172
2001-01-21verify.c (VERIFICATION_ERROR_WITH_INDEX): New macro.Per Bothner2-5/+23
* verify.c (VERIFICATION_ERROR_WITH_INDEX): New macro. (verify_jvm_instructions): Use it, for better error messages on loads. From-SVN: r39171
2001-01-21verify.c (merge_type_state): Stil may have to merge even if LABEL_VERIFIED ↵Per Bothner2-1/+6
(label). * verify.c (merge_type_state): Stil may have to merge even if LABEL_VERIFIED (label). From-SVN: r39170
2001-01-21parse.y (method_header): Don't set the DECL_NAME of a FUNCTION_DECL to a ↵Per Bothner2-10/+5
EXPR_WITH_FILE_LOCATION - that... * parse.y (method_header): Don't set the DECL_NAME of a FUNCTION_DECL to a EXPR_WITH_FILE_LOCATION - that is just too fragile and wrong. From-SVN: r39169
2001-01-21expr.c (pop_type_0): Only return object_ptr_type_node on mismatch if ↵Per Bothner2-2/+7
expeting an interface type. * expr.c (pop_type_0): Only return object_ptr_type_node on mismatch if expeting an interface type. Refines Tom's change of 2000-09-12. From-SVN: r39168
2001-01-21aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was found in libintl.Philipp Thomas3-41/+55
2001-01-17 Philipp Thomas <pthomas@suse.de> * aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was found in libintl. * configure: Regenerate. From-SVN: r39167
2001-01-21expmed.c (synth_mult, [...]): Guard uses of shift_cost, shiftadd_cost and ↵J"orn Rennecke2-32/+64
shiftsub_cost with bound checks. * expmed.c (synth_mult, expand_mult_highpart, expand_divmod): Guard uses of shift_cost, shiftadd_cost and shiftsub_cost with bound checks. From-SVN: r39165
2001-01-21Daily bump.Jeff Law2-2/+2
From-SVN: r39164