aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-01-22Makefile.in: Rebuilt.Tom Tromey3-12/+19
* Makefile.in: Rebuilt. * Makefile.am (bin_PROGRAMS): Remove grepjar. (EXTRA_PROGRAMS): New macro. From-SVN: r39184
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 Law5-5/+5
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-22* configure.in: Enable libgcj for linux targets.Bryce McKinlay2-2/+5
From-SVN: r39177
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-21configopts.html: Update for current status.Phil Edwards3-77/+51
2001-01-21 Phil Edwards <pme@sources.redhat.com> * docs/html/configopts.html: Update for current status. Fix HTML. * docs/html/install.html: Update for current status. From-SVN: r39166
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 Law5-5/+5
From-SVN: r39164
2001-01-21avr.c (ret_cond_branch): New argument (reverse) added.Denis Chertykov5-29/+63
* config/avr/avr.c (ret_cond_branch): New argument (reverse) added. If REVERSE nonzero then condition code in X must be reversed. (encode_section_info): Optimise if/else. (avr_function_value): Fix formatting. * config/avr/avr.md (branch): Call to ret_cond_branch changed. (difficult_branch): Likewise. (rvbranch): Likewise. (difficult_rvbranch): Likewise. * config/avr/avr-protos.h (ret_cond_branch): Prototype changed. * config/avr/libgcc.S: Fix comment. From-SVN: r39163
2001-01-21* sdbout.c (PUT_SDB_DEF): Fix after last bogus change.Michael Sokolov2-5/+4
From-SVN: r39162
2001-01-21* cppinit.c (INO_T_EQ): Don't use #elif, fix formatting.Michael Sokolov2-4/+10
From-SVN: r39161
2001-01-21aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.Michael Sokolov6-258/+343
* aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro. * configure.in (gcc_AC_FUNC_STRSTR): Add invokation. * configure, config.in: Regenerate. * Makefile.in (STRSTR, HOST_STRSTR, USE_HOST_STRSTR): New variables. (LIBDEPS, HOST_LIBDEPS, LIBS, HOST_LIBS): Add strstr handling. (strstr.o, $(HOST_PREFIX_1)strstr.o): New rules. (doprint.o): New rule. From-SVN: r39160
2001-01-21MAINTAINERS (Write After Approval): Add myself.Michael Sokolov2-0/+5
2001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG> * MAINTAINERS (Write After Approval): Add myself. From-SVN: r39159
2001-01-20Move test ChangeLog entry to testsuite/ChangeLog.Jakub Jelinek2-3/+5
From-SVN: r39158
2001-01-20* c-typeck.c (digest_init): Handle boolean types as scalars.Joseph Myers2-1/+5
From-SVN: r39157
2001-01-20stmt.c (expand_return): Don't return anything if size is zero.Richard Kenner3-6/+18
* stmt.c (expand_return): Don't return anything if size is zero. Delete redundant assignment to BYTES. * expr.c (move_block_from_reg): Do nothing if NREGS is zero. From-SVN: r39156
2001-01-20avr.h (INIT_TARGET_OPTABS): Remove most of it, was the same as the default ↵Marek Michalkiewicz5-337/+507
library function names. * config/avr/avr.h (INIT_TARGET_OPTABS): Remove most of it, was the same as the default library function names. * config/avr/avr.md: Document special characters after '%'. (mulqi3, mulhi3, mulsi3): Call libgcc.S functions ourselves, knowing which of the call-used registers are really clobbered. (divmodqi4, udivmodqi4, divmodhi4, udivmodhi4, divmodsi4, udivmodsi4): New. Both quotient and remainder from one libgcc.S call. * config/avr/libgcc.S: Optimize mul/divmod for the new insns above, clobber as few registers as possible. * config/avr/t-avr (LIB1ASMFUNCS): Adjust for the above changes. From-SVN: r39155
2001-01-20Reinstall 1.245 -> 1.246 changeRichard Kenner1-1/+1
From-SVN: r39154
2001-01-20* gcc.dg/cpp/macro3.c,macro4.c,strp1.c: Update.Neil Booth4-35/+18
From-SVN: r39153
2001-01-20cppmacro.c (funlike_invocation_p): Don't move back up to the context of the ↵Neil Booth2-9/+6
top of the stack. * cppmacro.c (funlike_invocation_p): Don't move back up to the context of the top of the stack. From-SVN: r39152
2001-01-20[multiple changes]Zack Weinberg3-282/+350
2001-01-20 Jakub Jelinek <jakub@redhat.com> * function.c (fixup_var_refs): Move CALL_PLACEHOLDER handling... (fixup_var_refs_insns): ...here. * gcc.c-torture/compile/20010118-1.c: New test. 2001-01-20 Zack Weinberg <zack@wolery.stanford.edu> * function.c (fixup_var_refs_insns): Break up into fixup_var_refs_insn [body of loop], fixup_var_refs_insns [loop over entire insn list], and fixup_var_refs_insns_with_hash [loop over hash table entries]. (fixup_var_refs): Adjust calls to fixup_var_refs_insns and/or fixup_var_refs_insns_with_hash, to match above changes. From-SVN: r39151
2001-01-20Daily bump.Jeff Law5-5/+5
From-SVN: r39150
2001-01-20tests.exp: New file.Gabriel Dos Reis4-0/+282
2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com> * testsuite/libstdc++.tests/tests.exp: New file. * testsuite/lib/libstdc++.exp: Itou. * testsuite/README: Itou. From-SVN: r39149
2001-01-20tests_flags.in: Just output the bare minimum to run tests.Gabriel Dos Reis3-36/+39
2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com> * tests_flags.in: Just output the bare minimum to run tests. Let's the caller do its own arrangement. * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags computations. From-SVN: r39148
2001-01-20SimpleDateFormat.java (format): Compute hour for cases HOUR_OF_DAY1_FIELD ↵Warren Levy2-7/+12
(1-24)... * java/text/SimpleDateFormat.java (format): Compute hour for cases HOUR_OF_DAY1_FIELD (1-24), HOUR1_FIELD (1-12), and HOUR0_FIELD (0-11) correctly. Adjust properly from 0-23 clock hour. Fixes failure in Mauve test java.text.SimpleDateFormat.Test (format). From-SVN: r39147
2001-01-19Makefile.in (ORDINARY_FLAGS_TO_PASS): Add MAKEOVERRIDES variable.John David Anglin2-0/+11
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Add MAKEOVERRIDES variable. (libgcc.a): Likewise. (stmp-multilib): Likewise. (STAGE2_FLAGS_TO_PASS): Likewise. From-SVN: r39146
2001-01-19sh.c (prepare_move_operands): Use operands[0] as temporary if no_new_pseudos.Alexandre Oliva2-2/+10
* config/sh/sh.c (prepare_move_operands) [PIC]: Use operands[0] as temporary if no_new_pseudos. From-SVN: r39145
2001-01-19* cppinternals.texi: Update.Neil Booth2-11/+92
From-SVN: r39144
2001-01-19* arm.c (arm_init_builtins): Re-enable builtins.Richard Earnshaw2-6/+4
From-SVN: r39143
2001-01-19* decl2.c (flag_vtable_thunks): Also depend on ENABLE_NEW_GXX_ABI.Jason Merrill2-0/+11
From-SVN: r39142
2001-01-19rtl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility.Richard Kenner6-68/+53
* rtl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility. * flow.c (mark_set_1, case PARALLEL): Don't require BLKmode, allow element to be null, and always expect an EXPR_LIST. * rtlanal.c (reg_overlap_mentioned_p, note_stores): Likewise. * sched-deps.c (sched_analyze_1): Likewise. * sched-rgn.c (check_live_1, update_live_1): Likewise. From-SVN: r39141
2001-01-19regclass.c (max_set_parallel): New variable.Richard Kenner2-1/+20
* regclass.c (max_set_parallel): New variable. (reg_scan): Take it into account in computation of max_parallel. (reg_scan_mark_refs, case SET): Compute it. From-SVN: r39140
2001-01-19alias.c (rtx_equal_for_memref_p, [...]): Don't assume args are REG.Richard Kenner4-5/+14
* alias.c (rtx_equal_for_memref_p, case ADDRESSOF): Don't assume args are REG. * expr.c (store_constructor): Don't look at MEM_ALIAS_SET unless MEM. * function.c (assign_parms): Use INTVAL for a CONST_INT. From-SVN: r39139
2001-01-19* gcc.c-torture/execute/20010119-1.c: New test.Jakub Jelinek2-0/+27
From-SVN: r39138
2001-01-19dwarf2out.c (gen_subprogram_die): Don't reuse the in-class decl for the ↵Jason Merrill2-6/+10
abstract instance of an inline function. * dwarf2out.c (gen_subprogram_die): Don't reuse the in-class decl for the abstract instance of an inline function. From-SVN: r39137
2001-01-19Improve ChangeLog entry of previous patchAlexandre Oliva1-6/+5
From-SVN: r39136
2001-01-19reload1.c (move2add_note_store): Treat all registers about which no ↵Alexandre Oliva2-91/+155
information is known as potential bases... * reload1.c (move2add_note_store): Treat all registers about which no information is known as potential bases, and treat all registers directly or indirectly derived from it as members of the same set of values. (reload_cse_move2add): Adjust accordingly. Take mode and offset of base register into account. From-SVN: r39135