Skip to content
Snippets Groups Projects
  1. Jan 05, 2010
    • Richard Guenther's avatar
      re PR tree-optimization/42614 (FRE optimizes away valid code after IPA inlining) · 82aee923
      Richard Guenther authored
      2010-01-05  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/42614
      	* gcc.c-torture/execute/pr42614.c: New testcase.
      
      From-SVN: r155647
      82aee923
    • Eric Fisher's avatar
      invoke.texi: Remove the documentation about option -Wunreachable-code. · bc3c12a2
      Eric Fisher authored
      2010-01-05  Eric Fisher  <joefoxreal@gmail.com>
      
      	* doc/invoke.texi: Remove the documentation about option
      	-Wunreachable-code.
      	* common.opt (Wunreachable-code):  Preserved for backward
      	compatibility.
      	* tree-cfg.c: Remove the implementation of -Wunreachable-code.
      	* opts.c (common_handle_option): Add OPT_Wunreachable_code to
      	the backward compatibility flag section.
      
      	* gcc.dg/pr12603.c: Remove -Wunreachable-code from dg-options.
      	* gcc.dg/Wunreachable-1.c: Remove the testcase of
      	-Wunreachable-code.
      	* gcc.dg/Wunreachable-2.c: Likewise.
      	* gcc.dg/Wunreachable-3.c: Likewise.
      	* gcc.dg/Wunreachable-4.c: Likewise.
      	* gcc.dg/Wunreachable-5.c: Likewise.
      	* gcc.dg/Wunreachable-6.c: Likewise.
      	* gcc.dg/Wunreachable-7.c: Likewise.
      	* gcc.dg/Wunreachable-8.c: Likewise.
      	* gcc.dg/20041231-1.c: Likewise.
      
      From-SVN: r155645
      bc3c12a2
    • Paolo Carlini's avatar
      6.cc: New. · 4ebf9c37
      Paolo Carlini authored
      2010-01-05  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/22_locale/time_get/get_monthname/char/6.cc: New.
      	* testsuite/22_locale/time_get/get_monthname/wchar_t/6.cc: Likewise.
      	* testsuite/22_locale/time_get/get_weekday/char/6.cc: Likewise.
      	* testsuite/22_locale/time_get/get_weekday/wchar_t/6.cc: Likewise.
      
      From-SVN: r155644
      4ebf9c37
    • Richard Guenther's avatar
      tree-ssa-pre.c (bitmap_value_insert_into_set): Optimize. · 1befacc8
      Richard Guenther authored
      2010-01-05  Richard Guenther  <rguenther@suse.de>
      
      	* tree-ssa-pre.c (bitmap_value_insert_into_set): Optimize.
      
      From-SVN: r155643
      1befacc8
    • Jakub Jelinek's avatar
      re PR other/42611 (ICE in tree_low_cst, at tree.c:5014) · 7604eb4e
      Jakub Jelinek authored
      	PR other/42611
      	* cfgexpand.c (expand_one_var): Diagnose too large variables.
      
      	* gcc.dg/pr42611.c: New test.
      
      From-SVN: r155641
      7604eb4e
    • Jakub Jelinek's avatar
      re PR tree-optimization/42508 (wrong code with "-O1 -fipa-sra") · 566f27e4
      Jakub Jelinek authored
      	PR tree-optimization/42508
      	* tree-sra.c (convert_callers): Check for recursive call
      	by comparing cgraph nodes instead of decls.
      	(modify_function): Call ipa_modify_formal_parameters also
      	on all same_body aliases.
      
      	* g++.dg/opt/pr42508.C: New test.
      
      	* cgraphunit.c (cgraph_materialize_all_clones): Compare
      	cgraph nodes when checking for same_body aliases.
      
      From-SVN: r155640
      566f27e4
    • Tobias Burnus's avatar
      re PR fortran/41872 (wrong-code: Issues with allocatable scalars) · 11492349
      Tobias Burnus authored
      2010-01-05  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/41872
              * trans-expr.c (gfc_conv_procedure_call): Nullify
              return value for allocatable-scalar character functions.
      
      2010-01-05  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/41872
              * gfortran.dg/allocatable_scalar_8.f90: New.
      
      From-SVN: r155639
      11492349
    • GCC Administrator's avatar
      Daily bump. · ab90dbeb
      GCC Administrator authored
      From-SVN: r155638
      ab90dbeb
    • Richard Guenther's avatar
      tree-ssa-pre.c (get_or_alloc_expr_for_name): Avoid redundant allocation and lookup. · 5f5126d6
      Richard Guenther authored
      2010-01-05  Richard Guenther  <rguenther@suse.de>
      
      	* tree-ssa-pre.c (get_or_alloc_expr_for_name): Avoid redundant
      	allocation and lookup.
      	(get_or_alloc_expr_for_constant): Likewise.
      	(phi_translate): Sink allocation.
      
      From-SVN: r155635
      5f5126d6
  2. Jan 04, 2010
    • Nobuhiro Iwamatsu's avatar
      re PR target/42316 ([SH] `builddir-single/libiberty/pic/libiberty.a': No such file or directory) · ed945ad9
      Nobuhiro Iwamatsu authored
      	PR target/42316
      	* configure.ac (PICFLAG): Use -fPIC on SH hosts.
      	* configure: Regenerate.
      
      From-SVN: r155634
      ed945ad9
    • Richard Guenther's avatar
      tree-ssa-sccvn.c (get_or_alloc_constant_value_id): Allocate a new entry only if needed. · a7d04a53
      Richard Guenther authored
      2010-01-04  Richard Guenther  <rguenther@suse.de>
      
      	* tree-ssa-sccvn.c (get_or_alloc_constant_value_id): Allocate
      	a new entry only if needed.
      	* tree-ssa-dom.c (lookup_avail_expr): Likewise.
      	* tree-ssa-coalesce.c (find_coalesce_pair): Avoid one
      	hashtable lookup.
      	* tree-ssa-pre.c (sorted_array_from_bitmap_set): Pre-allocate
      	the result array.
      	(phi_translate): Handle CONSTANTs early.
      
      From-SVN: r155633
      a7d04a53
    • Tobias Burnus's avatar
      re PR fortran/36161 (gfc_error formats are not marked gcc-internal-format in po file) · d6de356a
      Tobias Burnus authored
      2010-01-04  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/36161
              * error.c (error_printf, gfc_warning, gfc_notify_std,
              gfc_warning_now, gfc_error, gfc_error_now,
              gfc_fatal_error): Change argument name from nocmsgid to
              gmsgid to enable (x)gettext's % checking.
      
      From-SVN: r155632
      d6de356a
    • Martin Jambor's avatar
      re PR tree-optimization/42398 (internal compiler error: in sra_modify_expr, at tree-sra.c:2175) · caee6ca1
      Martin Jambor authored
      2010-01-04  Martin Jambor  <mjambor@suse.cz>
      
      	PR tree-optimization/42398
      	* tree-sra.c (struct access): Removed flag grp_different_types.
      	(dump_access): Do not dump the removed flag.
      	(sort_and_splice_var_accesses): Do not set the removed flag.
      	(sra_modify_expr): Check for type compatibility directly.
      
      	* testsuite/gcc.c-torture/compile/pr42398.c: New test.
      
      From-SVN: r155631
      caee6ca1
    • Martin Jambor's avatar
      re PR tree-optimization/42366 (ICE in ipa_write_node_info, at ipa-prop.c:2023) · 438789ff
      Martin Jambor authored
      2010-01-04  Martin Jambor  <mjambor@suse.cz>
      
      	PR tree-optimization/42366
      	* ipa-cp.c (ipcp_init_stage): Always call ipa_compute_jump_functions on
      	edges with variable number of parameters.
      	* ipa-prop.c (ipa_write_node_info): Stream out uses_analysis_done
      	flag instead of asserting it.
      	(ipa_read_node_info): Read uses_analysis_done flag.
      
      From-SVN: r155630
      438789ff
    • H.J. Lu's avatar
      Remove duplicated ChangeLog entries. · 77102854
      H.J. Lu authored
      From-SVN: r155629
      77102854
    • Jason Merrill's avatar
      re PR c++/42555 (16-byte aligned double is disallowed only in templates) · 282c399b
      Jason Merrill authored
      	PR c++/42555
      	* pt.c (tsubst_decl): Don't apply type attributes in place.
      
      From-SVN: r155628
      282c399b
    • Jason Merrill's avatar
      re PR c++/42567 ([C++0x] ICE with auto in type_unification_real, at cp/pt.c:13310) · 4b4a42c4
      Jason Merrill authored
      	PR c++/42567
      	* semantics.c (describable_type): Remove decltype comment and
      	semantics.
      
      From-SVN: r155627
      4b4a42c4
    • Jason Merrill's avatar
      fix comment typo · 5805e48d
      Jason Merrill authored
      From-SVN: r155626
      5805e48d
    • Richard Guenther's avatar
      tree-ssa-sccvn.c (vn_reference_op_compute_hash): Use iterative_hash_* as intended. · 9708c51d
      Richard Guenther authored
      2010-01-04  Richard Guenther  <rguenther@suse.de>
      
      	* tree-ssa-sccvn.c (vn_reference_op_compute_hash): Use
      	iterative_hash_* as intended.
      	(vn_reference_compute_hash): Likewise.  Simplify hashing
      	SSA names.
      	(vn_reference_lookup_2): Likewise.
      	(vn_nary_op_compute_hash): Likewise.
      	(vn_phi_compute_hash): Likewise.
      	(expressions_equal_p): Remove strange code.
      	* tree-ssa-pre.c (pre_expr_eq): Use gcc_unreachable ().
      	(pre_expr_hash): Likewise.  Simplify hashing SSA names.
      	(bitmap_insert_into_set_1): Take value-id as parameter.
      	(add_to_value): Pass it.
      	(bitmap_insert_into_set): Likewise.
      	(bitmap_value_insert_into_set): Likewise.  Remove redundant check.
      
      From-SVN: r155624
      9708c51d
    • Jakub Jelinek's avatar
      re PR driver/42442 (-march=native doesn't apply to multiple files) · 94b90527
      Jakub Jelinek authored
      	PR driver/42442
      	* gcc.c (SWITCH_IGNORE_PERMANENTLY): Define.
      	(do_self_spec): For switches with SWITCH_IGNORE set set also
      	SWITCH_IGNORE_PERMANENTLY.
      	(check_live_switch): Check SWITCH_IGNORE_PERMANENTLY instead
      	of SWITCH_IGNORE.
      
      From-SVN: r155622
      94b90527
    • Joseph Myers's avatar
      * sv.po: Update. · ca30dbc3
      Joseph Myers authored
      From-SVN: r155620
      ca30dbc3
    • Rafael Avila de Espindola's avatar
      20100104_0.c: New. · 785ca514
      Rafael Avila de Espindola authored
      2010-01-04  Rafael Avila de Espindola  <espindola@google.com>
      
      	* gcc.dg/lto/20100104_0.c: New.
      
      2010-01-04  Rafael Avila de Espindola  <espindola@google.com>
      
      	* lto-streamer-out.c (output_unreferenced_globals): Output the full
      	tree of an unreferenced global var.
      
      From-SVN: r155619
      785ca514
    • H.J. Lu's avatar
      Don't convert GTU to GT for V4SI and V2DI · 22554cf9
      H.J. Lu authored
      gcc/
      
      2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/42542
      	* config/i386/i386.c (ix86_expand_int_vcond): Don't convert
      	GTU to GT for V4SI and V2DI.
      
      	* config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP.
      	(umin<mode>3): Removed.
      	(uminv8hi3): New.
      	(uminv4si3): Likewise.
      
      gcc/testsuite/
      
      2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/42542
      	* gcc.target/i386/pr42542-1.c: New.
      	* gcc.target/i386/pr42542-1a.c: Likewise.
      	* gcc.target/i386/pr42542-1b.c: Likewise.
      	* gcc.target/i386/pr42542-2.c: Likewise.
      	* gcc.target/i386/pr42542-2a.c: Likewise.
      	* gcc.target/i386/pr42542-2b.c: Likewise.
      	* gcc.target/i386/pr42542-3.c: Likewise.
      	* gcc.target/i386/pr42542-3a.c: Likewise.
      
      From-SVN: r155618
      22554cf9
    • H.J. Lu's avatar
      Turn on trace in collect2 if needed · 7152f51e
      H.J. Lu authored
      2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR lto/42581
      	* collect2.c (main): Turn on trace in collect2 if -v is passed
      	to gcc with LTO.
      
      From-SVN: r155616
      7152f51e
    • H.J. Lu's avatar
      Make 's' atomic · 45de5648
      H.J. Lu authored
      2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR libgomp/42602
      	* libgomp.fortran/recursion1.f90 (sub): Make 's' atomic.
      
      From-SVN: r155615
      45de5648
    • Janne Blomqvist's avatar
      ChangeLog-2002: Add copyright footer. · 982198d5
      Janne Blomqvist authored
      2009-01-04  Tobias Burnus  <burnus@net-b.de>
      
              * ChangeLog-2002: Add copyright footer.
              * ChangeLog-2003: Ditto.
              * ChangeLog-2004: Ditto.
              * ChangeLog-2005: Ditto.
              * ChangeLog-2006: Ditto.
              * ChangeLog-2007: Ditto.
              * ChangeLog-2008: Ditto.
              * ChangeLog-2009: Ditto.
              * ChangeLog: Ditto.
      
      From-SVN: r155611
      982198d5
    • Anthony Green's avatar
      Fix libgcc build for moxie. · e6e50811
      Anthony Green authored
      From-SVN: r155609
      e6e50811
    • Tobias Burnus's avatar
      trans-decl.c (gfc_trans_deferred_vars): Fix spelling. · 93c71688
      Tobias Burnus authored
      2010-01-04  Tobias Burnus  <burnus@net-b.de>
      
              * trans-decl.c (gfc_trans_deferred_vars): Fix spelling.
      
      From-SVN: r155607
      93c71688
    • Tobias Burnus's avatar
      re PR fortran/41872 (wrong-code: Issues with allocatable scalars) · 5b130807
      Tobias Burnus authored
      2009-01-04  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/41872
              * trans-expr.c (gfc_conv_procedure_call): Add indirect ref
              for functions returning allocatable scalars.
              * trans-stmt.c (gfc_trans_allocate): Emmit error when
              reallocating an allocatable scalar.
              * trans.c (gfc_allocate_with_status): Fix pseudocode syntax
              in comment.
              * trans-decl.c (gfc_trans_deferred_vars): Nullify local
              allocatable scalars.
              (gfc_generate_function_code): Nullify result variable for
              allocatable scalars.
              
              PR fortran/40849
              * module.c (gfc_use_module): Fix warning string to allow
              for translation.
      
              PR fortran/42517
              * invoke.texi (-fcheck=recursion): Mention that the checking
              is also disabled for -frecursive.
              * trans-decl.c (gfc_generate_function_code): Disable
              -fcheck=recursion when -frecursive is used.
      
              * intrinsic.texi (iso_c_binding): Improve wording.
      
      2009-01-04  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/41872
              * gfortran.dg/allocatable_scalar_5.f90: New test.
              * gfortran.dg/allocatable_scalar_6.f90: New test.
      
      From-SVN: r155606
      5b130807
    • Jerry Quinn's avatar
      c-tree.texi (RETURN_STMT): Change to RETURN_EXPR. · f4262155
      Jerry Quinn authored
      2010-01-03  Jerry Quinn  <jlquinn@optonline.net>
      
      	* doc/c-tree.texi (RETURN_STMT): Change to RETURN_EXPR.  Update
      	description of expression operand.
      
      From-SVN: r155604
      f4262155
    • Paolo Carlini's avatar
      list: Implement DR 1133 here too. · ab1c1187
      Paolo Carlini authored
      2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/profile/list: Implement DR 1133 here too.
      
      	* testsuite/25_algorithms/set_intersection/34730.cc: Do not force
      	debug-mode, leads to spurious failures in profile-mode.
      	* testsuite/25_algorithms/upper_bound/33613.cc: Likewise.
      	* testsuite/25_algorithms/lower_bound/33613.cc: Likewise.
      	* testsuite/25_algorithms/set_difference/35541.cc: Likewise.
      	* testsuite/21_strings/basic_string/40160.cc: Likewise.
      	* testsuite/23_containers/unordered_map/requirements/debug_mode.cc:
      	Likewise.
      	* testsuite/23_containers/multimap/14340.cc: Likewise.
      	* testsuite/23_containers/bitset/18604.cc: Likewise.
      	* testsuite/23_containers/set/14340.cc: Likewise.
      	* testsuite/23_containers/set/18604.cc: Likewise.
      	* testsuite/23_containers/unordered_set/requirements/
      	debug_mode.cc: Likewise.
      	* testsuite/23_containers/vector/
      	debug_mode_requires_reallocation-1.cc: Likewise.
      	* testsuite/23_containers/vector/
      	debug_mode_requires_reallocation-2.cc: Likewise.
      	* testsuite/23_containers/vector/14340.cc: Likewise.
      	* testsuite/23_containers/vector/15523.cc: Likewise.
      	* testsuite/23_containers/vector/18604.cc: Likewise.
      	* testsuite/23_containers/deque/14340.cc: Likewise.
      	* testsuite/23_containers/deque/18604.cc: Likewise.
      	* testsuite/23_containers/multiset/14340.cc: Likewise.
      	* testsuite/23_containers/list/operations/35969.cc: Likewise.
      	* testsuite/23_containers/list/14340.cc: Likewise.
      	* testsuite/23_containers/list/18604.cc: Likewise.
      	* testsuite/23_containers/map/14340.cc: Likewise.
      	* testsuite/23_containers/map/18604.cc: Likewise.
      
      	* testsuite/26_numerics/random/uniform_real_distribution/
      	cons/parms_neg.cc: Remove, isn't testing anything.
      	* testsuite/26_numerics/random/uniform_int_distribution/
      	cons/parms_neg.cc: Likewise.
      	* testsuite/tr1/5_numerical_facilities/random/uniform_int/
      	cons/range_neg.cc: Likewise.
      
      	* testsuite/23_containers/unordered_map/requirements/
      	explicit_instantiation/2.cc: Do not instantiate for
      	non-defaultconstructible mapped_type.
      
      From-SVN: r155603
      ab1c1187
    • Andrew Jenner's avatar
      configure.ac: Add install-html to target_list for Make-hooks. · 55bcd32b
      Andrew Jenner authored
      	* configure.ac: Add install-html to target_list for Make-hooks.
      	* configure: Regenerate.
      	* fortran/Make-lang.in (F95_HTMLFILES): New.
      	(fortran.html): Use it.
      	(fortran.install-html): New.
      	* Makefile.in (install-html): Add lang.install-html.
      	* java/Make-lang.in (JAVA_HTMLFILES): New.
      	(java.html): Use it.
      	(java.install-html): New.
      	* objc/Make-lang.in (objc.install-html): New.
      	* objcp/Make-lang.in (obj-c++.install-html): New.
      	* cp/Make-lang.in (c++.install-html): New.
      	* ada/gcc-interface/Make-lang.in (ada.install-html): New.
      	* lto/Make-lang.in (lto.install-html): New.
      
      From-SVN: r155602
      55bcd32b
    • H.J. Lu's avatar
      Pass -m* and -v to -plugin-opt · f0d61983
      H.J. Lu authored
      gcc/
      
      2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR lto/42520
      	* gcc.c (LINK_COMMAND_SPEC): Pass -m* and -v to -plugin-opt.
      
      lto-plugin/
      
      2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR lto/42520
      	* lto-plugin.c (exec_lto_wrapper): Output lto-wrapper command
      	if -v is passed.
      
      From-SVN: r155601
      f0d61983
    • GCC Administrator's avatar
      Daily bump. · 5ceab7f1
      GCC Administrator authored
      From-SVN: r155600
      5ceab7f1
  3. Jan 03, 2010
    • Richard Guenther's avatar
      re PR testsuite/42583 (FAIL: gfortran.dg/gomp/recursion1.f90: gfortran:... · e74003a1
      Richard Guenther authored
      re PR testsuite/42583 (FAIL: gfortran.dg/gomp/recursion1.f90: gfortran: libgomp.spec: No such file or directory)
      
      2010-01-03  Richard Guenther  <rguenther@suse.de>
      
      	PR testsuite/42583
      	* gfortran.dg/gomp/recursion1.f90: Remove.
      
      	libgomp/
      	* testsuite/libgomp.fortran/recursion1.f90: New testcase.
      
      From-SVN: r155597
      e74003a1
    • Steven Bosscher's avatar
      re PR rtl-optimization/41862 (-fgcse-sm causes bootstrap-debug comparison failures) · 2ad1dda0
      Steven Bosscher authored
      	PR rtl-optimization/41862
      	* store-motion.c (store_killed_in_insn, compute_store_table,
      	remove_reachable_equiv_notes, replace_store_insn,
      	build_store_vectors): Ignore all DEBUG_INSNs.
      
      From-SVN: r155596
      2ad1dda0
    • Richard Guenther's avatar
      Warray-bounds.c: Remove XFAILs. · 5e87f30e
      Richard Guenther authored
      2010-01-03  Richard Guenther  <rguenther@suse.de>
      
      	* gcc.dg/Warray-bounds.c: Remove XFAILs.
      	* gcc.dg/uninit-6.c: Likewise.
      	* gcc.dg/struct/wo_prof_array_through_pointer.c: Likewise.
      
      From-SVN: r155595
      5e87f30e
    • Paolo Carlini's avatar
      set.h: Implement DR 130 here too. · 5ab06c6d
      Paolo Carlini authored
      2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/debug/set.h: Implement DR 130 here too.
      	* include/debug/multiset.h: Likewise.
      	* include/debug/map.h: Likewise.
      	* include/debug/multimap.h: Likewise.
      	* include/profile/set.h: Implement DR 130 fully.
      	* include/profile/multiset.h: Likewise.
      	* include/profile/map.h: Likewise.
      	* include/profile/multimap.h: Likewise.
      	* include/debug/list: Implement DR 1133 here too.
      	* include/ext/pb_ds/detail/debug_map_base.hpp: Comment out for
      	now uses of __gnu_cxx::throw_allocator.
      	* testsuite/21_strings/basic_string/40160.cc: Don't pass
      	explicitly -D_GLIBCXX_DEBUG, doesn't play well with profile-mode
      	testing.
      
      From-SVN: r155594
      5ab06c6d
    • Janne Blomqvist's avatar
      PR libfortran/42420 Large file capable stat for MingW · c9828e78
      Janne Blomqvist authored
      From-SVN: r155593
      c9828e78
    • Janne Blomqvist's avatar
      Rotate ChangeLogs for 2008 and 2009 · f18c74a7
      Janne Blomqvist authored
      From-SVN: r155592
      f18c74a7
Loading