- 06 Mar, 2012 3 commits
-
-
re PR middle-end/52097 (ICE: in get_bit_range, at expr.c:4535 with -O -flto -fexceptions -fnon-call-exceptions --param allow-store-data-races=0) 2012-03-06 Richard Guenther <rguenther@suse.de> PR lto/52097 * lto.c (uniquify_nodes): Merge TYPE_FIELDS of variant types. * gcc.dg/lto/pr52097_0.c: New testcase. From-SVN: r184981
Richard Guenther committed -
re PR rtl-optimization/52250 (ICE: in sel_remove_bb, at sel-sched-ir.c:5213 with -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops -fselective-scheduling2 and other flags) PR rtl-optimization/52250 * sel-sched-ir.c (maybe_tidy_empty_bb): Try harder to find a bb to put note list into. Unconditionally call move_bb_info. (move_bb_info): Do not assert the blocks being in the same region, just drop the note list if they are not. From-SVN: r184975
Andrey Belevantsev committed -
From-SVN: r184971
GCC Administrator committed
-
- 05 Mar, 2012 37 commits
-
-
PR target/51244 * config/sh/sh.c (sh_expand_t_scc): Remove SH2A special case and use unified expansion logic. * config/sh/sh.md (xorsi3_movrt): Rename to movrt. Move closer to the existing movt insn. (negc): Rename insn to *negc. Add new expander. (movnegt): Use xor pattern for T bit negation. Reserve helper constant for negc pattern. (*movnegt): New insn and splitter. PR target/51244 * gcc.target/sh/pr51244-1.c: New. * gcc.target/sh/pr51244-2.c: New. * gcc.target/sh/pr51244-3.c: New. From-SVN: r184966
Oleg Endo committed -
* c-typeck.c (pointer_diff): Check for POINTER_PLUS_EXPR, not PLUS_EXPR. From-SVN: r184965
Bernd Schmidt committed -
* genemit.c (main): Include "target.h" in insn-emit.c. * Makefile.in (insn-emit.o): Depend on TARGET_H. * config/sh/sync.md (atomic_test_and_set): Reference targetm.atomic_test_and_set_trueval instead of TARGET_ATOMIC_TEST_AND_SET_TRUEVAL. From-SVN: r184964
Richard Henderson committed -
* gcc-interface/Make-lang.in (doc/gnat_ugn.texi): Build xgnatugn before using it. From-SVN: r184963
Jason Merrill committed -
* config/epiphany/epiphany.c (epiphany_function_value_regno_p): Make static. From-SVN: r184962
Joern Rennecke committed -
* objc-map.c (objc_map_private_resize, objc_map_alloc_ggc): Don't call _stat functions without MEM_STAT_INFO. From-SVN: r184961
Jason Merrill committed -
* langhooks.c (add_builtin_type): New function. * langhooks.h (add_builtin_type): Export it. * config/mep/mep.c (mep_init_builtins): Use it. * config/rs6000/rs6000.c (rs6000_init_builtins): Use it. From-SVN: r184960
Steven Bosscher committed -
* pt.c (local_specializations): Change from htab_t into struct pointer_map_t *. (retrieve_local_specializations, register_local_specialization, tsubst_pack_expansion, instantiate_decl): Adjust users. (eq_local_specializations, hash_local_specialization): Remove. From-SVN: r184959
Jakub Jelinek committed -
PR debug/51902 * tree.h (BLOCK_SAME_RANGE): Define. * function.c (block_fragments_nreverse): Clear BLOCK_SAME_RANGE if BLOCK_FRAGMENT_CHAIN is non-NULL, but has it cleared. Also clear BLOCK_SAME_RANGE if fragment chain's supercontext fragment isn't equal to supercontext fragment's fragment chain. Adjust BLOCK_SUPERCONTEXT to point to supercontext fragment's fragment origin. (blocks_nreverse_all): Likewise. (reorder_blocks_1): Compute BLOCK_SAME_RANGE bits. Set BLOCK_SUPERCONTEXT to supercontext fragment instead of supercontext fragment's fragment origin. * dwarf2out.c (add_high_low_attributes): If stmt has the same range as its parent (or parents thereof etc.), use the parent's DW_AT_ranges value instead of creating a new .debug_ranges range. From-SVN: r184958
Jakub Jelinek committed -
* longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later. [ARM] (count_trailing_zeros): Use the builtin. From-SVN: r184957
Richard Henderson committed -
PR tree-opt/52242 Revert: 2011-11-26 Richard Henderson <rth@redhat.com> * omp-low.c (expand_omp_atomic): Assume anything aligned to BIGGEST_ALIGNMENT is aligned. From-SVN: r184955
Richard Henderson committed -
* config/sh/sh.h (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): Move... * config/sh/sh.c: ... here. From-SVN: r184953
Richard Henderson committed -
PR target/52481 * config/m68k/sync.md (atomic_test_and_set): Use expand_simple_unop instead of calling negqi2 directly. From-SVN: r184952
Richard Henderson committed -
PR middle-end/52463 * trans-mem.c (tm_region_init): Use last_basic_block. From-SVN: r184949
Aldy Hernandez committed -
PR target/52481 * config/m68k/sync.md (atomic_test_and_set): Use expand_simple_unop instead of calling negqi2 directly. From-SVN: r184948
Richard Henderson committed -
* config/sh/sh.h (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): New hook. * config/sh/sync.md (atomic_test_and_set): New expander. (tasb, atomic_test_and_set_soft): New insns. * config/sh/sh.opt (menable-tas): New option. * doc/invoke.texi (SH Options): Document it. From-SVN: r184947
Oleg Endo committed -
PR c++/51930 * decl2.c (determine_visibility): Correct calculation of class args depth. * decl.c (check_tag_decl): Adjust warning. From-SVN: r184946
Jason Merrill committed -
* method.c (synthesized_method_walk): Cleanups don't affect the EH spec either. From-SVN: r184945
Jason Merrill committed -
From-SVN: r184944
Ian Lance Taylor committed -
libitm/ * dispatch.h (CREATE_DISPATCH_METHODS_MEM): Don't execute memtransfer/memset if size isn't larger than zero. From-SVN: r184941
Torvald Riegel committed -
libitm/ * libitm.texi: Link to specification and add a usage example. From-SVN: r184940
Torvald Riegel committed -
2012-03-05 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/stl_algobase.h (iter_swap): In C++11 mode just call swap. * include/bits/stl_bvector.h (swap(_Bit_reference, _Bit_reference), swap(_Bit_reference, bool&), swap(bool&, _Bit_reference)): Add. * testsuite/23_containers/vector/bool/swap.cc: New. From-SVN: r184939
Paolo Carlini committed -
2012-03-05 Richard Guenther <rguenther@suse.de> * cfgloop.c (verify_loop_structure): Verify dominators before using them. * graphite-clast-to-gimple.c (graphite_verify): Do not verify dominators from here. * graphite-scop-detection.c (create_sese_edges): Likewise. * loop-doloop.c (doloop_optimize_loops): Likewise. * loop-init.c (loop_optimizer_init): Likewise. * loop-unroll.c (unroll_and_peel_loops): Likewise. * loop-unswitch.c (unswitch_loops): Likewise. * tree-ssa-loop-manip.c (tree_transform_and_unroll_loop): Likewise. * tree-parloops.c (parallelize_loops): Likewise. Verify only when checking is enabled. * tree-loop-distribution.c (tree_loop_distribution): Likewise. From-SVN: r184937
Richard Guenther committed -
* genautomata.c (parse_automata_opt): New static function. (initiate_automaton_gen): Remove all option handling code. Remove argc argument. All callers changed. (main): Call init_rtx_reader_args_cb with the new function as argument. From-SVN: r184936
Bernd Schmidt committed -
* ira-conflicts.c: Remove mentioning cover classes from the file. Use ALLOCNO_CLASS instead of ALLOCNO_COVER_CLASS. Use - ALLOCNO_COVER_CLASS_COST instead of ALLOCNO_CLASS_COST. Fix formatting. + ALLOCNO_CLASS_COST instead of ALLOCNO_COVER_CLASS_COST. Fix formatting. From-SVN: r184935
Joern Rennecke committed -
2012-03-05 Richard Guenther <rguenther@suse.de> * cfgexpand.c (gimple_expand_cfg): Free dominator info. * tree-if-conv.c (combine_blocks): Free post-dominator info after breaking it. * tree-parloops.c (create_parallel_loop): Free and re-compute dominator info after breaking it. From-SVN: r184933
Richard Guenther committed -
2012-03-05 Richard Guenther <rguenther@suse.de> PR middle-end/52353 * optabs.h (trapv_unoptab_p): New function. (trapv_binoptab_p): Likewise. * optabs.c (expand_binop): Use emit_libcall_block_1 with a proper equiv_may_trap argument. (expand_unop): Likewise. (emit_libcall_block_1): Take extra argument whether the instruction may trap. Renamed from ... (emit_libcall_block): ... this. New wrapper. From-SVN: r184932
Richard Guenther committed -
From-SVN: r184930
Joseph Myers committed -
PR tree-optimization/51721 * tree-vrp.c (register_edge_assert_for_2): If comparing lhs of right shift by constant with an integer constant, add ASSERT_EXPRs for the rhs1 of the right shift. * gcc.dg/tree-ssa/vrp63.c: New test. * gcc.dg/pr51721.c: New test. From-SVN: r184927
Jakub Jelinek committed -
2012-03-05 Tristan Gingold <gingold@adacore.com> * configure.ac: Enable gdb and readline for ia64*-*-*vms*. * configure: Regenerate. From-SVN: r184926
Tristan Gingold committed -
From-SVN: r184925
Jakub Jelinek committed -
2012-03-05 Richard Guenther <rguenther@suse.de> * tree.c (integer_zerop): Handle VECTOR_CSTs. (integer_onep): Likewise. (integer_all_onesp): Likewise. From-SVN: r184923
Richard Guenther committed -
* config/avr/avr.md (*umaddqihi4.2): New insn-and-split. From-SVN: r184919
Georg-Johann Lay committed -
2013-03-05 Richard Guenther <rguenther@suse.de> * crontab: Remove 4.3 branch from the list of snapshots to make. From-SVN: r184918
Richard Guenther committed -
PR go/52342 runtime: Better big-endian identity hash function. From-SVN: r184914
Ian Lance Taylor committed -
From-SVN: r184913
Ian Lance Taylor committed -
2012-03-04 Paolo Carlini <paolo.carlini@oracle.com> Jonathan Wakely <jwakely.gcc@gmail.com> PR libstdc++/43813 * include/bits/stl_iterator_base_types.h (_RequireInputIter): New. * include/ext/vstring.h (__versa_string<>::__versa_string (_InputIterator, _InputIterator, const _Alloc&), __versa_string<>::append(_InputIterator, _InputIterator), __versa_string<>::assign(_InputIterator, _InputIterator), __versa_string<>::insert(iterator, _InputIterator, _InputIterator), __versa_string<>::replace(iterator, iterator, _InputIterator, _InputIterator)): Use it. * include/bits/stl_list.h (list<>::list(_InputIterator, _InputIterator, const allocator_type&), list<>::assign(_InputIterator, _InputIterator), list<>::insert(iterator, _InputIterator, _InputIterator)): Likewise. * include/bits/stl_vector.h (vector<>::vector(_InputIterator, _InputIterator, const allocator_type&), vector<>::assign(_InputIterator, _InputIterator), vectort<>::insert(iterator, _InputIterator, _InputIterator)): Likewise. * include/bits/stl_deque.h (deque<>::deque(_InputIterator, _InputIterator, const allocator_type&), deque<>::deque(_InputIterator, _InputIterator), deque<>::insert(iterator, _InputIterator, _InputIterator)): Likewise. * include/bits/stl_bvector.h (vector<>::vector(_InputIterator, _InputIterator, const allocator_type&), vector<>::deque(_InputIterator, _InputIterator), vector<>::insert(iterator, _InputIterator, _InputIterator)): Likewise. * include/bits/forward_list.h (forward_list<>::forward_list (_InputIterator, _InputIterator, const allocator_type&), forward_list<>::assign(_InputIterator, _InputIterator), forward_list<>::insert_after(const_iterator, _InputIterator, _InputIterator)): Likewise. (forward_list<>::_M_initialize_dispatch(,, __true_type): Remove. (forward_list<>::_M_range_initialize): Add, adjust everywhere. * include/bits/forward_list.tcc: Adjust. * include/debug/forward_list: Adjust. * include/debug/vector: Likewise. * include/debug/deque: Likewise. * include/debug/list: Likewise. * testsuite/ext/vstring/requirements/do_the_right_thing.cc: New. * testsuite/23_containers/forward_list/requirements/ do_the_right_thing.cc: Likewise. * testsuite/23_containers/vector/requirements/ do_the_right_thing.cc: Likewise. * testsuite/23_containers/deque/requirements/ do_the_right_thing.cc: Likewise. * testsuite/23_containers/list/requirements/ do_the_right_thing.cc: Likewise. * testsuite/23_containers/forward_list/requirements/dr438/ assign_neg.cc: Adjust dg-error line number. * testsuite/23_containers/forward_list/requirements/dr438/ insert_neg.cc: Likewise. * testsuite/23_containers/forward_list/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/forward_list/requirements/dr438/ constructor_2_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/ assign_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/ insert_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/ constructor_2_neg.cc: Likewise. * testsuite/23_containers/deque/requirements/dr438/ assign_neg.cc: Likewise. * testsuite/23_containers/deque/requirements/dr438/ insert_neg.cc: Likewise. * testsuite/23_containers/deque/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/deque/requirements/dr438/ constructor_2_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ assign_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ insert_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ constructor_2_neg.cc: Likewise. Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com> From-SVN: r184911
Paolo Carlini committed
-