1. 07 Mar, 2008 1 commit
    • revert: re PR c++/35049 (g++.dg/conversion/simd3.C:12: error: invalid operands… · 96d84882
      revert: re PR c++/35049 (g++.dg/conversion/simd3.C:12: error: invalid operands to binary + (have 'float __vector__' and 'int __vector__'))
      
      cp:
      2008-03-07  Paolo Bonzini  <bonzini@gnu.org>
      
      	Revert:
      
      	2008-02-06  Douglas Gregor  <doug.gregor@gmail.com>
      
      	PR c++/35049
      	PR c++/35096
      	* typeck.c (structural_comptypes): Call cp_comptypes.
      	(comptypes): New; called from the C/C++ common bits to perform
      	strict checks.
      	(cp_comptypes): Renamed from comptypes, which is already used,
      	with a different signature, by the C++ front end.
      	(build_reinterpret_cast_1): Call cp_comptypes.
      	(ptr_reasonably_similar): Ditto.
      	* decl.c (decls_match): Ditto.
      	* cvt.c (convert_to_reference): Ditto.
      	* cp-tree.h (same_type_p): Ditto.
      	(same_or_base_type_p): Ditto.
      	(comptypes): Rename to cp_comptypes.
      	* pt.c (canonical_type_parameter): Call cp_comptypes.
      
      objcp:
      2008-03-07  Paolo Bonzini  <bonzini@gnu.org>
      
      	Revert:
      
      	2008-02-07  Andreas Tobler  <andreast-list@fgznet.ch>
      	            Douglas Gregor  <doug.gregor@gmail.com>
       
      	PR bootstrap/35115
      	* objcp-decl.c (objcp_comptypes): Call cp_comptypes, not comptypes.
      
      From-SVN: r133007
      Paolo Bonzini committed
  2. 07 Feb, 2008 1 commit
    • [multiple changes] · 083e9416
      2008-02-06  Douglas Gregor  <doug.gregor@gmail.com>
      
      	* g++.dg/ext/vector13.C: Fix for compilation under -pedantic.
      2008-02-07  Andreas Tobler  <andreast-list@fgznet.ch>
                  Douglas Gregor  <doug.gregor@gmail.com>
       
      	PR bootstrap/35115
      	* objcp-decl.c (objcp_comptypes): Call cp_comptypes, not comptypes.
      
      
      Co-Authored-By: Douglas Gregor <doug.gregor@gmail.com>
      
      From-SVN: r132173
      Andreas Tobler committed
  3. 06 Feb, 2008 1 commit
    • re PR other/35107 (GCC unnecessarily links shared libs with xgcc, gcov, cpp, jcf-dump, etc.) · 72fb133f
      2008-02-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
      
      	PR other/35107
      	* Makefile.in (LIBS): Remove $(GMPLIBS).
      	(cc1-dummy, cc1): Add $(GMPLIBS).
      
      ada:
      	PR other/35107
      	* Make-lang.in (gnat1): Add $(GMPLIBS).
      
      cp:
      	PR other/35107
      	* Make-lang.in (cc1plus-dummy, cc1plus): Add $(GMPLIBS).
      
      fortran:
      	PR other/35107
      	* Make-lang.in (f951): Add $(GMPLIBS).
      
      java:
      	PR other/35107
      	* Make-lang.in (jc1): Add $(GMPLIBS).
      
      objc:
      	PR other/35107
      	* Make-lang.in (cc1obj-dummy, cc1obj): Add $(GMPLIBS).
      
      objcp:
      	PR other/35107
      	* Make-lang.in (cc1objplus-dummy, cc1objplus): Add $(GMPLIBS).
      
      treelang:
      	PR other/35107
      	* Make-lang.in (tree1): Add $(GMPLIBS).
      
      From-SVN: r132160
      Kaveh R. Ghazi committed
  4. 02 Aug, 2007 1 commit
  5. 26 Mar, 2007 1 commit
    • gengtype.c: Don't include gtyp-gen.h. · 11a67599
      	* gengtype.c: Don't include gtyp-gen.h.
      	(srcdir): Declare here.
      	(base_files, lang_dir_names): Allocate dynamically.
      	(gt_files, num_gt_files, num_lang_dirs): New globals.
      	(measure_input_list, read_input_line, read_input_list)
      	(set_lang_bitmap): New functions.
      	(get_base_file_bitmap): Rename get_lang_bitmap and drastically
      	simplify, relying on read_input_list to set up the bitmaps.
      	(main): Arguments are no longer unused.  Check for correct number
      	of command line arguments, set srcdir and srcdir_len, then call
      	read_input_list, before doing anything else.  No need to worry
      	about duplicates in main loop.
      	* configure.ac: Simplify the calculation of all_gtfiles.
      	Put language tags in there.  Don't set or substitute
      	all_gtfiles_files_langs or all_gtfiles_files_frags.
      	* Makefile.in: Revamp the way gengtype is invoked, now that it
      	takes a file on its command line with a much simpler format.
      	Remove or replace with gtyp-input.list all references to gtyp-gen.h.
      	(GTFILES): Remove duplicates and C source files.
      	* c-config-lang.in, cp/config-lang.in, objc/config-lang.in
      	* objcp/config-lang.in: Add c-pragma.h to gtfiles.
      	* configure: Regenerate.
      
      From-SVN: r123234
      Zack Weinberg committed
  6. 02 Mar, 2007 1 commit
  7. 11 Jan, 2007 1 commit
    • configure.ac (strict1_warn): Rename to strict_warn. · 8b1f719a
      2007-01-11  Paolo Bonzini  <bonzini@gnu.org>
      
      	* configure.ac (strict1_warn): Rename to strict_warn.
      	(WERROR, --enable-werror, symlink hacks, stage1_cflags,
      	cc_set_by_configure, quoted_cc_set_by_configure,
      	stage_prefix_set_by_configure, quoted_stage_prefix_set_by_configure,
      	all_boot_languages, all_stagestuff): Remove.
      	(target_list): Remove bootstrap targets.
      	* Makefile.in (quickstrap): Unconditionally make a synonym of all.
      	(BOOT_LANGUAGES, STAGE1_CFLAGS, STAGE1_CHECKING,
      	REMAKEFLAGS, FLAGS_TO_PASS, PREPEND_DOTDOT_TO_RELATIVE_PATHS,
      	SUBDIR_FLAGS_TO_PASS, WERROR_FLAGS, STRICT2_WARN, LANG_STAGESTUFF,
      	VOL_FILES, POSTSTAGE1_FLAGS_TO_PASS, STAGE2_FLAGS_TO_PASS,
      	STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS, stage1_build,
      	stage1_copy, stage2_build, stage2_copy, stageprofile_build,
      	stageprofile_copy, stage3_build, stage3_copy, stagefeedback_build,
      	stagefeedback_copy, stage4_build, clean_s1, clean_sw, bootstrap,
      	bootstrap-lean, bootstrap2, bootstrap2-lean, bootstrap3,
      	bootstrap3-lean, bootstrap4, bootstrap4-lean, unstage1, unstage2,
      	unstage3, unstage4, unstageprofile, unstagefeedback, restage, restage2,
      	restage3, restage4, restageprofile, restagefeedback, bubbleestrap,
      	cleanstrap, unstrap, restrap, *compare, *compare3, *compare4,
      	*compare-lean, *compare3-lean, *compare4-lean, stage1-start, stage1,
      	stage2-start, stage2, stage3-start, stage3, stage4-start, stage4,
      	stageprofile-start, stageprofile, stagefeedback-start, stagefeedback,
      	risky-stage1, risky-stage2, risky-stage3, risky-stage4): Remove.
      	(ORDINARY_FLAGS_TO_PASS): Rename to FLAGS_TO_PASS.
      	(STAGECOPYSTUFF, STAGEMOVESTUFF): Consolidate into MOSTLYCLEANFILES.
      	(mostlyclean): Adjust.
      	(clean, distclean): Don't mention bootstrap stuff.
      	* configure: Regenerate.
      	* ada/config-lang.in, cp/config-lang.in, forttran/config-lang.in,
      	java/config-lang.in, objc/config-lang.in, objcp/config-lang.in,
      	treelang/config-lang.in (stagestuff): Remove.
      	* doc/sourcebuild.texi (stage1, stage2, stage3, stage4,
      	stageprofile, stagefeedback, stagestuff): Remove mention.
      
      From-SVN: r120670
      Paolo Bonzini committed
  8. 23 Oct, 2006 1 commit
    • decl.c: Include langhooks.h. · c79efc4d
             * gcc/java/decl.c: Include langhooks.h.
             (builtin_function): Remove.
             (java_init_decl_processing): Replace calls to builtin_function
             with add_builtin_function.
      
             * gcc/java/Make-lang.in (jc1$(exeext)): Depend on and link with
             attribs.o.
             (java/decl.o): Depend on langhooks.h.
      
             * gcc/java/java-tree.h (builtin_function): Remove.
      
             * gcc/tree.c (local_define_builtin): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/objc/objc-act.c (synth_module_prologue): Replace calls to
             builtin_function with add_builtin_function.
             (build_next_objc_exception_stuff): Replace calls to
             builtin_function with add_builtin_function.
             (build_objc_exception_stuff): Replace calls to
             builtin_function with add_builtin_function.
      
             * gcc/objcp/objcp-decl.h (objcp_builtin_function): Remove.
      
             * gcc/cp/decl.c (builtin_function_1): Move common code to
             add_builtin_function.
             (builtin_function): Rename to cxx_builtin_function.
             Change the signature.
      
             * gcc/cp/call.c: Include langhooks.h.
             (build_java_interface_fn_ref):  Replace calls to
             builtin_function with add_builtin_function.
      
             * gcc/cp/Make-lang.in (cp/call.o): Depend on langhooks.h.
      
             * gcc/cp/cp-objcp-common.h (LANG_HOOKS_BUILTIN_FUNCTION): Define as
             cxx_builtin_function.
      
             * gcc/cp/cp-tree.h (builtin_function): Rename to cxx_builtin_function.
             Change the signature.
      
             * gcc/c-objc-common.h (LANG_HOOKS_BUILTIN_FUNCTION): Define as
             c_builtin_function.
      
             * gcc/c-tree.h (builtin_function): Rename to c_builtin_function. Change
             the signature.
      
             * gcc/ada/utils.c (builtin_function): Rename to gnat_builtin_function.
             Move common code to add_builtin_function.
      
             * gcc/ada/misc.c (LANG_HOOKS_BUILTIN_FUNCTION): Define as
             gnat_builtin_function.
      
             * gcc/ada/gigi.h (builtin_function): Rename to gnat_builtin_function.
             Change the signature.
      
             * gcc/c-decl.c (builtin_function): Rename to c_builtin_function. Move
             common code to add_builtin_function.
      
             * gcc/fortran/Make-lang.in (f951$(exeext)): Depend on and link with
             attribs.o.
      
             * gcc/fortran/trans.h (builtin_function): Rename to
             gfc_builtin_function. Change the signature.
      
             * gcc/fortran/f95-lang.c (LANG_HOOKS_BUILTIN_FUNCTION): Define as
             gfc_builtin_function.
             (builtin_function): Rename to gfc_builtin_function. Move common
             code to builtin_function.
             (gfc_define_builtin): Replace calls to builtin_function with
             gfc_define_builtin.
      
             * gcc/langhooks.c (add_builtin_function): New function.
             (lhd_builtin_function): New function.
      
             * gcc/langhooks.h (struct lang_hooks): Change the signature of
             builtin_function.
             (add_builtin_function): New function.
      
             * gcc/treelang/treetree.c (builtin_function): Remove.
      
             * gcc/tree-ssa-loop-prefetch.c (tree_ssa_prefetch_arrays): Replace
             calls to lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/c-common.c (decl_builtin_1): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/config/alpha/alpha.c (alpha_init_builtins): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/config/frv/frv.c (def_builtin): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/config/s390/s390.c (s390_init_builtins): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/config/sparc/sparc.c (def_builtin): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/config/i386/i386.c (def_builtin): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
             (def_builtin): Replace calls to lang_hooks.builtin_function with
             add_builtin_function.
      
             * gcc/config/sh/sh.c (sh_media_init_builtins): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/config/c4x/c4x.c (c4x_init_builtins): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/config/stormy16/stormy16.c (xstormy16_init_builtins):
             Replace calls to lang_hooks.builtin_function with
             add_builtin_function.
      
             * gcc/config/iq2000/iq2000.c (def_builtin):
             Replace calls to lang_hooks.builtin_function with
             add_builtin_function.
      
             * gcc/config/ia64/ia64.c (def_builtin): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/config/rs6000/rs6000.c (def_builtin): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
             (altivec_init_builtins): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/config/arm/arm.c (def_mbuiltin): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
             (arm_init_tls_builtins): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/config/mips/mips.c (mips_init_builtins): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/config/bfin/bfin.c (def_builtin): Replace calls to
             lang_hooks.builtin_function with add_builtin_function.
      
             * gcc/langhooks-def.h (lhd_builtin_function): New function.
             (LANG_HOOKS_BUILTIN_FUNCTION): Define as lhd_builtin_function.
      
      From-SVN: r117981
      Rafael Ávila de Espíndola committed
  9. 10 Oct, 2006 1 commit
    • --(top level)-------------------------------------------- · b5422ad7
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Makefile.def: Added pdf target handling.
      	* Makefile.tpl: Added pdf target handling.
      	* Makefile.in: Regenerated.
      
      ---fixincludes--------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Makefile.in: Added empty "pdf" target.
      
      ---gcc----------------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* configure.ac: Added pdf to "Make-hooks"
      	* Makefile.in: Added TEXI2PDF definition, and various pdf-file
      	targets and *.pdf file patterns in cleanup targets.
      	* configure: Regenerated.
      
      ---gcc/cp-------------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Make-lang.in: Added "c++.pdf" target support.
      
      ---gcc/fortran--------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Make-lang.in: Added "fortran.pdf", "gfortran.pdf" target
      	support.
      
      ---gcc/java-----------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Make-lang.in: Added "java.pdf", "gcj.pdf" target support.
      
      ---gcc/objc-----------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Make-lang.in: Added empty "objc.pdf" target.
      
      ---gcc/objcp----------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Make-lang.in: Added empty "obj-c++.pdf" target.
      
      ---gcc/treelang-------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Make-lang.in: Added "treelang.pdf" target support.
      
      ---gnattools----------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Makefile.in: Added empty "pdf" target.
      
      ---libcpp-------------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Makefile.in: Added empty "pdf" target.
      
      ---libdecnumber-------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Makefile.in: Added empty "pdf" target.
      
      ---libiberty----------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Makefile.in: Added "pdf", "libiberty.pdf" target support.
      	* testsuite/Makefile.in: Added empty "pdf" target.
      
      ---libobjc------------------------------------------------
      
      2006-10-10  Brooks Moses  <bmoses@stanford.edu>
      
      	* Makefile.in: Added empty "pdf" target.
      
      From-SVN: r117618
      Brooks Moses committed
  10. 20 Aug, 2006 1 commit
    • re PR c++/28341 (ICE with references as template parameters) · 015c2c66
      	PR c++/28341
      	* tree.c (cast_valid_in_integral_constant_expression_p): New
      	function.
      	* cp-tree.h (tsubst_copy_and_build): Adjust prototype.
      	* pt.c (tsubst_expr): Add integral_constant_expression_p
      	parameter.
      	(fold_non_dependent_expr): Adjust callers of
      	tsubst_{expr,copy_and_build}.
      	(tsubst_friend_function): Likewise.
      	(tsubst_template_arg): Likewise.
      	(tsubst_default_argument): Likewise.
      	(tsubst_decl): Likewise.
      	(tsubst): Likewise.
      	(tsubst_omp_clasuses): Likewise.
      	(regenerate_decl_fromp_template): Likewise.
      	(instantiate_decl): Likewise.
      	(tsubst_initializer_list): Likewise.
      	(tsubst_enum): Likewise.
      	(tsubst_expr): Use RECUR throughout.
      	(tsubst_copy_and_build): Change definition of RECUR.  Do not allow
      	invalid casts in integral constant expressions.
      	* parser.c (cp_parser_postfix_expression): Use
      	cast_valid_in_integral_constant_expression_p.
      	(cp_parser_cast_expression): Likewise.
      	(cp_parser_functional_cast): Likewise.
      
      	PR c++/28346
      	* pt.c (tsubst_qualified_id): Do not strip references from
      	OFFSET_REFs. 
      
      2006-08-20  Mark Mitchell  <mark@codesourcery.com>
      
      	PR c++/28341
      	* g++.dg/template/ref3.C: New test.
      	* g++.dg/template/nontype13.C: New test.
      
      	PR c++/28346
      	* g++.dg/template/ptrmem17.C: New test.
      
      
      2006-08-20  Mark Mitchell  <mark@codesourcery.com>
      
      	* objcp-lang.c (objcp_tsubst_copy_and_build): Adjust call to
      	tsubst_copy_and_build.
      
      From-SVN: r116276
      Mark Mitchell committed
  11. 28 Jul, 2006 1 commit
  12. 03 Jul, 2006 1 commit
    • re PR other/27063 (Fail to build gcc-core-4.2 snapshots) · 1546bb64
      2006-07-03  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR other/27063
      	* configure.in: Test subdir_requires and give an appropriate
      	error message.
      	* configure: Regenerate
      
      gcc:
      2006-07-03  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR other/27063
      	* configure.ac (for lang...): Simplify nesting of conditionals.
      	Test subdir_requires for non-enabled languages.  Move processing
      	of lang_opt_files and lang_tree_fiels below that test.
      	* configure: Regenerate.
      	* doc/sourcebuild.texi (Front End Config): Document subdir_requires.
      
      gcc/objcp:
      2006-07-03  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR other/27063
      	* config-lang.in: Add subdir_requires.
      
      From-SVN: r115145
      Paolo Bonzini committed
  13. 30 Jun, 2006 1 commit
  14. 15 May, 2006 1 commit
    • Make-lang.in (ada/decl.o): Replace target.h with $(TARGET_H). · 05b44921
      gcc/ada/
      
      2006-05-14  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* Make-lang.in (ada/decl.o): Replace target.h with $(TARGET_H).
      	(ada/misc.o): Likewise.
      	(ada/utils.o): Likewise.
      
      gcc/cp/
      
      2006-05-14  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* Make-lang.in (cp/decl.o): Add dependency on $(TARGET_H).
      	(cp/decl2.o): Likewise.
      	(cp/typeck.o): Likewise.
      	(cp/cvt.o): Likewise.
      	(cp/parser.o): Likewise.
      	(cp/call.o): Replace target.h with $(TARGET_H).
      
      gcc/fortran/
      
      2006-05-14  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* Make-lang.in (fortran/options.o): Depend on $(TARGET_H).
      
      gcc/java/
      
      2006-05-14  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* Make-lang.in (java/decl.o): Add dependency on $(TARGET_H).
      	(java/expr.o): Replace target.h with $(TARGET_H).
      	(java/parse.o): Likewise.
      
      gcc/objcp/
      
      2006-05-14  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* Make-lang.in (objcp/objcp-decl.o): Add dependency on
      	$(TARGET_H).
      
      gcc/treelang/
      
      2006-05-14  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* Make-lang.in (treelang/treetree.o): Add dependency on
      	$(TARGET_H).
      
      From-SVN: r113773
      H.J. Lu committed
  15. 08 Mar, 2006 1 commit
  16. 20 Feb, 2006 2 commits
    • Make-lang.in (OBJC): Remove · 9d29a5b7
                    * gcc/objc/Make-lang.in (OBJC): Remove
                    (OBJECTIVE-C): Remove
                    (objective-c): Remove
                    (.PHONY): Remove objective-c and ObjC
                    * gcc/objcp/Make-lang.in (OBJ-C++): Remove
                    (.PHONY): Remove Obj-c++ and obj-C++. Add obj-c++
                    * gcc/cp/Make-lang.in (C++): Remove
                    (.PHONY): Remove C++
                    * gcc/ada/Make-lang.in (Ada): Remove
                    (.PHONY): Remove Ada
                    * gcc/fortran/Make-lang.in (FORTRAN): Remove
                    (.PHONY): Remove F95 and f95. Add fortran
                    * gcc/treelang/Make-lang.in (.phony): Remove TREELANG
                    (TREELANG): Remove
                    * gcc/Makefile.in (C): Remove
                    (PROTO): Remove
                    (.PHONY): Remove C and PROTO
      
      From-SVN: r111307
      Rafael Espindola committed
    • configure.ac (target_list): Add install-info, dvi, html. · b2d7fd7b
      2006-02-20  Paolo Bonzini  <bonzini@gnu.org>
      
      	* configure.ac (target_list): Add install-info, dvi, html.
      	* configure: Regenerate.
      
      	* ada/Make-lang.in, cp/Make-lang.in, fortran/Make-lang.in,
      	java/Make-lang.in, objc/Make-lang.in, objcp/Make-lang.in,
      	treelang/Make-lang.in: Do not use double-colon rules.
      
      From-SVN: r111304
      Paolo Bonzini committed
  17. 14 Dec, 2005 1 commit
  18. 07 Dec, 2005 2 commits
    • sourcebuild.texi (all.build, [...]): Remove. · bd97af06
      gcc/
      	* doc/sourcebuild.texi (all.build, install-normal): Remove.
      	* configure.ac: Remove all.build and install-normal from target_list
      	* configure: Regenerate.
      	* Makefile.in (install): Don't depend on install-normal.
      gcc/java/
      	* Make-lang.in (java.all.build, java.install-normal): Remove.
      gcc/objc/
      	* Make-lang.in (objc.all.build, objc.install-normal): Remove.
      gcc/objcp/
      	* Make-lang.in (obj-c++.all.build, obj-c++.install-normal): Remove.
      gcc/cp/
      	* Make-lang.in (c++.all.build, c++.install-normal): Remove.
      gcc/ada/
      	* Make-lang.in (ada.install-normal): Remove.
      gcc/fortran/
      	* Make-lang.in (fortran.all.build, fortran.install-normal): Remove.
      gcc/treelang/
      	* Make-lang.in (treelang.all.build, treelang.install-normal): Remove.
      
      From-SVN: r108158
      Rafael Ávila de Espíndola committed
    • gty.texi: Remove instructions for adding a dependency on s-gtype. · 2f4d2d18
      gcc/
      	* doc/gty.texi: Remove instructions for adding a dependency on s-gtype.
      	* Makefile.in: Add code to compute some dependencies on s-gtype
      	automatically.  Remove the declaration of those dependencies.
      gcc/java/
      	* Make-lang.in: Remove all dependencies on s-gtype, except for
      	gt-java-parse.h.
      gcc/objc/
      	* Make-lang.in: Remove all dependencies on s-gtype.
      gcc/objcp/
      	* Make-lang.in: Remove all dependencies on s-gtype.
      gcc/cp/
      	* Make-lang.in: Remove all dependencies on s-gtype.
      gcc/ada/
      	* Make-lang.in: Remove all dependencies on s-gtype.
      gcc/fortran/
      	* Make-lang.in: Remove all dependencies on s-gtype, except for
      	gt-fortran-trans.h.
      gcc/treelang/
      	* Make-lang.in: Remove all dependencies on s-gtype.
      
      From-SVN: r108155
      Alan Modra committed
  19. 22 Nov, 2005 1 commit
  20. 12 Sep, 2005 1 commit
  21. 09 Jul, 2005 1 commit
    • cp-lang.c (shadowed_var_for_decl, [...]): Move over to cp-objcp-common.c. · 3ed8593d
      2005-07-09  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * cp-lang.c (shadowed_var_for_decl, decl_shadowed_for_var_lookup,
              decl_shadowed_for_var_insert): Move over to cp-objcp-common.c.
              (cp_init_ts): Call init_shadowed_var_for_decl.
              Remove include of gt-cp-cp-lang.h.
              * cp-objcp-common.c (shadowed_var_for_decl,
              decl_shadowed_for_var_lookup, decl_shadowed_for_var_insert): Moved from
              cp-lang.c.
              (init_shadowed_var_for_decl): New function to initialize
              shadowed_var_for_decl.
              Include gt-cp-cp-objcp-common.h.
              * Make-lang.in (gt-cp-lang.h): Remove.
              (gt-cp-cp-objcp-common.h): Add.
              (cp/cp-lang.o): Remove dependancy on gt-cp-lang.h.
              (cp/cp-objcp-common.o): Add dependancy on gt-cp-cp-objcp-common.h.
              * config-lang.in (gtfiles): Remove cp-lang.c and Add cp-objcp-common.c.
              * cp-tree (init_shadowed_var_for_decl): Add prototype.
      
      2005-07-09  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * config-lang.in (gtfiles): Add cp-objcp-common.c.
              * objcp-lang.c (objcxx_init_ts): New function.
              (LANG_HOOKS_INIT_TS): Define.
      
      From-SVN: r101830
      Andrew Pinski committed
  22. 03 Jul, 2005 1 commit
  23. 30 Jun, 2005 1 commit
    • pretty-print.h (PP_NL_ARGMAX): New. · 39ce81c9
      gcc:
      	* pretty-print.h (PP_NL_ARGMAX): New.
      	(text_info): Add locus.
      	(struct chunk_info): New.
      	(output_buffer): Add formatted_obstack, chunk_obstack, and
      	cur_chunk_array. Change obstack to a pointer.
      	(pp_wrapping_mode_t, pp_wrapping_mode, pp_set_verbatim_wrapping): New.
      	(struct pretty_print_info): Replace ideal_maximum_length and
      	prefixing_rule with wrapping.
      	(pp_line_cutoff, pp_prefixing_rule): Update to match.
      	Update prototypes and wrapper macros throughout.
      	* pretty-print.c (pp_formatted_text_data, pp_append_r)
      	(pp_base_clear_output_area, pp_construct, pp_base_formatted_text)
      	(pp_base_last_position_in_text, pp_base_newline, pp_base_character):
      	Update for changes to pp structure.
      	(pp_base_prepare_to_format, pp_base_format_text): Delete.
      	(pp_base_format, pp_base_output_formatted_text): New functions.
      	(pp_base_format_verbatim): Use pp_set_verbatim_wrapping.
      	(pp_verbatim): Clear text.locus.
      	(pp_printf): Likewise.  Use pp_format and pp_output_formatted_text.
      	* c-objc-common.c (c_tree_printer): Update function signature.
      	* diagnostic.c (diagnostic_initialize): Update for changes to
      	pp structure.
      	(diagnostic_report_diagnostic): Call pp_format and then
      	pp_output_formatted_text.
      	(verbatim): Clear text.locus.
      	* diagnostic.h (diagnostic_prefixing_rule, diagnostic_line_cutoff):
      	Update for changes to pp structure.
      
      	* c-lang.c: No need to include c-pretty-print.h.
      	* Makefile.in: Remove bogus line containing only a tab.
      	(c-lang.o): Update dependencies.
      	* toplev.c (announce_function): Don't use verbatim.
      	(default_tree_printer): Update signature.
      
      	* objc/objc-lang.c: No need to include c-pretty-print.h.
      	* objc/Make-lang.in: Update dependencies.
      
      gcc/cp:
      	* cp-lang.c: No need to include cxx-pretty-print.h.
      	* error.c (cp_printer): Update signature.  No need to process
      	flags.
      	(print_instantiation_partial_context): Output last newline
      	with pp_base_newline.
      	* Make-lang.in: Update dependencies.
      
      gcc/objcp:
      	* objcp-lang.c: No need to include cxx-pretty-print.h.
      	* Make-lang.in: Update dependencies.
      
      Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
      
      From-SVN: r101481
      Zack Weinberg committed
  24. 25 Jun, 2005 1 commit
  25. 21 Jun, 2005 1 commit
  26. 24 May, 2005 1 commit
  27. 20 May, 2005 1 commit
  28. 18 May, 2005 1 commit
    • dummy-checksum.c: New. · 3fd30b88
      2005-05-18  Geoffrey Keating  <geoffk@apple.com>
      
      	* dummy-checksum.c: New.
      	* genchecksum.c: New.
      	* c.opt (print_pch_checksum): New flag.
      	* c-pch.c (struct c_pch_validity): Make much shorter.
      	(no_checksum): New.
      	(host_machine): Remove.
      	(target_machine): Remove.
      	(get_ident): Change PCH version number.
      	(pch_init): When -fverbose-asm, print out the compiler fingerprint.
      	Don't put triplets or version string in PCH validity data.
      	Do put the compiler checksum in the validity data.
      	(c_common_valid_pch): Don't check triplets or version string.  Do
      	check checksum.
      	(c_common_print_pch_checksum): New.
      	* c-opts.c (c_common_handle_option): Add OPT_print_pch_checksum.
      	Print fingerprint with -v.
      	* c-common.h (c_common_print_pch_checksum): New.
      	(executable_checksum): New.
      	* Makefile.in (STAGEMOVESTUFF): Add cc1*-dummy, *-checksum.c.
      	(cc1-dummy): New rule.
      	(cc1-checksum.c): New rule.
      	(cc1-checksum.o): New rule.
      	(cc1): Add checksum support.
      	(build/genchecksum): New.
      	(build/genchecksum.o): New.
      	(dummy-checksum.o): New.
      	(genobjnames): Add genchecksum.o.
      	(mostlyclean): Remove *-checksum.c.
      	(gnucompare): Add libgcc to list of directories checked.
      	Make comparison problems in libgcc/ and with checksum files only
      	be warnings.
      	* doc/invoke.texi (Precompiled Headers): Remove caution.
      	Document that it must be the exact same binary.  Add a few
      	known-safe flags to the list.
      
      In cp/:
      2005-05-18  Geoffrey Keating  <geoffk@apple.com>
      
      	* Make-lang.in (cc1plus-dummy): New.
      	(cc1plus-checksum.c): New.
      	(cc1plus-checksum.o): New.
      	(cc1plus): Add cc1plus-checksum.o.
      
      In objc/:
      2005-05-18  Geoffrey Keating  <geoffk@apple.com>
      
      	* Make-lang.in (cc1obj-dummy): New.
      	(cc1obj-checksum.c): New.
      	(cc1obj-checksum.o): New.
      	(cc1obj): Add cc1obj-checksum.o.
      
      In objcp/:
      2005-05-18  Geoffrey Keating  <geoffk@apple.com>
      
      	* Make-lang.in (cc1objplus-dummy): New.
      	(cc1objplus-checksum.c): New.
      	(cc1objplus-checksum.o): New.
      	(cc1objplus): Add cc1objplus-checksum.o.
      
      From-SVN: r99928
      Geoffrey Keating committed
  29. 17 May, 2005 1 commit
  30. 21 Apr, 2005 1 commit
    • ChangeLog: New. · b2e61dde
              * ChangeLog: New.
              * Make-lang.in: Likewise.
              * config-lang.in: Likewise.
              * lang-specs.h: Likewise.
              * objcp-decl.c: Likewise.
              * objcp-decl.h: Likewise.
              * objcp-lang.c: Likewise.
      
      From-SVN: r98530
      Mike Stump committed