1. 18 Feb, 2011 18 commits
    • re PR libgomp/47804 (libgomp LD_LIBRARY_PATH doesn't include path to libgfortran) · 67962076
      	PR libgomp/47804
      	* testsuite/libgomp.fortran/fortran.exp: Check for both
      	libquadmath.a and libquadmath.${shlib_ext}.  If neither exists,
      	but $blddir != "", still append ${blddir}/${lang_library_path}
      	to ld_library_path.
      
      From-SVN: r170285
      Jakub Jelinek committed
    • re PR fortran/45586 (ICE non-trivial conversion at assignment) · b3c1b8a1
      	PR fortran/45586
      	* gfortran.h (struct gfc_component): Add norestrict_decl member.
      	* trans.h (struct lang_type): Add nonrestricted_type member.
      	* trans-expr.c (gfc_conv_component_ref): Search fields with correct
      	parent type.
      	* trans-types.c (mirror_fields, gfc_nonrestricted_type): New.
      	(gfc_sym_type): Use it.
      
      testsuite/
      	PR fortran/45586
      	* gfortran.dg/lto/pr45586_0.f90: New test.
      	* gfortran.dg/typebound_proc_20.f90: Ditto.
      	* gfortran.dg/typebound_proc_21.f90: Ditto.
      
      From-SVN: r170284
      Michael Matz committed
    • re PR target/47792 (concurrence.h:292:9: error: '__gthread_mutex_destroy' was… · 430aa868
      re PR target/47792 (concurrence.h:292:9: error: '__gthread_mutex_destroy' was not declared in this scope)
      
      	PR target/47792
      	* gthr-dce.h (__gthread_mutx_destroy): Fix typo in name.
      
      From-SVN: r170281
      John David Anglin committed
    • re PR bootstrap/47807 (Failed to bootstrap) · 62dd9571
      	PR bootstrap/47807
      	* Make-lang.in (lto/lto-lang.o): Depend on $(LTO_STREAMER_H) instead
      	of lto-streamer.h.
      
      From-SVN: r170279
      Jakub Jelinek committed
    • m32r.h (REG_OK_FOR_BASE_P, [...]): Remove macros. · 4bf7ff7e
      	* config/m32r/m32r.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P,
      	RTX_OK_FOR_BASE_P, RTX_OK_FOR_OFFSET_P, LEGITIMATE_OFFSET_ADDRESS_P,
      	LEGITIMATE_LO_SUM_ADDRESS_P, LOAD_POSTINC_P, STORE_PREINC_PREDEC_P,
      	GO_IF_LEGITIMATE_ADDRESS): Remove macros.
      	* config/m32r/m32r.c (TARGET_LEGITIMATE_ADDRESS_P): Define.
      	(m32r_rtx_ok_for_base_p, m32r_rtx_ok_for_offset_p,
      	m32r_legitimate_offset_addres_p, m32r_legitimate_lo_sum_addres_p,
      	m32r_load_postinc_p, m32r_store_preinc_predec_p,
      	m32r_legitimate_address_p): New functions.
      	* config/m32r/constraints.md (constraint "S"): Don't use
      	STORE_PREINC_PREDEC_P.
      	(constraint "U"): Don't use LOAD_POSTINC_P.
      
      From-SVN: r170278
      Anatoly Sokolov committed
    • re PR rtl-optimization/46178 (gcc.target/i386/(u)divmod-[58].c FAIL: ICE: in… · 7efcf910
      re PR rtl-optimization/46178 (gcc.target/i386/(u)divmod-[58].c FAIL: ICE: in dec_register_pressure, at ira-lives.c:215 with -fira-algorithm=priority)
      
      2011-02-18  Chung-Lin Tang  <cltang@codesourcery.com>
      
      	PR rtl-optimization/46178
      	* ira.c (setup_hard_regno_class): Use ira_class_translate[] to
      	compute ira_hard_regno_cover_class[].
      
      From-SVN: r170277
      Chung-Lin Tang committed
    • re PR c++/47795 (internal compiler error: tree check: expected record_type or… · 4a16e681
      re PR c++/47795 (internal compiler error: tree check: expected record_type or union_type or qual_union_type, have error_mark in finish_non_static_data_member, at cp/semantics.c:1513)
      
      /cp
      2011-02-18  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/47795
      	* semantics.c (finish_non_static_data_member): Early return if
      	object is error_mark_node.
      
      /testsuite
      2011-02-18  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/47795
      	* g++.dg/cpp0x/lambda/lambda-ice3.C: New.
      
      From-SVN: r170276
      Paolo Carlini committed
    • re PR c++/47795 (internal compiler error: tree check: expected record_type or… · 1496e7d6
      re PR c++/47795 (internal compiler error: tree check: expected record_type or union_type or qual_union_type, have error_mark in finish_non_static_data_member, at cp/semantics.c:1513)
      
      /cp
      2011-02-18  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/47795
      	* semantics.c (finish_non_static_data_member): Early return if
      	object is error_mark_node.
      
      /testsuite
      2011-02-18  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/47795
      	* g++.dg/cpp0x/lambda/lambda-ice3.C: New.
      
      From-SVN: r170275
      Paolo Carlini committed
    • re PR lto/47798 (LTO debuginfo for globals wrong) · 237d6259
      2011-02-18  Richard Guenther  <rguenther@suse.de>
      
      	PR lto/47798
      	* lto-streamer.h (lto_global_var_decls): Declare.
      	* lto-streamer-in.c (lto_register_var_decl_in_symtab): Register
      	statics for global var processing.
      
      	lto/
      	* lto-tree.h (lto_global_var_decls): Do not declare here.
      	* lto-lang.c: Include lto-streamer.h.
      	* Make-lang.in (lto-lang.o): Adjust dependencies.
      
      From-SVN: r170274
      Richard Guenther committed
    • re PR fortran/47750 (testsuite/gfortran.dg: dg-warning and dg-error should be distinguished) · e2354175
      2011-02-15  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/47750
              * lib/gfortran.exp (gfortran_init): Set gcc_error_prefix and
              gcc_warning_prefix.
              * lib/gfortran-dg.exp (gfortran-dg-test): Update regexp for
              normalizing the error/warning output.
              * gfortran.dg/Wall.f90: Update dg-error/warning.
              * gfortran.dg/argument_checking_15.f90: Update dg-error/warning.
              * gfortran.dg/argument_checking_3.f90: Update dg-error/warning.
              * gfortran.dg/argument_checking_6.f90: Update dg-error/warning.
              * gfortran.dg/bounds_temporaries_1.f90: Update dg-error/warning.
              * gfortran.dg/class_30.f90: Update dg-error/warning.
              * gfortran.dg/continuation_1.f90: Update dg-error/warning.
              * gfortran.dg/continuation_9.f90: Update dg-error/warning.
              * gfortran.dg/do_check_5.f90: Update dg-error/warning.
              * gfortran.dg/entry_17.f90: Update dg-error/warning.
              * gfortran.dg/entry_19.f90: Update dg-error/warning.
              * gfortran.dg/fmt_error.f90: Update dg-error/warning.
              * gfortran.dg/fmt_read_2.f90: Update dg-error/warning.
              * gfortran.dg/g77/12632.f: Update dg-error/warning.
              * gfortran.dg/g77/970625-2.f: Update dg-error/warning.
              * gfortran.dg/g77/980615-0.f: Update dg-error/warning.
              * gfortran.dg/generic_actual_arg.f90: Update dg-error/warning.
              * gfortran.dg/global_references_1.f90: Update dg-error/warning.
              * gfortran.dg/goto_8.f90: Update dg-error/warning.
              * gfortran.dg/initialization_1.f90: Update dg-error/warning.
              * gfortran.dg/io_constraints_1.f90: Update dg-error/warning.
              * gfortran.dg/io_constraints_2.f90: Update dg-error/warning.
              * gfortran.dg/io_constraints_3.f90: Update dg-error/warning.
              * gfortran.dg/iostat_3.f90: Update dg-error/warning.
              * gfortran.dg/public_private_module.f90: Update
              * dg-error/warning.
              * gfortran.dg/volatile3.f90: Update dg-error/warning.
              * gfortran.dg/warning-directive-2.F90: Update dg-error/warning.
              * gfortran.dg/warnings_are_errors_1.f: Update dg-error/warning.
              * gfortran.dg/whole_file_1.f90: Update dg-error/warning.
              * gfortran.dg/whole_file_2.f90: Update dg-error/warning.
              * gfortran.dg/whole_file_3.f90: Update dg-error/warning.
      
      From-SVN: r170273
      Tobias Burnus committed
    • re PR tree-optimization/47737 (wrong code with -funswitch-loops… · 12d80acc
      re PR tree-optimization/47737 (wrong code with -funswitch-loops -fno-tree-dominator-opts -fgraphite-identity)
      
      2011-02-18  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/47737
      	* tree-ssa-loop-im.c (extract_true_false_args_from_phi): Fix
      	edge dominance check.
      
      From-SVN: r170272
      Richard Guenther committed
    • re PR fortran/47768 (ICE: printing a derived-type variable with proc-pointer components) · 357f98e5
      2011-02-18  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/47768
      	* resolve.c (resolve_transfer): Reject variables with procedure pointer
      	components.
      
      2011-02-18  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/47768
      	* gfortran.dg/proc_ptr_comp_30.f90: New.
      
      From-SVN: r170271
      Janus Weil committed
    • re PR debug/47780 (-fcompare-debug failure with -O -fgcse -fgcse-las -fstack-protector-all) · abfea58d
      	PR debug/47780
      	* cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Call copy_rtx to
      	avoid invalid rtx sharing.
      
      	* gcc.target/i386/pr47780.c: New test.
      
      From-SVN: r170270
      Jakub Jelinek committed
    • re PR fortran/47767 ([OOP] SELECT TYPE fails to execute correct TYPE IS block) · 6e2062b0
      2011-02-18  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/47767
      	* gfortran.h (gfc_check_access): Removed prototype.
      	(gfc_check_symbol_access): Added prototype.
      	* module.c (gfc_check_access): Renamed to 'check_access', made static.
      	(gfc_check_symbol_access): New function, basically a shortcut for
      	'check_access'.
      	(write_dt_extensions,write_symbol0,write_generic,write_symtree): Use
      	'gfc_check_symbol_access'.
      	(write_operator,write_module): Renamed 'gfc_check_access'.
      	* resolve.c (resolve_fl_procedure,resolve_fl_derived,
      	resolve_fl_namelist,resolve_symbol,resolve_fntype): Use
      	'gfc_check_symbol_access'.
      
      2011-02-18  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/47767
      	* gfortran.dg/class_40.f03: New.
      
      From-SVN: r170269
      Janus Weil committed
    • re PR c++/47208 ([C++0x] ICE: in decl_constant_var_p, at cp/decl2.c:3563 with… · 7f7d4b12
      re PR c++/47208 ([C++0x] ICE: in decl_constant_var_p, at cp/decl2.c:3563 with missing #include <initializer_list>)
      
      PR c++/47208
      
      gcc/cp/
      
      	PR c++/47208
      	* pt.c (do_auto_deduction): Do not mention error_mark_node in
      	diagnostics.
      	* semantics.c (finish_id_expression): Do not pass erroneous decl
      	to decl_constant_var_p.
      
      gcc/testsuite/
      
      	PR c++/47208
      	* g++.dg/cpp0x/auto21.C: New test.
      
      From-SVN: r170268
      Dodji Seketeli committed
    • Daily bump. · 5dcddcfe
      From-SVN: r170265
      GCC Administrator committed
    • cpp.texi (Obsolete Features): Add background on the origin of assertions. · f73c8882
      	* doc/cpp.texi (Obsolete Features): Add background on the
      	origin of assertions.
      
      From-SVN: r170261
      Gerald Pfeifer committed
    • Added support for the 64-bit Apple Objective-C runtime · d764a8e6
      From-SVN: r170260
      Iain Sandoe committed
  2. 17 Feb, 2011 19 commits
  3. 16 Feb, 2011 3 commits