1. 06 Oct, 2008 6 commits
  2. 05 Oct, 2008 8 commits
    • re PR debug/37410 (DW_TAG_imported_module is not in its DW_TAG_lexical_block) · d19c0f4b
      2008-09-30  Dodji Seketeli  <dodji@redhat.com>
      gcc/ChangeLog:
      
      	PR c++/37410
      	* dwarf2out.c (dwarf2out_imported_module_or_decl): Split this
      	  function in two, making it call a new and reusable
      	  dwarf2out_imported_module_or_decl() that takes the containing
      	  BLOCK of the declaration in argument.
      	  (dwarf2out_imported_module_or_decl_real): New function.
      	  (decls_for_scope, gen_decl_die, dwarf2out_decl): Take
      	  IMPORTED_DECL in account.
      	* tree.def: Added IMPORTED_DECL node type.
      	* tree.h: Added accessors for IMPORTED_DECL nodes.
      	* tree.c (init_ttree): Initialise IMPORTED_DECL node type.
      
      gcc/cp/ChangeLog:
      
      	PR c++/37410
      	* cp-gimplify.c (cp_gimplify_expr): For each USING_STMT
      	  make sure an IMPORTED_DECL node is added to the BLOCK_VARS list
      	  of the innermost containing BLOCK.
      
      gcc/testsuite/ChangeLog:
      
      	PR c++/37410
      	* g++.dg/debug/dwarf2/imported-module.C: New test.
      
      From-SVN: r140895
      Dodji Seketeli committed
    • re PR fortran/35680 (ICE on invalid transfer in variable declaration) · ebb479cd
      2008-10-05  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/35680
      	* gfortran.h : Add 'error' bit field to gfc_expr structure.
      	* expr.c (check_inquiry): When checking a restricted expression
      	check that arguments are either variables or restricted.
      	(check_restricted): Do not emit error if the expression has
      	'error' set.  Clean up detection of host-associated variable.
      
      2008-10-05  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/35680
      	* gfortran.dg/transfer_array_intrinsic_5.f90: New test.
      
      From-SVN: r140892
      Paul Thomas committed
    • gimple.texi: Fix some typos, wrap some long lines, fix some broken wraps with continuations. · 1d72ff1a
      gcc/
      	* doc/gimple.texi: Fix some typos, wrap some long lines,
      	fix some broken wraps with continuations.
      	* tree-ssa-reassoc.c: Fix comment typos.
      
      From-SVN: r140887
      Ralf Wildenhues committed
    • cpplib.h (cpp_comments, [...]): New structs. · 631d0d36
      2008-10-05  Matthew Gingell  <gingell@adacore.com>
      	    Arnaud Charlet  <charlet@adacore.com>
      
      	* include/cpplib.h (cpp_comments, cpp_comment_table): New structs.
      	(cpp_get_comments): New function.
      	* internal.h (struct cpp_reader): Add comments field.
      	* init.c (cpp_destroy): Free comments.
      	* lex.c (store_comment, cpp_get_comments): New functions.
      	(comments): New struct.
      	(save_comment): Store comments in comments struct.
      
      Co-Authored-By: Arnaud Charlet <charlet@adacore.com>
      
      From-SVN: r140883
      Matthew Gingell committed
    • invoke.cc: New. · 7a90b0ca
      2008-10-05  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/20_util/reference_wrapper/invoke.cc: New.
      	* testsuite/20_util/reference_wrapper/24803.cc: Likewise.
      	* testsuite/20_util/reference_wrapper/typedefs.cc: Likewise.
      
      From-SVN: r140882
      Paolo Carlini committed
    • re PR fortran/37638 (ICE in update_arglist_pass) · b82657f4
      2008-10-05  Daniel Kraft  <d@domob.eu>
      
      	PR fortran/37638
      	* gfortran.h (struct gfc_typebound_proc): New flag `error'.
      	* resolve.c (update_arglist_pass): Added assertion.
      	(update_compcall_arglist): Fail early for erraneous procedures to avoid
      	confusion later.
      	(resolve_typebound_generic_call): Ignore erraneous specific targets
      	and added assertions.
      	(resolve_typebound_procedure): Set new `error' flag.
      
      2008-10-05  Daniel Kraft  <d@domob.eu>
      
      	PR fortran/37638
      	* gfortran.dg/typebound_call_9.f03: New test.
      
      From-SVN: r140880
      Daniel Kraft committed
    • re PR fortran/37706 (ICE with use only and equivalent) · ee9ef103
      2008-10-04  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/37706
      	* module.c (load_equiv): Check the module before negating the
      	unused flag.
      
      2008-10-04  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/37706
      	* gfortran.dg/module_equivalence_4.f90: New test.
      
      From-SVN: r140879
      Paul Thomas committed
    • Daily bump. · 7f23df4e
      From-SVN: r140877
      GCC Administrator committed
  3. 04 Oct, 2008 5 commits
  4. 03 Oct, 2008 9 commits
  5. 02 Oct, 2008 9 commits
  6. 01 Oct, 2008 3 commits
    • c_locale.cc (__convert_to_v): Fix !__FLT_HAS_INFINITY__ case. · ffecec4d
      2008-10-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              * config/locale/generic/c_locale.cc (__convert_to_v): Fix
              !__FLT_HAS_INFINITY__ case.
      
      From-SVN: r140823
      Andrew Pinski committed
    • tuple (tuple<>::swap): Implement swap for tuple as per DR 522 [Ready]. · 3e93b275
      2008-09-30  Chris Fairles  <cfairles@gcc.gnu.org>
      
              * include/std/tuple (tuple<>::swap): Implement swap for tuple as per
              DR 522 [Ready].
              * testsuite/20_util/tuple/swap.cc: New.
      
      From-SVN: r140822
      Chris Fairles committed
    • rs6000-c.c (altivec_resolve_overloaded_builtin): Handle ALTIVEC_BUILTIN_VEC_SPLATS... · 266b4890
      2008-10-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
              Handle ALTIVEC_BUILTIN_VEC_SPLATS, ALTIVEC_BUILTIN_VEC_PROMOTE,
              ALTIVEC_BUILTIN_VEC_EXTRACT, and ALTIVEC_BUILTIN_VEC_INSERT specially,
              they translate to non builtins.
              * config/rs6000/rs6000.c (altivec_init_builtins): Add new variable
              opaque_ftype_opaque.  Define builtins __builtin_vec_splats,
              __builtin_vec_promote, __builtin_vec_extract, and
              __builtin_vec_insert.
              * config/rs6000/rs6000.h (enum rs6000_builtins): Add
              ALTIVEC_BUILTIN_VEC_EXTRACT, ALTIVEC_BUILTIN_VEC_PROMOTE,
              ALTIVEC_BUILTIN_VEC_INSERT, and ALTIVEC_BUILTIN_VEC_SPLATS.
              * config/rs6000/altivec.h (vec_extract): Define
              (vec_insert): Define.
              (vec_splats): Define.
              (vec_promote): Define.
      
      2008-10-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              * gcc.target/powerpc/altivec-cell-1.c: New test.
              * gcc.target/powerpc/altivec-cell-2.c: New test.
              * gcc.target/powerpc/altivec-cell-3.c: New test.
              * gcc.target/powerpc/altivec-cell-4.c: New test.
              * gcc.target/powerpc/altivec-cell-5.c: New test.
              * g++.dg/ext/altivec-cell-1.C: New test.
              * g++.dg/ext/altivec-cell-2.C: New test.
              * g++.dg/ext/altivec-cell-3.C: New test.
              * g++.dg/ext/altivec-cell-4.C: New test.
              * g++.dg/ext/altivec-cell-5.C: New test.
      
      2008-10-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              * tree.c (lvalue_p_1): COMPOUND_LITERAL_EXPR is also an lvalue.
      
      From-SVN: r140821
      Andrew Pinski committed