- 19 Feb, 2011 14 commits
-
-
From-SVN: r170308
Nicola Pero committed -
From-SVN: r170307
Ian Lance Taylor committed -
* config/t-darwin (TM_H): Add dependency on on darwin-sections.def. From-SVN: r170306
Mike Stump committed -
From-SVN: r170305
Ian Lance Taylor committed -
From-SVN: r170304
Ian Lance Taylor committed -
From-SVN: r170303
Ian Lance Taylor committed -
From-SVN: r170302
Ian Lance Taylor committed -
Don't crash converting an untyped complex constant to an integer type. Don't crash on unsafe.Sizeof of erroneous type. Don't crash on method expression of erroneous type. Don't crash when sink and global var are initialized from type guard. Don't crash initializing erroneous slice. Don't crash on erroneous method of type seen before definition. From-SVN: r170301
Ian Lance Taylor committed -
PR middle-end/47788 * ipa-inline.c (compute_inline_parameters): Clear disregard_inline_limits when function is not inlinable at all. From-SVN: r170300
Jan Hubicka committed -
From-SVN: r170299
Nicola Pero committed -
From-SVN: r170298
Nicola Pero committed -
From-SVN: r170297
Iain Sandoe committed -
From-SVN: r170296
GCC Administrator committed -
From-SVN: r170292
Nicola Pero committed
-
- 18 Feb, 2011 22 commits
-
-
2011-02-18 Janus Weil <janus@gcc.gnu.org> PR fortran/47789 * primary.c (gfc_match_structure_constructor): Handle empty parent types. 2011-02-18 Janus Weil <janus@gcc.gnu.org> PR fortran/47789 * gfortran.dg/derived_constructor_comps_4.f90: New. From-SVN: r170291
Janus Weil committed -
PR fortran/47775 * trans-expr.c (arrayfunc_assign_needs_temporary): Use esym to check whether the specific procedure returns an allocatable or pointer. 2011-02-18 Tobias Burnus PR fortran/47775 * gfortran.dg/func_result_6.f90: New. From-SVN: r170289
Tobias Burnus committed -
* config.gcc (hppa[12]*-*-hpux11*): Set extra_parts. * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock, pthread_mutex_unlock, pthread_once): Reinstate pthread stubs. * config/pa/t-pa-hpux11: Add rules to build pthread stubs. * config/pa/t-pa64: Likewise. * config/pa/pa-hpux11.h (LINK_GCC_C_SEQUENCE_SPEC): Define. From-SVN: r170287
John David Anglin committed -
PR driver/47787 * gcc.c (default_compilers): Clear combinable field for "@cpp-output". From-SVN: r170286
Jakub Jelinek committed -
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 -
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 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 -
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 -
* 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 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 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 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 -
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 -
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 -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 -
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 -
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 -
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 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 -
From-SVN: r170265
GCC Administrator committed -
* doc/cpp.texi (Obsolete Features): Add background on the origin of assertions. From-SVN: r170261
Gerald Pfeifer committed -
From-SVN: r170260
Iain Sandoe committed
-
- 17 Feb, 2011 4 commits
-
-
* common.opt (optimize_fast): New Variable. * opts.c (default_options_optimization): Use opts->x_optimize_fast instead of local variable ofast. From-SVN: r170259
Joseph Myers committed -
From-SVN: r170257
Nicola Pero committed -
re PR c++/47783 (Warning 'set but not used' [-Wunused-but-set-parameter] incorrectly issued for update through reference wrapper) PR c++/47783 * cvt.c (convert_from_reference): Call mark_exp_read. * g++.dg/warn/Wunused-parm-4.C: New test. From-SVN: r170255
Jakub Jelinek committed -
* libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP): Document. (strtoflt128): Remove obsolete comment. * configure.ac (HAVE_STRTOULL): New check. * printf/gmp-impl.h (mpn_construct_float128): New prototype, define. * printf/mul_n.c: Include <config.h>. * printf/add_n.c: Likewise. * printf/cmp.c: Likewise. * printf/fpioconst.c: Likewise. * printf/mul_1.c: Likewise. * printf/rshift.c: Likewise. * printf/lshift.c: Likewise. * printf/submul_1.c: Likewise. * printf/sub_n.c: Likewise. * printf/divrem.c: Likewise. * printf/addmul_1.c: Likewise. * printf/mul.c: Likewise. * printf/quadmath-printf.h (isupper, isdigit, tolower): Change to avoid evaluating argument multiple times. (isxdigit): Redefine. * strtod/strtoflt128.c: New file. * strtod/strtod_l.c: New file. * strtod/mpn2flt128.c: New file. * strtod/grouping.h: New file. * strtod/tens_in_limb.c: New file. * gdtoa/arith.h: Removed. * gdtoa/gd_qnan.h: Removed. * gdtoa/gdtoa_fltrnds.h: Removed. * gdtoa/gdtoa.h: Removed. * gdtoa/gdtoaimp.h: Removed. * gdtoa/gethex.c: Removed. * gdtoa/gmisc.c: Removed. * gdtoa/hd_init.c: Removed. * gdtoa/hexnan.c: Removed. * gdtoa/makefile: Removed. * gdtoa/misc.c: Removed. * gdtoa/README.gdtoa: Removed. * gdtoa/smisc.c: Removed. * gdtoa/strtodg.c: Removed. * gdtoa/strtopQ.c: Removed. * gdtoa/sum.c: Removed. * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP): Define. * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c. * config.h.in: Regenerated. * configure: Regenerated. * Makefile.in: Regenerated. From-SVN: r170254
Jakub Jelinek committed
-