aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-02-18Do put the VTT parameter in DECL_ARGUMENTS.Jason Merrill12-132/+195
* cp-tree.h (struct cp_language_function): Add x_vtt_parm. (current_vtt_parm): New macro. (struct lang_decl_flags): Add has_vtt_parm_p, remove vtt_parm. (DECL_HAS_VTT_PARM_P): New macro. (DECL_VTT_PARM): Remove. (FUNCTION_FIRST_USER_PARMTYPE, FUNCTION_FIRST_USER_PARM): New macros. * decl.c (duplicate_decls): Only copy the operator code if appropriate. (start_function): Set current_vtt_parm. (lang_mark_tree): Don't mark vtt_parm. * decl2.c (maybe_retrofit_in_chrg): Do add the VTT parm to DECL_ARGUMENTS. Set DECL_HAS_VTT_PARM_P. * class.c (build_clone): Maybe remove the VTT parm. * optimize.c (maybe_clone_body): Set up the VTT parm. * pt.c (copy_default_args_to_explicit_spec): Preserve the VTT parm. * call.c (build_over_call): Just allow the VTT arg. * method.c (make_thunk): Don't set DECL_VTT_PARM. (do_build_copy_constructor): Use FUNCTION_FIRST_USER_PARM. (synthesize_method): Use FUNCTION_FIRST_USER_PARMTYPE. * decl.c (grokdeclarator, copy_args_p, grok_ctor_properties): Likewise. * error.c (dump_function_decl): Likewise. * call.c (build_user_type_conversion_1, convert_like_real): Abort if we try to call a constructor with in-charge or VTT parms. * method.c (skip_artificial_parms_for): New fn. * call.c (add_function_candidate, build_over_call): Call it. * call.c (build_new_method_call): Use current_vtt_parm. * init.c (expand_virtual_init): Likewise. * class.c (same_signature_p): No longer static. * cp-tree.h: Declare it. * search.c (look_for_overrides_r): Use it. From-SVN: r39841
2001-02-18* config/ns32k/ns32k.h (ADJSP): Upcase arguments.Richard Henderson2-4/+6
From-SVN: r39840
2001-02-18* config/alpha/alpha.md (movsi_fix): Fix typo in pattern name.Richard Henderson2-1/+3
From-SVN: r39838
2001-02-18* reload1.c (reload_cse_simplify_set): Fix typo.Richard Henderson2-1/+5
From-SVN: r39836
2001-02-18* diagnostic.c (_fatal_insn): Decrement errorcount.Richard Kenner2-0/+7
From-SVN: r39834
2001-02-18* invoke.texi (-I): Add note avoiding use for system header files.Richard Kenner2-3/+8
From-SVN: r39833
2001-02-18rtl.h (add_clobbers): Remove duplicate declaration.Richard Kenner4-16/+71
* rtl.h (add_clobbers): Remove duplicate declaration. * recog.h (added_clobbers_hard_reg_p): New declaration. * genemit.c (struct clobber_pat): New field has_hard_reg. (gen_insn): Record if added clobbers clobber hard reg. (gen_split): Avoid unused warning if number of operands is 0. (output_added_clobbers_hard_reg_p): New function. (main): Call it. From-SVN: r39832
2001-02-18Daily bump.GCC Administrator5-5/+5
From-SVN: r39830
2001-02-18Revert experimental hunk accidentally included in committed change.Jeff Law1-3/+2
From-SVN: r39828
2001-02-18pa.c (hppa_expand_prologue): Simplify code storing return pointer.Alan Modra2-125/+116
* pa.c (hppa_expand_prologue): Simplify code storing return pointer. For large (>=8k) frames with a post_store, adjust stack pointer by 8k-64 first rather than by 64. When testing with VAL_14_BITS_P, always use the actual value rather than the value negated. Add blockage to prevent scheduling of spills before stack frame has been created. (hppa_expand_epilogue): Simplify code loading return pointer. Allow a slightly larger range for merge_sp_adjust_with_load case. When testing with VAL_14_BITS_P, always use the actual value. From-SVN: r39826
2001-02-18pa.c (pa_adjust_insn_length): Check that block move pattern is a set before ↵Alan Modra2-2/+9
looking at operands. 2001-02-18 Alan Modra <alan@linuxcare.com.au> * config/pa/pa.c (pa_adjust_insn_length): Check that block move pattern is a set before looking at operands. From-SVN: r39825
2001-02-18fold-const.c (fold_binary_op_with_conditional_arg): New function, split out ↵Mark Mitchell4-116/+160
from ... * fold-const.c (fold_binary_op_with_conditional_arg): New function, split out from ... (fold): ... here. * tree.def (COND_EXPR): Document the use of VOID_TYPE for conditional arms that throw exceptions. From-SVN: r39822
2001-02-18print-tree.c (print_node): Do not use BLOCK_CHAIN when we're not looking at ↵Mark Mitchell2-1/+6
a BLOCK. * print-tree.c (print_node): Do not use BLOCK_CHAIN when we're not looking at a BLOCK. From-SVN: r39818
2001-02-18init.c (build_new): Allow enumeration types for the array-bounds in a ↵Mark Mitchell5-2/+23
direct-new-declarator. * init.c (build_new): Allow enumeration types for the array-bounds in a direct-new-declarator. * semantics.c (finish_typeof): Resolve OFFSET_REFs. From-SVN: r39817
2001-02-18aclocal.m4 (gcc_AC_CHECK_DECL): Before attempting the test...Kaveh R. Ghazi3-99/+120
* aclocal.m4 (gcc_AC_CHECK_DECL): Before attempting the test, define HAVE_DECL_* to 1 to mask potential backup declarations. * configure: Regenerated. From-SVN: r39814
2001-02-18pt.c (check_explicit_specialization): Copy TREE_PRIVATE and TREE_PROTECTED ↵Mark Mitchell3-0/+30
from the template being specialized. * pt.c (check_explicit_specialization): Copy TREE_PRIVATE and TREE_PROTECTED from the template being specialized. From-SVN: r39813
2001-02-17decl2.c (build_artificial_parm): Set TREE_READONLY.Jason Merrill5-2/+34
* decl2.c (build_artificial_parm): Set TREE_READONLY. * decl.c (bad_specifiers): Allow throw specs on things with pointer-to-function or -member-function type. * init.c (build_default_init): Don't use a CONSTRUCTOR to initialize a pmf. From-SVN: r39810
2001-02-17* call.c (check_dtor_name): Handle template names correctly.Mark Mitchell3-0/+23
From-SVN: r39809
2001-02-17* invoke.texi (-Woverloaded-virtual): Clarify documentation.Mark Mitchell2-7/+26
From-SVN: r39807
2001-02-17improve commentJason Merrill1-1/+6
From-SVN: r39806
2001-02-17reload1.c (reload_cse_simplify_set): Respect LOAD_EXTEND_OP when replacing a ↵Richard Henderson2-15/+84
memory load with a register. * reload1.c (reload_cse_simplify_set): Respect LOAD_EXTEND_OP when replacing a memory load with a register. From-SVN: r39805
2001-02-17recog.c (validate_replace_src_1): New.Richard Kenner4-18/+120
* recog.c (validate_replace_src_1): New. (validate_replace_src_data): Likewise. (validate_replace_src): Use note_uses. * rtl.h (note_uses): Declare. * rtlanal.c (note_uses): New. Co-Authored-By: Jan Hubicka <jh@suse.cz> From-SVN: r39804
2001-02-17std_ostream.h: Replaced usage of _Traits::_S_eos() with _CharT() as per ↵Greg Bumgardner10-37/+48
section 17.2.2.1.3. 2001-02-16 Greg Bumgardner <bumgard@roguewave.com> libstdc++/1734 * include/bits/std_ostream.h: Replaced usage of _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3. * include/bits/char_traits.h: Removed non-standard methods that cannot be used elsewhere. libstdc++/1885 * include/bits/basic_ios.h: Uncommented #include of bits/basic_ios.tcc libstdc++/1897 * include/bits/codecvt.h: See next... * include/bits/fstream.tcc: See next... * include/bits/ostream.tcc: Add __extension__ to variable-length arrays. libstdc++/1967 * include/bits/localefwd.h: Changed int counter type to size_t. libstdc++/1968 * include/bits/std_fstream.h: Added typedef for __ctype_type. From-SVN: r39802
2001-02-17* java/util/TimerTask.java: New version from Classpath.Mark Wielaard2-64/+71
From-SVN: r39801
2001-02-17Remerge with Classpath (changes by Bryce McKinlay <bryce@albatross.co.nz>)Mark Wielaard2-80/+135
Remerge with Classpath (changes by Bryce McKinlay <bryce@albatross.co.nz>) * java/io/DataInputStream.java (readBoolean): Use convertToBoolean(). (readByte): Use convertToByte(). (readChar): Use convertToChar(). (readInt): Use convertToInt(). (readLong): Use convertToLong(). (readShort): Use convertToShort(). (readUnsignedByte): Use convertToUnsignedByte(). (readUnsignedShort): Use convertToUnsignedShort(). (readUTF): Use convertToUTF(). (convertToBoolean): Resurrected. (convertToByte): Ditto. (convertToChar): Ditto. (convertToInt): Ditto. (convertToLong): Ditto. (convertToShort): Ditto. (convertToUnsignedByte): Ditto. (convertToUnsignedShort): Ditto. (convertToUTF): Ditto. From-SVN: r39800
2001-02-17* HACKING: new fileMark Wielaard2-0/+50
From-SVN: r39799
2001-02-17DataInputStream.java: update copyright noticeMark Wielaard7-35/+148
* java/io/DataInputStream.java: update copyright notice * java/io/PrintWriter.java: idem * java/io/Reader.java: idem * java/io/StreamTokenizer.java: idem * java/io/StringReader.java: idem * java/lang/reflect/ReflectPermission.java: idem From-SVN: r39798
2001-02-17reg-stack.c (stack_def): Make field reg unsigned.Jan Hubicka2-3/+9
* reg-stack.c (stack_def): Make field reg unsigned. (remove_regno_note): Unsignetize parameter. From-SVN: r39794
2001-02-17Daily bump.GCC Administrator5-5/+5
From-SVN: r39793
2001-02-16Fix error in previous entryRichard Kenner1-1/+1
From-SVN: r39790
2001-02-17Allow configuration of texinfo for Cygwin hosts.Nick Clifton2-1/+6
From-SVN: r39787
2001-02-16cp-tree.h (DECL_USE_VTT_PARM): Remove.Jason Merrill6-21/+14
* cp-tree.h (DECL_USE_VTT_PARM): Remove. * decl2.c (maybe_retrofit_in_chrg): Don't create it. * optimize.c (maybe_clone_body): Don't substitute it. * call.c (build_new_method_call): Check in_chrg instead. * init.c (expand_virtual_init): Likewise. From-SVN: r39785
2001-02-16char_traits.cc: Move to ...Benjamin Kosnik3-5/+13
2001-02-16 Benjamin Kosnik <bkoz@redhat.com> * testsuite/21_strings/char_traits.cc: Move to ... * testsuite/21_strings/char_traits_requirements.cc: ..here. * testsuite/21_strings/char_traits-int_type.cc: Move to ... * testsuite/21_strings/char_traits_typedefs.cc: ..here. From-SVN: r39784
2001-02-16cplus-dem.c (main): Initialize style.Loren J. Rittle2-1/+5
2001-02-16 Loren J. Rittle <ljrittle@acm.org> * cplus-dem.c (main): Initialize style. From-SVN: r39782
2001-02-16decl.c (check_tag_decl): Make sure a typedef for an anonymous class-type ↵Gabriel Dos Reis4-0/+42
introduces at least a type-name. cp/ * decl.c (check_tag_decl): Make sure a typedef for an anonymous class-type introduces at least a type-name. testsuite/ * g++.old-deja/g++.other/decl9.C: New test. From-SVN: r39781
2001-02-16expr.c (build_instanceof): Check for arrays when trying fold to false.Alexandre Petit-Bianco2-6/+13
2001-02-15 Alexandre Petit-Bianco <apbianco@redhat.com> * expr.c (build_instanceof): Check for arrays when trying fold to false. (http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00993.html) From-SVN: r39778
2001-02-16call.c (convert_like_real): Create a temporary for non-lvalue.Jakub Jelinek4-6/+32
* call.c (convert_like_real): Create a temporary for non-lvalue. * g++.old-deja/g++.other/init16.C: Update the test so that it does not need <string> and also tests the initialization at runtime. From-SVN: r39776
2001-02-16Patch from Jes Sorensen for build failure.Jes Sorensen2-1/+6
* ia64.c (errata_emit_nops): Add VOIDmode as second argument to shladd_operand() call. From-SVN: r39775
2001-02-16gcse.c (hash_scan_set): If cprop, see if REG_EQUAL or REG_EQUIV.Richard Kenner2-156/+131
* gcse.c (hash_scan_set): If cprop, see if REG_EQUAL or REG_EQUIV. Don't CSE a nop. (hash_scan_insn): Clean up calls to hash_scan_set. (compute_kill_rd): REGNO now unsigned. (try_replace_reg): Rework to use simplify_replace_rtx. (cprop_jump, cprop_cc0_jump): Likewise. (cprop_insn): Call find_reg_equal_equiv_note. Reflect changes to cprop_jump and cprop_cc0_jump. From-SVN: r39774
2001-02-16recog.c (validate_replace_rtx): Replace in operands of ZERO_EXTRACT in SET_DEST.Richard Kenner2-2/+12
* recog.c (validate_replace_rtx): Replace in operands of ZERO_EXTRACT in SET_DEST. From-SVN: r39773
2001-02-16Use C fixincludes for UnixWare 7.Bruce Korb4-50/+257
Co-Authored-By: Rodney Brown <RodneyBrown@mynd.com> From-SVN: r39771
2001-02-16cse.c (new_label_ref): New variable.Richard Kenner2-4/+24
* cse.c (new_label_ref): New variable. (insert): Set it instead of recorded_label_ref. (cse_basic_block): Set recorded_label_ref if new_label_ref use, has CODE_LABEL for this function, and not already in REG_LABEL note. From-SVN: r39768
2001-02-16mathconf.h (FINITE_P, INFINITE_P): Remove macro definitions.Gabriel Dos Reis2-94/+5
* libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro definitions. From-SVN: r39767
2001-02-16resource.c (mark_referenced_resources): Fix typo in introductory comment.Jeffrey Oldham3-4/+11
2001-02-16 Jeffrey Oldham <oldham@codesourcery.com> * resource.c (mark_referenced_resources): Fix typo in introductory comment. * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Fix typo in string constant. From-SVN: r39766
2001-02-16cp-tree.h: Fix typos in comments.Jeffrey Oldham2-3/+7
2001-02-16 Jeffrey Oldham <oldham@codesourcery.com> * cp-tree.h: Fix typos in comments. From-SVN: r39765
2001-02-16fix comment typoJason Merrill1-1/+1
From-SVN: r39764
2001-02-16dwarf2out.c (add_bound_info): Don't crash if SAVE_EXPR_RTL is NULL.Jason Merrill7-20/+78
* dwarf2out.c (add_bound_info): Don't crash if SAVE_EXPR_RTL is NULL. (gen_subprogram_die): Don't abort on seeing a second definition if the previous one was abstract. Don't replace an abstract instance in the lookup table. * dwarf2out.c (dwarf2out_abstract_function): Rename from gen_abstract_function. * dwarf2out.h: Declare it. * toplev.c (note_outlining_of_inline_function): New fn. * toplev.h: Declare it. * integrate.c (output_inline_function): Call it. * c-decl.c (duplicate_decls): Call it when redefining an extern inline. Don't inline the new defn. From-SVN: r39763
2001-02-16tree.h (BLOCK_CHAIN): Use BLOCK_CHECK.Jason Merrill4-13/+29
* tree.h (BLOCK_CHAIN): Use BLOCK_CHECK. * optimize.c (remap_block): If we're compiling a clone, pass the new block to insert_block. From-SVN: r39761
2001-02-16gdbinit: Rename to gdbinit.in.Gerald Pfeifer5-31/+35
* .gdbinit: Rename to gdbinit.in. * gdbinit.in: New file, * configure.in: Generate .gdbinit from gdbinit.in. * configure: Regenerated. * Makefile.in (distclean): Always remove .gdbinit. From-SVN: r39759
2001-02-16objc-act.c (start_class): Register implemented_classes with GC.Jakub Jelinek2-1/+9
* objc/objc-act.c (start_class): Register implemented_classes with GC. From-SVN: r39756