1. 23 Feb, 2010 7 commits
  2. 22 Feb, 2010 21 commits
  3. 21 Feb, 2010 8 commits
    • re PR c++/23510 (skip some instantation contexts if there are too many) · f89b94d9
      2010-02-21  Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      	PR c++/23510
      cp/
      	* error.c (print_instantiation_partial_context_line): New.
      	(print_instantiation_partial_context): Print at most 12 contexts,
      	skip the rest with a message.
      testsuite/
      	* g++.dg/template/recurse.C: Adjust.
      	* g++.dg/template/pr23510.C: New.
      
      From-SVN: r156942
      Manuel López-Ibáñez committed
    • complex (proj): Change return type per DR 1137. · 681f05d4
      2010-02-21  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/std/complex (proj): Change return type per DR 1137.
      	(conj): Copy from tr1_impl, likewise adjust return type.
      	* include/tr1_impl/complex (conj): Remove.
      	* include/tr1/complex (conj): Add both overloads.
      	* testsuite/26_numerics/complex/dr781.cc: Rename to...
      	* testsuite/26_numerics/complex/dr781_dr1137.cc: ... this, and extend.
      
      	* include/tr1_impl/complex (arg): Optimize.
      
      From-SVN: r156940
      Paolo Carlini committed
    • re PR c++/42824 (c++ compilation complains about error: call of overloaded) · 04afbf1c
      Fix PR c++/42824
      
      gcc/cp/ChangeLog:
      	PR c++/42824
      	* pt.c (lookup_template_class): Better support of specialization
      	of member of class template implicit instantiation.
      
      gcc/testsuite/ChangeLog:
      	PR c++/42824
      	* g++.dg/template/memclass4.C: New test.
      
      From-SVN: r156939
      Dodji Seketeli committed
    • * sv.po: Update. · d6648997
      From-SVN: r156938
      Joseph Myers committed
    • re PR fortran/35259 (-fassociative-math not enabled by default; No option to… · 72bd130e
      re PR fortran/35259 (-fassociative-math not enabled by default;  No option to associate with PAREN_EXPRs)
      
      2010-02-21  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/35259
              * doc/invoke.texi (-fassociative-math): Document that this
              option is automatically enabled for Fortran.
      
      2010-02-21  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/35259
              * gfortran.h (gfc_option_t): New flag -fprotect-parens.
              * lang.opt: Ditto.
              * option.c (gfc_init_options,gfc_handle_option): Ditto.
              * trans-expr.c (gfc_conv_expr_op): Use the flag.
              * invoke.texi: Document new -fno-protect-parens flag.
      
      2010-02-21  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/35259
              * gfortran.dg/reassoc_5.f90: New test.
      
      From-SVN: r156937
      Tobias Burnus committed
    • typedefs.cc: New. · c76dc9b0
      2010-02-21  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/20_util/is_trivial/requirements/typedefs.cc: New.
      	* testsuite/20_util/is_trivial/requirements/
      	explicit_instantiation.cc: Likewise.
      	* testsuite/20_util/is_pod/value.cc: Likewise.
      	* testsuite/20_util/is_pod/requirements/typedefs.cc: Likewise.
      	* testsuite/20_util/is_pod/requirements/
      	explicit_instantiation.cc: Likewise.
      	* testsuite/20_util/is_standard_layout/requiremenents/
      	typedefs.cc: Likewise.
      	* testsuite/20_util/is_standard_layout/requiremenents/
      	explicit_instantiation.cc: Likewise.
      
      From-SVN: r156934
      Paolo Carlini committed
    • configure.ac: Test if linker and assembler properly support GOTDATA_OP relocations. · 878ee0ab
      gcc/
      
      2010-02-20  David S. Miller  <davem@davemloft.net>
      
      	* configure.ac: Test if linker and assembler properly support
      	GOTDATA_OP relocations.
      	* configure: Rebuild.
      	* config.in: Likewise.
      	* config/sparc/sparc.md (UNSPEC_MOVE_GOTDATA): New.
      	(movsi_lo_sum_pic): Use %gdop_*() relocs if available.
      	(movsi_high_pic): Likewise.
      	(movdi_lo_sum_pic): Likewise.
      	(movdi_high_pic): Likewise.
      	(movsi_pic_gotdata_op): New pattern.
      	(movdi_pic_gotdata_op): Likewise.
      	* config/sparc/sparc.c (legitimize_pic_address): If flag_pic is 2,
      	emit gen_mov{si,di}_pic_gotdata_op for the GOT slot load.
      
      From-SVN: r156933
      David S. Miller committed
    • Daily bump. · 9cd1520f
      From-SVN: r156932
      GCC Administrator committed
  4. 20 Feb, 2010 4 commits
    • re PR target/43067 (ICE: SIGSEGV with -fschedule-insns -mxop) · 78c201a4
      	PR target/43067
      	* config/i386/sse.md (xop_mulv2div2di3_low): Change type
      	attribute to ssemul.
      	(xop_mulv2div2di3_high): Ditto.
      
      testsuite/ChangeLog:
      
      	PR target/43067
      	* gcc.target/i386/pr43067.c: New test.
      
      From-SVN: r156929
      Uros Bizjak committed
    • re PR c++/35669 (NULL (__null) not considered different from 0 with C++) · 17251338
      2010-02-20  Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      	PR c++/35669
      	* c.opt (Wconversion-null): New option.
      	* doc/invoke.texi (Wconversion-null): Document.
      
      cp/
      	* call.c (conversion_null_warnings): Replace -Wconversion with
      	-Wconversion-null.
      	* cvt.c (build_expr_type_conversion): Likewise.
      
      testsuite/
      	* g++.dg/warn/Wconversion2.C: Replace -Wconversion with
      	-Wconversion-null.
      	* g++.dg/warn/Wconversion-null.C: New test.
      	* g++.old-deja/g++.other/null1.C: Move to...
      	* g++.dg/warn/Wconversion-null-2.C: ... here. Remove -Wconversion.
      
      libstdc++-v3/	
      	* testsuite/18_support/headers/cstddef/macros.cc: Add
      	-Wno-conversion-null.
      
      From-SVN: r156928
      Manuel López-Ibáñez committed
    • re PR c/43125 (Revision 156907 failed gcc.dg/attr-used.c) · c387e067
      	PR middle-end/43125
      	* c-decl.c (merge_decls): Merge DECL_PRESERVE_P.
      
      From-SVN: r156927
      Mike Stump committed
    • re PR fortran/36932 (unneeded temporary (2x)) · f7172b55
      2010-02-20  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/36932
      	PR fortran/36933
      	PR fortran/43072
      	PR fortran/43111
      	* dependency.c (gfc_check_argument_var_dependency): Use enum
      	value instead of arithmetic vaue for 'elemental'.
      	(check_data_pointer_types): New function.
      	(gfc_check_dependency): Call check_data_pointer_types.
      	* trans-array.h : Change fourth argument of
      	gfc_conv_array_parameter to boolean.
      	* trans-array.c (gfc_conv_array_parameter): A contiguous array
      	can be a dummy but it must not be assumed shape or deferred.
      	Change fourth argument to boolean. Array constructor exprs will
      	always be contiguous and do not need packing and unpacking.
      	* trans-expr.c (gfc_conv_procedure_call): Clean up some white
      	space and change fourth argument of gfc_conv_array_parameter
      	to boolean.
      	(gfc_trans_arrayfunc_assign): Change fourth argument of
      	gfc_conv_array_parameter to boolean.
      	* trans-io.c (gfc_convert_array_to_string): The same.
      	* trans-intrinsic.c (gfc_conv_intrinsic_loc): The same.
      
      2010-02-20  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/36932
      	PR fortran/36933
      	* gfortran.dg/dependency_26.f90: New test.
      
      	PR fortran/43072
      	* gfortran.dg/internal_pack_7.f90: New test.
      
      	PR fortran/43111
      	* gfortran.dg/internal_pack_8.f90: New test.
      
      From-SVN: r156926
      Paul Thomas committed