1. 06 Oct, 2006 18 commits
  2. 05 Oct, 2006 9 commits
  3. 04 Oct, 2006 13 commits
    • gfortran.texi: Consistently refer to the compiler as "GNU Fortran". · 7fc15ba5
      2006-10-04  Brooks Moses  <bmoses@stanford.edu>
      
      	* gfortran.texi: Consistently refer to the compiler as "GNU
      	Fortran".
      	* intrinsic.texi: Ditto.
      	* invoke.texi: Ditto.
      
      From-SVN: r117442
      Brooks Moses committed
    • gcov.texi: Add formatting to "Invoking gcov" section head. · 4afc7adf
      2006-10-04  Brooks Moses  <bmoses@stanford.edu>
      
      	* doc/gcov.texi: Add formatting to "Invoking gcov" section head.
      
      From-SVN: r117441
      Brooks Moses committed
    • Makefile.in (libgcc.mk, [...]): Add emutls.c. · e701a32a
      gcc/
              * Makefile.in (libgcc.mk, LIBGCC_DEPS): Add emutls.c.
              * builtin-types.def (BT_WORD): Make unsigned.
              (BT_FN_VOID_PTR_WORD_WORD_PTR): New.
              * builtins.def (BUILT_IN_EMUTLS_GET_ADDRESS): New.
              (BUILT_IN_EMUTLS_REGISTER_COMMON): New.
              * c-decl.c (grokdeclarator): Don't error if !have_tls.
              * c-parser.c (c_parser_omp_threadprivate): Likewise.
              * cgraph.c (decide_is_variable_needed): Look at force_output.
              Recurse for emulated tls.
              * cgraphunit.c (cgraph_varpool_remove_unreferenced_decls): Remove
              checks redundant with decide_is_variable_needed.
              (cgraph_build_static_cdtor): Do cgraph_varpool_assemble_pending_decls.
              * dwarf2out.c (loc_descriptor_from_tree_1): Don't do anything for
              emulated tls.
              * expr.c (emutls_var_address): New.
              (expand_expr_real_1): Expand emulated tls.
              (expand_expr_addr_expr_1): Likewise.
              * libgcc-std.ver: Add __emutls_get_address, __emutls_register_common.
              * output.h (emutls_finish): Declare.
              * toplev.c (compile_file): Call it.
              * tree-ssa-address.c (gen_addr_rtx): Check for const-ness of the
              address before wrapping in CONST.
              * varasm.c (emutls_htab, emutls_object_type): New.
              (EMUTLS_VAR_PREFIX, EMUTLS_TMPL_PREFIX): New.
              (get_emutls_object_name, get_emutls_object_type): New.
              (get_emutls_init_templ_addr, emutls_decl): New.
              (emutls_common_1, emutls_finish): New.
              (assemble_variable): When emulating tls, swap decls; generate
              constructor for the emutls objects.
              (do_assemble_alias): When emulating tls, swap decl and target name.
              (default_encode_section_info): Don't add SYMBOL_FLAG_TLS_SHIFT
              for emulated tls.
              * emutls.c: New file.
              * config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): Only emit
              tls_object for real tls.
      
      gcc/cp/
              * decl.c (grokvardecl): Don't error if !have_tls.
              (grokdeclarator): Likewise.
              * parser.c (cp_parser_omp_threadprivate): Likewise.
      
      gcc/fortran/
              * f95-lang.c (gfc_init_builtin_functions): Add __emutls_get_address
              and __emutls_register_common.
              * openmp.c (gfc_match_omp_threadprivate): Don't error if !have_tls.
              * trans-common.c (build_common_decl): Don't check have_tls.
              * trans-decl.c (gfc_finish_var_decl): Likewise.
              * types.def (BT_WORD, BT_FN_PTR_PTR): New.
              (BT_FN_VOID_PTR_WORD_WORD_PTR): New.
      
      gcc/testsuite/
              * lib/target-supports.exp (check_effective_target_tls): Redefine
              to mean non-emulated tls.
              * gcc.dg/tls/alias-1.c: Remove tls requirement.
              * gcc.dg/tls/asm-1.c, gcc.dg/tls/debug-1.c, gcc.dg/tls/diag-1.c,
              gcc.dg/tls/diag-2.c, gcc.dg/tls/diag-3.c, gcc.dg/tls/diag-4.c,
              gcc.dg/tls/diag-5.c, gcc.dg/tls/init-1.c, gcc.dg/tls/nonpic-1.c,
              gcc.dg/tls/opt-10.c, gcc.dg/tls/opt-5.c, gcc.dg/tls/opt-6.c,
              gcc.dg/tls/opt-8.c, gcc.dg/tls/opt-9.c, gcc.dg/tls/pic-1.c,
              gcc.dg/tls/struct-1.c, gcc.dg/tls/trivial.c: Likewise.
      
      From-SVN: r117440
      Richard Henderson committed
    • MAINTAINERS (Write After Approval): Add myself. · 7d610414
      2006-10-04  Brooks Moses  <bmoses@stanford.edu>
      
      	* MAINTAINERS (Write After Approval): Add myself.
      
      From-SVN: r117437
      Brooks Moses committed
    • [multiple changes] · 25e8cb2e
      2006-10-04  Paul Thomas <pault@gcc.gnu.org>
      
      	PR fortran/29343
      	* resolve.c (resolve_allocate_expr): Exclude derived types from
      	search for dependences between allocated variables and the
      	specification expressions for other allocations in the same
      	statement.
      
      2006-10-04  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/29343
      	* gfortran.dg/alloc_alloc_expr_2.f90: New test.
      
      From-SVN: r117435
      Paul Thomas committed
    • Fix bug in constraint-check generator, reported by Rask Ingemann Lambertsen: · 9e826585
      	Fix bug in constraint-check generator, reported by Rask Ingemann
      	Lambertsen:
      	* genpreds.c (add_constraint): Don't remove anything from the
      	expression here.
      	(write_tm_constrs_h): Detect whether "op" argument is used, and
      	mark it ARG_UNUSED if it isn't.
      	(write_insn_const_int_ok_for_constraint): Skip the part of the
      	expression that would test whether "op" (which is not available
      	here) is a CONST_INT.
      
      From-SVN: r117433
      Zack Weinberg committed
    • * gfortran.dg/bounds_check_fail_1.f90: New test. · 2e38371e
      From-SVN: r117431
      Francois-Xavier Coudert committed
    • re PR c++/28448 (doc reference to -fdiagnostics-show-options looks like it… · 1576e2be
      re PR c++/28448 (doc reference to -fdiagnostics-show-options looks like it should be -fdiagnostics-show-option)
      
      2006-10-02  Ryan Mansfield  <rmansfield@qnx.com>
      
      	PR c++/28448
      	* doc/invoke.texi (fdiagnostics-show-option): Fix typos.
      
      From-SVN: r117429
      Ryan Mansfield committed
    • 2.cc: Fail on Darwin 8.[0-4].* only. · 58e93a26
      2006-10-04  Benjamin Kosnik  <bkoz@redhat.com>
      	    Mike Stump  <mrs@apple.com>
      	
      	* testsuite/27_io/ios_base/storage/2.cc: Fail on Darwin 8.[0-4].* only.
      	* testsuite/23_containers/vector/resize/1.cc: Same.
      
      
      Co-Authored-By: Mike Stump <mrs@apple.com>
      
      From-SVN: r117428
      Benjamin Kosnik committed
    • pop_test.hpp: Correct typo. · fc53a825
      2006-10-04  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* testsuite/util/performance/priority_queue/mem_usage/
      	pop_test.hpp: Correct typo.
      	* testsuite/util/performance/assoc/mem_usage/
      	multimap_insert_test.hpp: Same.
      	* testsuite/util/performance/assoc/mem_usage/erase_test.hpp: Same.
      
      From-SVN: r117427
      Benjamin Kosnik committed
    • re PR c++/29020 (ICE using A<N>::A instead of A<N> in friend declaration) · 1cd7d7bf
      	PR c++/29020
      	* friend.c (do_friend): Improve comments; add assertion.
      	* parser.c (cp_parser_nested_name_specifier_opt): Resolve
      	typenames for qualified names used in declarations, even when
      	caching qualified name lookup.
      	PR c++/29020
      	* g++.dg/template/friend48.C: New test.
      
      From-SVN: r117425
      Mark Mitchell committed
    • re PR fortran/29098 (allocation of a pointer to a derived type crashes) · 404d8401
      2006-10-04  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/29098
      	* resolve.c (resolve_structure_cons): Do not return FAILURE if
      	component expression is NULL.
      
      2006-10-04  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/29098
      	* gfortran.dg/default_initialization_2.f90: New test.
      
      From-SVN: r117424
      Paul Thomas committed
    • darwin-libgcc.10.5.ver: Update to symbol list for current Leopard versions. · ee1d3dc0
      	* config/i386/darwin-libgcc.10.5.ver: Update to symbol list for
      	current Leopard versions.
      	* config/rs6000/darwin-libgcc.10.5.ver: Likewise.
      
      From-SVN: r117423
      Geoffrey Keating committed