1. 01 Jan, 2017 1 commit
  2. 04 Jan, 2016 1 commit
  3. 05 Jan, 2015 1 commit
  4. 02 Jan, 2014 1 commit
  5. 10 Jan, 2013 1 commit
  6. 04 Jan, 2013 1 commit
  7. 30 Oct, 2011 1 commit
  8. 21 Apr, 2009 1 commit
    • ABOUT-GCC-NLS, [...]: Add copyright and license notices. · ad41bd84
      	* ABOUT-GCC-NLS, ChangeLog, ChangeLog-1997, ChangeLog-1998,
      	ChangeLog-1999, ChangeLog-2000, ChangeLog-2001, ChangeLog-2002,
      	ChangeLog-2003, ChangeLog-2004, ChangeLog-2005, ChangeLog-2006,
      	ChangeLog-2007, ChangeLog-2008, ChangeLog.dataflow, ChangeLog.lib,
      	ChangeLog.ptr, ChangeLog.tree-ssa, ChangeLog.tuples, FSFChangeLog,
      	FSFChangeLog.10, FSFChangeLog.11, LANGUAGES, ONEWS, acinclude.m4,
      	config/alpha/gnu.h, config/alpha/libgcc-alpha-ldbl.ver,
      	config/alpha/t-osf4, config/alpha/t-vms, config/alpha/va_list.h,
      	config/alpha/x-vms, config/arc/t-arc,
      	config/arm/README-interworking, config/arm/arm-c.c,
      	config/arm/gentune.sh, config/arm/libgcc-bpabi.ver,
      	config/arm/t-arm, config/arm/t-arm-elf, config/arm/t-arm-softfp,
      	config/arm/t-bpabi, config/arm/t-linux, config/arm/t-linux-eabi,
      	config/arm/t-netbsd, config/arm/t-pe, config/arm/t-strongarm-elf,
      	config/arm/t-symbian, config/arm/t-vxworks, config/arm/t-wince-pe,
      	config/avr/t-avr, config/bfin/elf.h, config/bfin/libgcc-bfin.ver,
      	config/bfin/linux.h, config/bfin/t-bfin, config/bfin/t-bfin-elf,
      	config/bfin/t-bfin-linux, config/bfin/t-bfin-uclinux,
      	config/bfin/uclinux.h, config/cris/mulsi3.asm, config/cris/t-cris,
      	config/cris/t-elfmulti, config/crx/t-crx,
      	config/darwin-ppc-ldouble-patch.def, config/darwin-sections.def,
      	config/divmod.c, config/fr30/t-fr30, config/frv/libgcc-frv.ver,
      	config/frv/t-frv, config/frv/t-linux, config/h8300/genmova.sh,
      	config/h8300/t-h8300, config/i386/athlon.md,
      	config/i386/darwin-libgcc.10.4.ver,
      	config/i386/darwin-libgcc.10.5.ver, config/i386/libgcc-glibc.ver,
      	config/i386/mach.h, config/i386/netbsd.h, config/i386/t-crtpc,
      	config/i386/t-cygming, config/i386/t-cygwin, config/i386/t-i386,
      	config/i386/t-linux64, config/i386/t-nwld,
      	config/i386/t-rtems-i386, config/i386/t-sol2-10,
      	config/i386/x-mingw32, config/ia64/div.md, config/ia64/elf.h,
      	config/ia64/ia64.opt, config/ia64/libgcc-glibc.ver,
      	config/ia64/libgcc-ia64.ver, config/ia64/linux.h,
      	config/ia64/sysv4.h, config/ia64/t-hpux, config/ia64/t-ia64,
      	config/iq2000/abi, config/iq2000/lib2extra-funcs.c,
      	config/iq2000/t-iq2000, config/libgcc-glibc.ver,
      	config/m32r/libgcc-glibc.ver, config/m32r/t-linux,
      	config/m32r/t-m32r, config/m68hc11/t-m68hc11,
      	config/m68k/t-floatlib, config/m68k/t-linux, config/m68k/t-mlibs,
      	config/m68k/t-uclinux, config/mcore/t-mcore,
      	config/mcore/t-mcore-pe, config/mips/20kc.md, config/mips/4130.md,
      	config/mips/5400.md, config/mips/5500.md, config/mips/crti.asm,
      	config/mips/crtn.asm, config/mips/irix-crti.asm,
      	config/mips/irix-crtn.asm, config/mips/libgcc-mips16.ver,
      	config/mips/mips-dsp.md, config/mips/mips-dspr2.md,
      	config/mips/mips-fixed.md, config/mips/sb1.md,
      	config/mips/sr71k.md, config/mips/t-elf, config/mips/t-gofast,
      	config/mips/t-iris6, config/mips/t-isa3264,
      	config/mips/t-libgcc-mips16, config/mips/t-linux64,
      	config/mips/t-mips, config/mips/t-r3900, config/mips/t-rtems,
      	config/mips/t-sb1, config/mips/t-sde, config/mips/t-sdemtk,
      	config/mips/t-slibgcc-irix, config/mips/t-sr71k, config/mips/t-st,
      	config/mips/t-vr, config/mips/t-vxworks, config/mmix/t-mmix,
      	config/mn10300/t-linux, config/mn10300/t-mn10300,
      	config/pa/pa32-regs.h, config/pa/t-hpux-shlib, config/pa/t-linux,
      	config/pa/t-linux64, config/pa/t-pa64, config/pdp11/t-pdp11,
      	config/picochip/libgccExtras/clzsi2.asm,
      	config/picochip/t-picochip, config/rs6000/darwin-ldouble-format,
      	config/rs6000/darwin-libgcc.10.4.ver,
      	config/rs6000/darwin-libgcc.10.5.ver,
      	config/rs6000/libgcc-ppc-glibc.ver, config/rs6000/ppc-asm.h,
      	config/rs6000/t-aix43, config/rs6000/t-aix52,
      	config/rs6000/t-darwin, config/rs6000/t-fprules,
      	config/rs6000/t-fprules-fpbit, config/rs6000/t-linux64,
      	config/rs6000/t-lynx, config/rs6000/t-netbsd,
      	config/rs6000/t-ppccomm, config/rs6000/t-ppcendian,
      	config/rs6000/t-ppcgas, config/rs6000/t-rs6000,
      	config/rs6000/t-rtems, config/rs6000/t-spe,
      	config/rs6000/t-vxworks, config/s390/libgcc-glibc.ver,
      	config/score/t-score-elf, config/sh/divcost-analysis,
      	config/sh/libgcc-glibc.ver, config/sh/t-netbsd, config/sh/t-sh,
      	config/sh/t-sh64, config/sh/t-superh, config/sh/t-symbian,
      	config/sparc/libgcc-sparc-glibc.ver, config/sparc/sol2-bi.h,
      	config/sparc/sol2-gas.h, config/sparc/sol2-gld-bi.h,
      	config/sparc/t-elf, config/sparc/t-linux64, config/sparc/t-sol2,
      	config/stormy16/stormy-abi, config/stormy16/t-stormy16,
      	config/t-darwin, config/t-libunwind, config/t-libunwind-elf,
      	config/t-linux, config/t-lynx, config/t-slibgcc-elf-ver,
      	config/t-slibgcc-sld, config/t-sol2, config/t-vxworks,
      	config/udivmod.c, config/udivmodsi4.c, config/v850/t-v850,
      	config/v850/t-v850e, config/xtensa/t-xtensa, diagnostic.def,
      	gdbinit.in, glimits.h, gstab.h, gsyms.h, java/ChangeLog,
      	java/ChangeLog.ptr, java/ChangeLog.tree-ssa, libgcc-std.ver,
      	limitx.h, version.c, xcoff.h: Add copyright and license notices.
      	* config/h8300/genmova.sh: Include copyright and license notices
      	in generated output.
      	* config/h8300/mova.md: Regenerate.
      	* doc/install.texi2html: Include word "Copyright" in copyright
      	notice and use name "Free Software Foundation, Inc.".
      	* ChangeLog, ChangeLog-2000, ChangeLog-2001, ChangeLog-2002,
      	ChangeLog-2003, ChangeLog-2004, ChangeLog-2005, ChangeLog-2006,
      	ChangeLog-2007, ChangeLog-2008: Correct dates.
      
      ada:
      	* ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
      	license notices.
      
      cp:
      	* ChangeLog, ChangeLog-1993, ChangeLog-1994, ChangeLog-1995,
      	ChangeLog-1996, ChangeLog-1997, ChangeLog-1998, ChangeLog-1999,
      	ChangeLog-2000, ChangeLog-2001, ChangeLog-2002, ChangeLog-2003,
      	ChangeLog-2004, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007,
      	ChangeLog-2008, ChangeLog.ptr, ChangeLog.tree-ssa, NEWS,
      	cfns.gperf: Add copyright and license notices.
      	* cfns.h: Regenerate.
      	* ChangeLog, ChangeLog-2004: Correct dates.
      
      fortran:
      	* ChangeLog, ChangeLog-2002, ChangeLog-2003, ChangeLog-2004,
      	ChangeLog-2005, ChangeLog-2006, ChangeLog-2007, ChangeLog-2008,
      	ChangeLog.ptr, config-lang.in, ioparm.def, mathbuiltins.def: Add
      	copyright and license notices.
      	* ChangeLog, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007,
      	ChangeLog-2008: Correct dates.
      
      java:
      	* ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
      	license notices.
      
      objc:
      	* ChangeLog: Add copyright and license notices.
      
      objcp:
      	* ChangeLog: Add copyright and license notices.
      
      po:
      	* ChangeLog, EXCLUDES: Add copyright and license notices.
      
      testsuite:
      	* ChangeLog, ChangeLog-1993-2007, ChangeLog-2008, ChangeLog.ptr,
      	ChangeLog.tree-ssa, README, README.QMTEST, README.compat,
      	README.gcc, g++.dg/README, g++.dg/compat/break/README,
      	g++.dg/gomp/gomp.exp, g++.old-deja/g++.brendan/README,
      	g++.old-deja/g++.oliva/ChangeLog, g++.old-deja/g++.robertl/README,
      	gcc.c-torture/ChangeLog.0,
      	gcc.c-torture/execute/builtins/builtins.exp, gcc.dg/README,
      	gcc.dg/gomp/gomp.exp, gcc.target/frv/frv.exp,
      	gcc.target/i386/math-torture/math-torture.exp,
      	gcc.target/mips/inter/mips16-inter.exp,
      	gcc.target/mips/mips-nonpic/README,
      	gcc.target/x86_64/abi/README.gcc,
      	gcc.target/xstormy16/xstormy16.exp, gcc.test-framework/README,
      	gfortran.dg/g77/README, gfortran.dg/gomp/gomp.exp,
      	gfortran.fortran-torture/ChangeLog.g95: Add copyright and license
      	notices.
      	* ChangeLog-1993-2007, ChangeLog: Correct dates.
      
      From-SVN: r146533
      Joseph Myers committed
  9. 15 Jun, 2005 1 commit
  10. 14 Jun, 2005 1 commit
  11. 16 Aug, 2003 1 commit
  12. 01 Aug, 2003 1 commit
    • PR c++/8442, c++/8806 · cbd63935
      	PR c++/8442, c++/8806
      	* decl.c (qualify_lookup): Accept TEMPLATE_DECL if types are
      	preferred.
      	(check_elaborated_type_specifier): Add allow_template_p
      	parameter.  Check tag mismatch and class template.
      	(xref_tag): Add template_header_p parameter.  Add assertion
      	that name is an IDENTIFIER_NODE.  Remove implicit typename
      	warning.  Simplify lookup process if globalize is true.
      	(cxx_init_decl_processing): Adjust call to xref_tag.
      	(xref_tag_from_type): Likewise.
      	* decl2.c (handle_class_head): Likewise.
      	* parser.c (cp_parser_elaborated_type_specifier,
      	cp_parser_class_head): Likewise.
      	* rtti.c (init_rtti_processing, build_dynamic_cast1,
      	tinfo_base_init, emit_support_tinfos): Likewise.
      	* class.c (is_base_of_enclosing_class): Remove.
      	* pt.c (convert_template_argument): Don't accept RECORD_TYPE as
      	template template argument.
      	* cp-tree.h (xref_tag): Adjust declaration.
      	(is_base_of_enclosing_class): Remove.
      	* NEWS: Document template template argument change.
      
      	* g++.dg/template/elab1.C: Likewise.
      	* g++.dg/template/type2.C: Likewise.
      	* g++.dg/template/ttp3.C: Adjust expected error message.
      	* g++.old-deja/g++.law/visibility13.C: Likewise.
      	* g++.old-deja/g++.niklas/t135.C: Likewise.
      	* g++.old-deja/g++.pt/ttp41.C: Likewise.
      	* g++.old-deja/g++.pt/ttp43.C: Use qualified name for template
      	template argument.
      	* g++.old-deja/g++.pt/ttp44.C: Likewise.
      
      From-SVN: r70048
      Kriang Lerdsuwanakij committed
  13. 26 Jul, 2003 1 commit
  14. 13 Jul, 2003 1 commit
  15. 28 Dec, 2002 1 commit
    • Make-lang.in (po-generated): Remove parse.c. · a723baf1
      	* Make-lang.in (po-generated): Remove parse.c.
      	(CXX_OBJS): Remove parse.o and spew.o.  Add parser.o.
      	($(srcdir)/cp/parse.h): Remove target.
      	($(srcdir)/cp/parse.c): Likewise.
      	(gt-cp-parse.h): Likewise.
      	(gt-cp-parser.h): New target.
      	(c++.distclean): Do not remove parse.output.
      	(c++.maintainer-clean): Do not remove parse.c or parse.h.
      	(cp/spew.o): Remove target.
      	(cp/lex.o): Adjust dependencies.
      	(cp/pt.o): Likewise.
      	(cp/parse.o): Likewise.
      	(cp/TAGS): Do not mention parse.c.
      	(cp/parser.o): New target.
      	* NEWS: Mention the new parser.
      	* call.c (build_scoped_method_call): Simplify.
      	(build_method_call): Likewise.
      	(build_new_function_call): Adjust calls to add_function_candidate
      	and add_template_candidate.
      	(build_new_op): Improve handling of erroroneous operands.
      	(convert_default_arg): Remove circular argument processing.
      	(name_as_c_string): New function.
      	(build_new_method_call): Use it.
      	(perform_implicit_conversion): Use error_operand_p.
      	* class.c (finish_struct_anon): Use constructor_name_p.
      	(check_field_decls): Likewise.
      	(pop_nested_class): Use OVL_NEXT, not OVL_CHAIN.
      	(resolve_address_of_overloaded_function): Likewise.
      	(instantiate_type): Tweak pointer-to-member handling.
      	(get_primary_binfo): Remove incorrect assertion.
      	* config-lang.in (gtfiles): Add parser.c, remove parse.c.
      	* cp-tree.h (DEFARG_TOKENS): New macro.
      	(default_arg): New structure.
      	(cp_tree_node_structure_enum): Add TS_CP_DEFAULT_ARG.
      	(lang_tree_node): Add default_arg.
      	(cp_tree_index): Add CPTI_TYPE_INFO_REF_TYPE.
      	(type_info_ref_type): New macro.
      	(saved_scope): Make processing_explicit_instantiation a boolean.
      	(check_access): New field.
      	(unparsed_text): Remove.
      	(language_function): Remove unparsed_inlines.
      	(error_operand_p): New macro.
      	(lang_decl): Adjust pending_inline_info.
      	(DEFARG_POINTER): Remove.
      	(tag_types): Add typenames.
      	(lookup_ualified_name): Declare.
      	(lookup_name_real): Likewise.
      	(shadow_tag): Adjust prototype.
      	(get_scope_of_declarator): Declare it.
      	(process_next_inline): Remove it.
      	(check_for_missing_semicolon): Likewise.
      	(maybe_get_template_decl_from_type_decl): Declare it.
      	(finish_label_stmt): Adjust prototype.
      	(finish_non_static_data_meber): Declare it.
      	(finish_pseudo_destructor_call_expr): Rename to ...
      	(finish_pseudo_destructor_expr): ... this.
      	(finish_compound_literal): Declare it.
      	(begin_inline_definitions): Remove it.
      	(init_spew): Remove.
      	(peekyylex): Likewise.
      	(arbitrate_lookup): Likewise.
      	(frob_opname): Likewise.
      	(maybe_snarf_defarg): Likewise.
      	(add_defarg_fn): Likewise.
      	(do_pending_defargs): Likewise.
      	(done_pending_defargs): Likewise.
      	(unprocessed_defarg_fn): Likewise.
      	(replace_defarg): Likewise.
      	(end_input): Likewise.
      	(get_overloaded_fn): Likewise.
      	* cvt.c (convert_to_reference): Improve error handling.
      	* decl.c (lookup_name_real): Do not declare it static.
      	(maybe_push_to_top_level): Set check_access.
      	(identifier_type_value): Adjust call to lookup_name_real.
      	(lookup_qualified_name): New method.
      	(lookup_name_real): Remove special-case parsing code.
      	(lookup_name-nonclass): Adjust call to lookup_name_real.
      	(lookup_name_namespace_only): Likewise.
      	(lookup_name): Likewise.
      	(check_tag_decl): Return the type declared.
      	(shadow_tag): Likewise.
      	(register_dtor_fn): Tweak check_access.
      	(grokfndecl): Use constructor_name_p.
      	(get_scope_of_declarator): New function.
      	(grokdeclarator): Obscure tweaks for slightly different declarator
      	representations.
      	(start_method): Return error_mark_node to indicate failure.
      	(cp_tree_node_structure_enum): Use TS_CP_DEFAULT_ARG for DEFAULT_ARGs.
      	* decl2.c (constructor_name_full): Simplify.
      	(constructor_name): Use it.
      	(build_expr_from_tree): Adjust for changes to do new parser.
      	(push_scope): Improve robustness.
      	(validate_nonmember_using_decl): Process declarations, not names.
      	(do_class_using_decl): Likewise.
      	(handle_class_head): Do not mess with CLASSTYPE_DECLARED_CLASS
      	here.
      	* error.c (dump_expr): Handle IDENTIFIER_NODEs and BASELINKs.
      	* expr.c (cxx_expand_expr): Handle BASELINKs.
      	* init.c (member_init_ok_or_else): Issue more errors.
      	(build_offset_ref): Tweak handling of FUNCTION_DECLs.
      	* lex.c: Do not include parse.h.
      	(yypring): Do not declare.
      	(yylval): Likewise.
      	(make_reference_declarator): Remove error-generating code.
      	(rid_to_yy): Remove.
      	(cxx_init): Do not call init_spew.
      	(yypring): Remove.
      	(check_for_missing_semicolon): Remove.
      	* lex.h (got_scope): Remove.
      	(got_object): Remove.
      	* method.c (hack_identifier): Use finish_non_static_data_member.
      	(implicitly_declare_fn): Adjust use of constructor_name.
      	* parser.c: New file.
      	* pt.c (parse.h): Do not include it.
      	(maybe_get_template_decl_from_template): Do not declare it.
      	(finish_member_template_decl): Tweak.
      	(begin_explicit_instantiation): Adjust for
      	processing_explicit_instantiation being boolean.
      	(end_explicit_instantiation): Likewise.
      	(maybe_process_partial_specialization): Tighten specialization
      	test.
      	(retrieve_local_specialization): Adjust ue of hash table.
      	(eq_local_specializations): New function.
      	(register_local_specialization): Likewise.
      	(push_template_decl_real): Remove unnecessary test.
      	(maybe_get_template_decl_from_type_decl): Don't make it static.
      	(for_each_template_parm_r): Handle TYPEOF_TYPE.
      	(tsubst_copy): Use retrieive_local_specialization to handle
      	PARM_DECL.  Adjust handling of CONST_DECLs.  Handle BASELINKs.
      	Handle COMPONENT_REFs with pseudo-destructor-expressions.
      	Simplify handling of CALL_EXPR and METHOD_CALL_EXPR.
      	(tsubst_expr): Pass decls, not names, to do_local_using_decl.
      	(unify): Tweak handling of CONST_DECLs.
      	(regenerate_decl_from_template): Use push_nested_class.
      	(template_for_substitution): New funciton.
      	(instantiate_decl): Use it.  Register parameters as local
      	specializations.
      	* rtti.c (init_rtti_processing): Set type_info_ref_type.
      	(build_typeid): Use it.
      	(get_typeid): Likeise.
      	* search.c (accessible_p): Use check_access, not
      	flag_access_control.
      	(adjust_result_of_qualified_name_lookup): Pay attention to the
      	context_class.
      	* semantics.c (finish_asm_stmt): Adjust error handling.
      	(finish_label_stmt): Return the statement.
      	(finish_non_static_data_member): New function.
      	(finish_class_expr): Handle BASELINKs.
      	(finish_call_expr): Handle PSEUDO_DTOR_EXPR.
      	(finish_object_call_expr): Simplify handling during templates.
      	(finish_pseudo_destructor_call_expr): Rename to ...
      	(finish_pseudo_dtor_expr): ... this.
      	(finish_compound_literal): New function.
      	(begin_inline_definitions): Remove.
      	(finish_sizeof): Remove special template handling.
      	* spew.c: Do not include parse.h.
      	* tree.c (get_overloaded_fn): Remove.
      	* typeck.c (build_class_member_access_expr): Handle
      	PSEUDO_DTOR_EXPR.  Adjust handling of static member functions.
      	(lookup_destructor): New function.
      	(finish_class_member_access_expr): Use it.
      	(convert_arguments): Simplify.
      	(build_unary_op): Handle BASELINKs.
      
      From-SVN: r60560
      Mark Mitchell committed
  16. 10 Dec, 2002 1 commit
    • re PR c++/8153 (ICE with static const member in class) · dcba9b0f
      	PR c++/8153
      	PR c++/8036
      	* NEWS: Document removal of in-class initialization extension for
      	static data members of non-arithmetic, non-enumeration type.
      	* decl.c (check_static_variable_definition): Do not allow that
      	extension.
      	* decl2.c (grokfield): Do not call digest_init when processing
      	templates.
      
      	PR c++/8153
      	PR c++/8036
      	* g++.dg/template/static1.C: New test.
      	* g++.dg/template/static2.C: New test.
      	* g++.old-deja/g++.ext/memconst.C: New test.
      
      From-SVN: r59980
      Mark Mitchell committed
  17. 11 Oct, 2002 1 commit
    • NEWS: Document removal of "new X = ..." extension. · 8e3df2de
      	* NEWS: Document removal of "new X = ..." extension.
      	* class.c (initialize_array): Set TREE_HAS_CONSTRUCTOR on
      	brace-enclosed initializers.
      	* cp-tree.h (CP_AGGREGATE_TYPE_P): New macro.
      	(initialize_local_var): Remove declaration.
      	(expand_static_init): Likewise.
      	* decl.c (next_initializable_field): New function.
      	(reshape_init): Likewise.
      	(check_initializer): Use them.  Build dynamic initializer for
      	aggregates here too.
      	(initialize_local_var): Simplify, and incorporate cleanup
      	insertion code as well.
      	(destroy_local_var): Remove.
      	(cp_finish_decl): Tidy.
      	(expand_static_init): Fold checks for whether or not a variable
      	needs initialization into this function.  Simplify.
      	* decl2.c (do_static_initialization): Simplify.
      	* init.c (build_init): Do not set TREE_SIDE_EFFECTS when it will
      	be done for us automatically.
      	(expand_default_init): Handle brace-enclosed initializers
      	correctly.
      	(expand_aggr_init_1): Remove RTL-generation code.
      	(build_vec_init): Remove "new X = ..." support.
      	* parse.y (new_initializer): Likewise.
      	* rtti.c (get_pseudo_ti_init): Set TREE_HAS_CONSTRUCTOR on
      	brace-enclosed initializer.
      	(create_pseudo_type_info): Likewise.
      	* typeck2.c (store_init_value): Don't try to handle digest_init
      	being called more than once.
      	(digest_init): Tidy handling of brace-enclosed initializers.
      
      	* g++.dg/init/array1.C: Remove invalid braces.
      	* g++.dg/init/brace1.C: New test.
      	* g++.dg/init/copy2.C: Likewise.
      	* g++.dg/init/copy3.C: Likewise.
      	* g++.old-deja/g++.ext/arrnew.C: Change WARNING to ERROR.
      	* g++.old-deja/g++.mike/p9129.C: Add ERROR on invalid use of
      	braces.
      
      From-SVN: r58053
      Mark Mitchell committed
  18. 19 Mar, 2002 1 commit
  19. 18 Mar, 2002 1 commit
  20. 11 Feb, 2002 1 commit
  21. 18 Dec, 2001 1 commit
    • C++ ABI change: destroy value arguments in caller. · f21add07
              * calls.c (initialize_argument_information): Pass the address of
              the TARGET_EXPR temporary rather than storing it into another.
              * semantics.c (genrtl_start_function, genrtl_finish_function): Don't
              create an extra binding level for the parameters.
              * decl.c (store_parm_decls): Don't do parameter cleanups.
      
      From-SVN: r48154
      Jason Merrill committed
  22. 16 Dec, 2001 1 commit
  23. 02 Aug, 2001 1 commit
    • Kill -fhonor-std. · 1dbb6023
      .:	Kill -fhonor-std.
      	* doc/c-tree.texi (Namespaces): Remove std & -fhonor-std
      	interaction.
      	* doc/invoke.texi (C++ Dialect Options): Remove -fno-honor-std.
      cp:
      	Kill -fhonor-std.
      	* NEWS: Document.
      	* cp-tree.h (flag_honor_std): Remove.
      	(CPTI_FAKE_STD): Remove.
      	(std_node): Remove comment about it being NULL.
      	(fake_std_node): Remove.
      	* decl.c (in_fake_std): Remove.
      	(walk_namespaces_r): Remove fake_std_node check.
      	(push_namespace): Remove in_fake_std code.
      	(pop_namespace): Likewise.
      	(lookup_name_real): Remove fake_std_node check.
      	(init_decl_processing): Always create std_node. Always add
      	std:: things there.
      	(builtin_function): Always put non '_' fns in std.
      	* decl2.c (flag_honor_std): Remove.
      	(lang_f_options): Remove honor-std.
      	(unsupported_options): Add honor-std.
      	(set_decl_namespace): Remove fake_std_node check.
      	(validate_nonmember_using_decl): Likewise.
      	(do_using_directive): Likewise.
      	(handle_class_head): Likewise.
      	* dump.c (cp_dump_tree): Likewise.
      	* except.c (init_exception_processing): Adjust.
      	* init.c (build_member_call): Remove fake_std_node check.
      	(build_offset_ref): Likewise.
      	* lang-options.h: Remove -fhonor-std, -fno-honor-std.
      	* rtti.c (init_rtti_processing): Adjust.
      testsuite:
      	Kill -fhonor-std.
      	* g++.old-deja/g++.ns/ns14.C: Remove special options.
      	* g++.old-deja/g++.other/std1.C: Likewise.
      	* g++.old-deja/g++.robertl/eb133.C: Likewise. Add using directive.
      
      From-SVN: r44569
      Nathan Sidwell committed
  24. 19 Jul, 2001 1 commit
    • class.c (type_requires_array_cookie): New function. · dbc957f1
      	* class.c (type_requires_array_cookie): New function.
      	(check_methods): Don't try to figure out whether the type needs a
      	cookie here.
      	(check_bases_and_members): Set TYPE_VEC_NEW_USES_COOKIE here.
      	* cp-tree.h (TYPE_VEC_DELETE_TAKES_SIZE): Remove.
      	(TYPE_VEC_NEW_USES_COOKIE): Reimplement.
      	* pt.c (instantiate_class_template): Don't set
      	TYPE_VEC_DELETE_TAKES_SIZE.
      	* NEWS: Document ABI changes from GCC 3.0.
      
      From-SVN: r44142
      Mark Mitchell committed
  25. 18 Jul, 2001 1 commit
  26. 13 Jun, 2001 1 commit
  27. 06 Sep, 2000 1 commit
    • extend.texi: Mark named return value extension as deprecated. · 44835fdd
      	* extend.texi: Mark named return value extension as deprecated.
      
      	* NEWS: Mention that the named return value extension has been
      	deprecated.
      	* cp-tree.h (original_result_rtx): Define.
      	(TREE_REFERENCE_EXPR): Remove.
      	(DECL_VPARENT): Likewise.
      	(pushdecl_nonclass_level): Likewise.
      	(store_return_init): Likewise.
      	(reinit_lang_specific): Likewise.
      	(genrtl_named_return_value): Change prototype.
      	* decl.c (original_result_rtx): Remove.
      	(cp_finish_decl): Don't build DECL_STMTs for RESULT_DECLs.
      	Do not generate RTL for local variables here.
      	(store_return_init): Remove.
      	* semantics.c (genrtl_named_return_value): Simplify.  Fold in
      	store_return_init.
      	(finish_named_return_value): Adjust accordingly.  Warn that this
      	extension is deprecated.
      	(lang_expand_stmt): Adjust call to genrtl_named_return_value.
      
      From-SVN: r36210
      Mark Mitchell committed
  28. 31 May, 2000 1 commit
    • invoke.texi: Remove documentation for -fguiding-decls. · 2228d450
      	* invoke.texi: Remove documentation for -fguiding-decls.
      
      	Remove guiding declaration support.
      	* cp/cp-tree.h (flag_dump_translation_unit): Make it const.
      	(flag_guiding_decls): Remove.
      	* call.c (build_user_type_conversion_1): Remove support for
      	guiding decls.
      	(build_new_function_call): Likewise.
      	(build_new_op): Likewise.
      	(build_new_method_call): Likewise.
      	* decl.c (start_function): Likewise.
      	* friend.c (is_friend): Likewise.
      	(do_friend): Likewise.
      	* decl2.c ((flag_dump_translation_unit): Make it const.
      	(flag_guiding_decls): Remove.
      	(unsupported_options): New variable
      	(compare_options): New function.
      	(lang_decode_option): Use them.
      
      From-SVN: r34306
      Mark Mitchell committed
  29. 27 Feb, 2000 1 commit
  30. 19 Oct, 1999 1 commit
    • method.c (PARM_CAN_BE_ARRAY_TYPE): Remove. · 858a0ff1
      	* method.c (PARM_CAN_BE_ARRAY_TYPE): Remove.
      	(mangling_flags): New type.
      	(build_overload_int): Change prototype.
      	(build_overload_value): Likewise.
      	(numeric_output_need_bar): Improve comment.
      	(mangle_expression): New function, broken out from ...
      	(build_overload_int): Here.
      	(build_overload_value): Adjust for use of mangling flags.  Don't
      	warn about real-valued template parameters here.  Do handle
      	complex expressions involving real-valued template parameters.
      	(build_template_parm_names): Encase non-type template parameters
      	in underscores, if necessary.
      	(process_overload_item): Remove conditional on
      	PARM_CAN_BE_ARRAY_TYPE.
      
      From-SVN: r30090
      Mark Mitchell committed
  31. 20 Sep, 1999 1 commit
    • Remove support for assigning to `this'. · 9bfadf57
      	* NEWS: Note that fact.
      	* class.c (build_vbase_path): Don't check flag_this_is_variable.
      	* cp-tree.h (EXPR_STMT_ASSIGNS_THIS): Remove.
      	(language_function): Remove assigns_this, just_assigned_this, and
      	x_base_init_expr.  Add x_vcalls_possible_p.  Add vtbls_set_up_p.
      	(base_init_expr): Remove.
      	(current_vcalls_possible_p): New macro.
      	(vtbls_set_up_p): Likewise.
      	(emit_base_init): Change prototype.
      	* decl.c (finish_destructor_body): New function, split out from
      	finish_function.
      	(current_function_assigns_this): Remove.
      	(current_function_just_assigned_this): Likewise.
      	(start_function): Don't set them.
      	(finish_function): Don't check them.  Don't emit
      	base-initialization code here.  Generate code for destructors when
      	doing semantic analysis.
      	(finish_stmt): Don't check current_function_just_assigned_this.
      	* decl2.c (lang_f_options): Remove this-is-variable.
      	(lang_decode_option): Likewise.
      	(grokclassfn): Don't check flag_this_is_variable.
      	* init.c (emit_base_init): Return the expression generated.
      	(construct_virtual_bases): Don't push/pop obstacks.  Fix
      	typo.
      	(build_new_1): Don't check flag_this_is_variable.
      	(get_temp_regvar): Don't set DECL_REGISTER.
      	(build_vec_init): Don't call use_variable.
      	* lang-options.h: Remove "-fthis-is-variable" and
      	"-fno-this-is-variable".
      	* pt.c (tsubst_expr): Don't check EXPR_STMT_ASSIGNS_THIS.
      	* search.c (expand_upcast_fixups): Use finish_expr_stmt, not
      	expand_expr_stmt.
      	* semantics.c (finish_expr_stmt_real): Rename to ...
      	(finish_expr_stmt): This.  Remove assigned_this parameter.
      	(begin_if_stmt): Call do_pushlevel before starting the statement.
      	(begin_compound_stmt): Don't declare __FUNCTION__ in scope-less
      	blocks.
      	(setup_vtbl_ptr): Emit initialization code for bases and members
      	at semantic-analysis time.  Emit code to initialize vtables in
      	destructors here.
      	(expand_stmt): Use finish_expr_stmt, not finish_expr_stmt_real.
      	Don't handle CTOR_INITIALIZER any more.
      	* typeck.c (build_modify_expr): Don't check for assignments to
      	this.
      	(c_expand_return): Don't suggest assigning to `this'.
      
      	* Makefile.in (decl.o): Depend on RTL_H.
      	(decl2.o): Likewise.
      	(class.o): Likewise.
      	(call.o): Likewise.
      	(method.o): Likewise.
      	(search.o): Likewise.
      	(tree.o): Likewise.
      	(pt.o): Likewise.
      
      	* decl.c (duplicate_decls): When a builtin function is redeclared
      	as static, make sure it is mangled correctly.
      
      	* ir.texi (CTOR_INITIALIZER): Remove mention.  Fix typo.  Add
      	detail about the statement-tree.
      
      From-SVN: r29531
      Mark Mitchell committed
  32. 12 Aug, 1999 1 commit
    • Make-lang.in (CXX_SRCS): Remove sig.c. · cf7cf3d2
      	* Make-lang.in (CXX_SRCS): Remove sig.c.
      	* Makefile.in (CXX_OBJS): Remove sig.o.
      	(sig.o): Remove.
      	* cp-tree.h (CPTI_OPAQUE_TYPE): Remove.
      	(CPTI_SIGNATURE_TYPE): Likewise.
      	(CPTI_SIGTABLE_ENTRY_TYPE): Likewise.
      	(opaque_type_node): Likewise.
      	(signature_type_node): Likewise.
      	(sigtable_entry_type): Likewise.
      	(flag_handle_signatures): Likewise.
      	(lang_type): Remove is_signature, is_signature_pointer,
      	is_signature_reference, has_opaque_typedecls,
      	sigtables_has_been_generated.  Adjust dummy.  Remove signature,
      	signature_pointer_to, signature_reference_to.
      	(IS_SIGNATURE): Remove.
      	(SET_SIGNATURE): Remove.
      	(CLEAR_SIGNATURE): Remove.
      	(IS_SIGNATURE_POINTER): Remove.
      	(IS_SIGNATURE_REFERENCE): Remove.
      	(SIGNATURE_HAS_OPAQUE_TYPEDECLS): Remove.
      	(SIGTABLE_HAS_BEEN_GENERATED): Remove.
      	(CLASSTYPE_SIGNATURE): Remove.
      	(SIGNATURE_TYPE): Remove.
      	(SIGNATURE_METHOD_VEC): Remove.
      	(SIGNATURE_POINTER_TO): Remove.
      	(SIGNATURE_REFERENCE_TO): Remove.
      	(lang_decl_flags): Remove is_default_implementation.  Rename
      	memfunc_pointer_to to saved_tree.
      	(IS_DEFAULT_IMPLEMENTATION): Remove.
      	(DECL_MEMFUNC_POINTER_TO): Remove.
      	(DECL_MEMFUNC_POINTING_TO): Remove.
      	(DECL_SAVED_TREE): Adjust definition.
      	(tag_types): Remove signature_type_node.
      	(SIGNATURE_FIELD_NAME): Remove.
      	(SIGNATURE_FIELD_NAME_FORMAT): Likewise.
      	(SIGNATURE_OPTR_NAME): Likewise.
      	(SIGNATURE_SPTR_NAME): Likewise.
      	(SIGNATURE_POINTER_NAME): Likewise.
      	(SIGNATURE_POINTER_NAME_FORMAT): Likewise.
      	(SIGNATURE_REFERENCE_NAME): Likewise.
      	(SIGNATURE_REFERNECE_NAME_FORMAT): Likewise.
      	(SIGTABLE_PTR_TYPE): Likewise.
      	(SIGTABLE_NAME_FORMAT): Likewise.
      	(SIGTABLE_NAME_FORMAT_LONG): Likewise.
      	(SIGTABLE_TAG_NAME): Likewise.
      	(SIGTABLE_VB_OFF_NAME): Likewise.
      	(SIGTABLE_VT_OFF_NAME): Likewise.
      	(finish_base_specifiers): Change prototype.
      	(build_signature_pointer_type): Remove.
      	(build_signature_reference_type): Remove.
      	(build_signature_pointer_constructor): Remove.
      	(build_signature_method_call): Remove.
      	(build_optr_ref): Likewise.
      	(append_signature_fields): Likewise.
      	(signature_error): Likewise.
      	* call.c (build_this): Remove signature support.
      	(build_over_call): Likewise.
      	(build_new_method_call): Likewise.
      	* class.c (add_implicitly_declared_members): Likewise.
      	(finish_struct_1): Likewise.
      	(finish_struct): Likewise.
      	* cvt.c (cp_convert_to_pointer): Likewise.
      	(convert_to_pointer_force): Likewise.
      	(ocp_convert): Likewise.
      	* decl.c (sigtable_decl_p): Remove.
      	(init_decl_processing): Remove support for signatures.
      	(cp_finish_decl): Likewise.
      	(grokdeclarator): Likewise.
      	(grokparms): Likewise.
      	(xref_tag): Likewise.
      	(start_function): Likewise.
      	(start_method): Likewise.
      	* decl2.c (finish_sigtable_vardecl): Remove.
      	(flag_handle_signatures): Remove.
      	(lang_f_options): Remove handle-signatures.
      	(grokfield): Remove support for signatures.
      	(grokbitfield): Likewise.
      	(finish_file): Likewise.
      	(reparse_absdcl_as_casts): Likewise.
      	* error.c (dump_type_real): Likewise.
      	(dump_function_decl): Likewise.
      	* friend.c (make_friend_class): Likewise.
      	* gxx.gperf: Remove __signature__, signature, __sigof__, sigof.
      	* hash.h: Regenerated.
      	* init.c (build_new_1): Remove support for signatures.
      	* lang-options.h: Remove -fhandle-signatures,
      	-fno-handle-signatures.
      	* lex.c (init_parse): Remove support for signatures.
      	(yyprint): Likewise.
      	* lex.h (rid): Remove RID_SIGNATURE.
      	* method.c (build_decl_overload_real): Remove support for
      	signatures.
      	(hack_identifier): Likewise.
      	* parse.y (base_class): Likewise.
      	(base_class.1): Likewise.
      	(access_specifier): Likewise.
      	* search.c (lookup_member): Likewise.
      	* semantics.c (finish_qualified_object_call_expr): Likewise.
      	(finish_template_type_parm): Likewise.
      	(begin_class_definition): Likewise.
      	(finish_base_specifier): Likewise.
      	* sig.c: Remove.
      	* tree.c (build_cplus_method_type): Remove support for signatures.
      	* typeck.c (require_complete_type): Likewise.
      	(c_sizeof): Likewise.
      	(c_alignof): Likewise.
      	(build_object_ref): Likewise.
      	(build_component_ref): Likewise.
      	(build_indirect_ref): Likewise.
      	(build_c_cast): Likewise.
      	(build_modify_expr): Likewise.
      	(convert_for_initialization): Likewise.
      	* typeck2.c (signature_error): Remove.
      	(store_init_value): Remove support for signatures.
      	(digest_init): Likewise.
      	(build_x_arrow): Likewise.
      	(build_functional_cast): Likewise.
      	* xref.c (GNU_xref_decl): Likewise.
      
      From-SVN: r28681
      Mark Mitchell committed
  33. 27 Jul, 1999 1 commit
  34. 21 Jun, 1999 1 commit
  35. 07 Dec, 1998 1 commit
    • decl.c (build_typename_type): Set DECL_ARTIFICIAL. · 2642b9bf
      	* decl.c (build_typename_type): Set DECL_ARTIFICIAL.
      	* error.c (dump_simple_decl): Also print namespace context.
      	(dump_function_decl): Likewise.
      	* decl2.c (ambiguous_decl): Don't print old value if it's
      	error_mark_node.
      	* decl.c (lookup_name_real): Fix handling of local types shadowed
      	by a non-type decl.  Remove obsolete code.
      	* cp-tree.h (DECL_FUNCTION_SCOPE_P): New macro.
      Fixes g++.other/lookup6.C
      	* lang-options.h: Add -fpermissive.
      	* decl2.c: Likewise.
      	* cp-tree.h: Add flag_permissive.
      	* decl.c (init_decl_processing): If neither -fpermissive or -pedantic
      	were specified, set flag_pedantic_errors.
      	* call.c (build_over_call): Turn dropped qualifier messages
      	back into pedwarns.
      	* cvt.c (convert_to_reference): Likewise.
      	* typeck.c (convert_for_assignment): Likewise.
      
      From-SVN: r24150
      Jason Merrill committed
  36. 04 Sep, 1998 1 commit
  37. 27 Jul, 1998 1 commit
  38. 24 Jul, 1998 1 commit
  39. 01 Apr, 1998 1 commit
  40. 27 Jan, 1998 1 commit
    • call.c (add_template_candidate_real): New function. · e1467ff2
      	* call.c (add_template_candidate_real): New function.
      	(add_template_candidate): Use it.
      	(add_template_conv_candidate): Likewise.
      	(joust): Pass extra argument to more_specialized.
      	* class.c (instantiate_type): Handle a single FUNCTION_DECL.
      	(is_local_class): Remove.
      	(finish_struct): Check TI_PENDING_SPECIALIZATION_FLAG.
      	* cp-tree.h (is_local_class): Remove.
      	(perform_array_to_pointer_conversion): Likewise.
      	(finish_member_template_decl): Add.
      	(check_explicit_specialization): Return a tree, not an int.
      	(more_specialized): Take additional argument.
      	(get_bindings): Likewise.
      	(TI_PENDING_SPECIALIZATION_FLAG): New macro.
      	* cvt.c (perform_qualification_conversions): Use comp_ptr_ttypes.
      	(perform_array_to_pointer_conversion): Remove.
      	* decl.c (saved_scope): Add processing_specialization,
      	processing_explicit_instantiation fields.
      	(maybe_push_to_top_level): Save them.
      	(pop_from_top_level): Restore them.
      	(grokfndecl): Use new return value from
      	check_explicit_specialization.
      	(start_decl): Don't check flag_guiding_decls before pushing
      	decls.
      	(cp_finish_decl): Remove previous (bogus) change.
      	(grok_declarator): Use decl_function_context rather than
      	is_local_class.
      	* decl2.c (finish_file): Pass extra argument to get_bindings.
      	(build_expr_from_tree): Let build_x_component_ref check
      	validity of arguments rather than doing it here.
      	* lex.c (cons_up_default_function): Remove code fooling with
      	processing_specialization, processing_explicit_instantiation
      	flags, as that is now done in {maybe_push_top,pop_from}_top_level.
      	* method.c (build_overload_identifier): Mangle local classes in
      	template functions correctly.
      	* parse.y (finish_member_template_decl): Move to pt.c.
      	* pt.c (finish_member_template_decl): Moved here from parse.y.
      	(print_candidates): New function.
      	(determine_specialization): Change interface.  Properly look for
      	most specialized versions of template candidates.
      	(check_explicit_specialization): Fully process explicit
      	instantiations.
      	(push_template_decl): Avoid looking at CLASSTYPE fields in
      	FUNCTION_DECLS.
      	(determine_overloaded_function): Remove.
      	(convert_nontype_argument): Change name from
      	convert_nontype_parameter.  Use determine_overloaded_function
      	instead of instantiate_type.
      	(mangle_class_name_for_template): Handle type contexts as well as
      	function contexts.
      	(classtype_mangled_name): Likewise.
      	(lookup_template_class): Likewise.
      	(tsubst): Likewise.
      	(more_specialized): Take explict template arguments as a
      	parameter.
      	(most_specialized): Likewise.
      	(get_bindings): Likewise.  Check that return types match before
      	proclaiming a function a match.
      	(do_decl_instantiation): Remove code searching for function to
      	instantiate; that is now done in check_explicit_specialization.
      	(add_maybe_template): Pass extra argument to get_bindings.
      	* tree.c (really_overloaded_fn): Use is_overloaded_fn to simplify
      	implementation.
      	* typeck.c (build_component_ref): Check for invalid arguments.
      
      From-SVN: r17512
      Mark Mitchell committed