Georg-Johann Lay
837fd3b063
invoke.texi (AVR Options): -mmcu=: Document the XMEGA cores.
...
* doc/invoke.texi (AVR Options): -mmcu=: Document the XMEGA cores.
Explain RAMPD, RAMPX, RAMPDY, RAMPZ usage by avr-gcc.
Some more notes on EIND usage and reorder EIND subsection.
From-SVN: r184985
2012-03-06 10:36:21 +00:00
Tristan Gingold
17a27c59df
vms.c (VMS_CRTL_LDBL): Rename from VMS_CRTL_PRNTF.
...
2012-03-06 Tristan Gingold <gingold@adacore.com>
* config/vms/vms.c (VMS_CRTL_LDBL): Rename from VMS_CRTL_PRNTF.
* config/vms/vms-crtlmap.map: Rename PRNTF to LDBL.
From-SVN: r184983
2012-03-06 10:26:24 +00:00
Tristan Gingold
a2ddaaf589
t-vmsnative (version): Define.
...
2012-03-06 Tristan Gingold <gingold@adacore.com>
* config/vms/t-vmsnative (version): Define.
* config/vms/t-vms (STMP_FIXPROTO, STMP_FIXINC, version): Remove.
From-SVN: r184982
2012-03-06 10:10:58 +00:00
Richard Guenther
6bb485a36a
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
2012-03-06 09:54:06 +00:00
Andrey Belevantsev
b7b5540a8a
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
2012-03-06 11:31:43 +04:00
GCC Administrator
d9b8048737
Daily bump.
...
From-SVN: r184971
2012-03-06 00:19:31 +00:00
Oleg Endo
9747719a9c
re PR target/51244 ([SH] Inefficient conditional branch and code around T bit)
...
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
2012-03-05 23:12:20 +00:00
Bernd Schmidt
5de724244f
c-typeck.c (pointer_diff): Check for POINTER_PLUS_EXPR, not PLUS_EXPR.
...
* c-typeck.c (pointer_diff): Check for POINTER_PLUS_EXPR, not
PLUS_EXPR.
From-SVN: r184965
2012-03-05 22:48:30 +00:00
Richard Henderson
3b1552c135
genemit.c (main): Include "target.h" in insn-emit.c.
...
* 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
2012-03-05 14:25:19 -08:00
Jason Merrill
aa96f3d8d9
Make-lang.in (doc/gnat_ugn.texi): Build xgnatugn before using it.
...
* gcc-interface/Make-lang.in (doc/gnat_ugn.texi): Build xgnatugn
before using it.
From-SVN: r184963
2012-03-05 17:12:28 -05:00
Joern Rennecke
1565f1696c
epiphany.c (epiphany_function_value_regno_p): Make static.
...
* config/epiphany/epiphany.c (epiphany_function_value_regno_p):
Make static.
From-SVN: r184962
2012-03-05 22:10:47 +00:00
Jason Merrill
09a70a2c58
objc-map.c (objc_map_private_resize, [...]): Don't call _stat functions without MEM_STAT_INFO.
...
* objc-map.c (objc_map_private_resize, objc_map_alloc_ggc): Don't
call _stat functions without MEM_STAT_INFO.
From-SVN: r184961
2012-03-05 17:01:49 -05:00
Steven Bosscher
c081413602
langhooks.c (add_builtin_type): New function.
...
* 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
2012-03-05 21:57:13 +00:00
Jakub Jelinek
704b8582e9
pt.c (local_specializations): Change from htab_t into struct pointer_map_t *.
...
* 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
2012-03-05 21:18:56 +01:00
Jakub Jelinek
1e3c1d950e
re PR debug/51902 (lexical_blocks inside inlined_subroutines generate duplicate debug_ranges)
...
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
2012-03-05 21:17:44 +01:00
Richard Henderson
8993fde432
arm: Enable umull and ctz in longlong.h
...
* longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
[ARM] (count_trailing_zeros): Use the builtin.
From-SVN: r184957
2012-03-05 12:12:14 -08:00
Richard Henderson
4999c62c83
re PR tree-optimization/52242 (libgomp.c/atomic-2.c failure on s390x)
...
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
2012-03-05 11:52:08 -08:00
Richard Henderson
95a6dda5e7
sh: Fix location of TARGET_ATOMIC_TEST_AND_SET_TRUEVAL definition.
...
* config/sh/sh.h (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): Move...
* config/sh/sh.c: ... here.
From-SVN: r184953
2012-03-05 10:57:43 -08:00
Richard Henderson
f49b12f49c
re PR target/52481 (m68k-*: internal compiler error: in extract_insn, at recog.c:2123)
...
PR target/52481
* config/m68k/sync.md (atomic_test_and_set): Use expand_simple_unop
instead of calling negqi2 directly.
From-SVN: r184952
2012-03-05 10:57:36 -08:00
Aldy Hernandez
46786569eb
re PR middle-end/52463 (libitm.c/memcpy-1.c FAILs)
...
PR middle-end/52463
* trans-mem.c (tm_region_init): Use last_basic_block.
From-SVN: r184949
2012-03-05 18:38:47 +00:00
Richard Henderson
b7313c309d
re PR target/52481 (m68k-*: internal compiler error: in extract_insn, at recog.c:2123)
...
PR target/52481
* config/m68k/sync.md (atomic_test_and_set): Use expand_simple_unop
instead of calling negqi2 directly.
From-SVN: r184948
2012-03-05 10:37:19 -08:00
Oleg Endo
ab6497549a
sh.h (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): New hook.
...
* 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
2012-03-05 18:18:51 +00:00
Jason Merrill
b50530246a
re PR c++/51930 (Explicitly instantiated template gets hidden visibility)
...
PR c++/51930
* decl2.c (determine_visibility): Correct calculation of class
args depth.
* decl.c (check_tag_decl): Adjust warning.
From-SVN: r184946
2012-03-05 13:08:56 -05:00
Jason Merrill
bb828cc7f3
method.c (synthesized_method_walk): Cleanups don't affect the EH spec either.
...
* method.c (synthesized_method_walk): Cleanups don't affect the EH
spec either.
From-SVN: r184945
2012-03-05 13:07:12 -05:00
Ian Lance Taylor
c3f87aa909
runtime: Implement runtime.Callers.
...
From-SVN: r184944
2012-03-05 17:07:37 +00:00
Torvald Riegel
d28b0b0861
libitm: Don't execute memtransfer/memset if size isn't larger than zero.
...
libitm/
* dispatch.h (CREATE_DISPATCH_METHODS_MEM): Don't execute
memtransfer/memset if size isn't larger than zero.
From-SVN: r184941
2012-03-05 16:34:12 +00:00
Torvald Riegel
034209bc2f
libitm: Update texinfo docs.
...
libitm/
* libitm.texi: Link to specification and add a usage example.
From-SVN: r184940
2012-03-05 16:33:55 +00:00
Paolo Carlini
93d9a365d2
stl_algobase.h (iter_swap): In C++11 mode just call swap.
...
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
2012-03-05 16:31:50 +00:00
Richard Guenther
510dbcce34
cfgloop.c (verify_loop_structure): Verify dominators before using them.
...
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
2012-03-05 15:39:39 +00:00
Bernd Schmidt
50bcfce08b
genautomata.c (parse_automata_opt): New static function.
...
* 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
2012-03-05 15:38:06 +00:00
Joern Rennecke
c64f8a47d3
Fix ChangeLog record for 171649:
...
* 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
2012-03-05 15:01:48 +00:00
Richard Guenther
cd7d9fd77b
cfgexpand.c (gimple_expand_cfg): Free dominator info.
...
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
2012-03-05 14:36:18 +00:00
Richard Guenther
b55f62ccae
re PR middle-end/52353 (-ftrapv -fnon-call-exceptions does not work)
...
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
2012-03-05 13:08:55 +00:00
Joseph Myers
8dad8b2590
* sv.po: Update.
...
From-SVN: r184930
2012-03-05 13:06:01 +00:00
Jakub Jelinek
3877a6a6c0
re PR tree-optimization/51721 (-Warray-bounds false positives and inconsistencies)
...
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
2012-03-05 13:27:55 +01:00
Tristan Gingold
091fe9ca65
configure.ac: Enable gdb and readline for ia64*-*-*vms*.
...
2012-03-05 Tristan Gingold <gingold@adacore.com>
* configure.ac: Enable gdb and readline for ia64*-*-*vms*.
* configure: Regenerate.
From-SVN: r184926
2012-03-05 11:56:29 +00:00
Jakub Jelinek
f9df6f16c7
* cfgrtl.c (cfg_layout_merge_blocks): Cleanup.
...
From-SVN: r184925
2012-03-05 12:53:01 +01:00
Richard Guenther
45c0175b88
tree.c (integer_zerop): Handle VECTOR_CSTs.
...
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
2012-03-05 11:30:40 +00:00
Georg-Johann Lay
d84f3a058b
avr.md (*umaddqihi4.2): New insn-and-split.
...
* config/avr/avr.md (*umaddqihi4.2): New insn-and-split.
From-SVN: r184919
2012-03-05 10:28:45 +00:00
Richard Guenther
1f338c3122
crontab: Remove 4.3 branch from the list of snapshots to make.
...
2013-03-05 Richard Guenther <rguenther@suse.de>
* crontab: Remove 4.3 branch from the list of snapshots to make.
From-SVN: r184918
2012-03-05 09:40:20 +00:00
Ian Lance Taylor
5e60b5708e
re PR go/52342 (64-bit go.test/test/chan/doubleselect.go times out on Solaris/SPARC)
...
PR go/52342
runtime: Better big-endian identity hash function.
From-SVN: r184914
2012-03-05 06:39:08 +00:00
Ian Lance Taylor
dbe1e4a5a6
libgo: Fix Solaris ustat.h test.
...
From-SVN: r184913
2012-03-05 06:04:14 +00:00
Paolo Carlini
2203cb90fb
re PR libstdc++/43813 ([DR1234] vector<T*>(3, NULL) fails to compile)
...
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
2012-03-05 01:15:28 +00:00
GCC Administrator
8e4ac5321e
Daily bump.
...
From-SVN: r184910
2012-03-05 00:18:48 +00:00
Mikael Morin
5bf5fa563a
re PR fortran/50981 ([OOP] Wrong-code for scalarizing ELEMENTAL call with absent OPTIONAL argument)
...
fortran/
PR fortran/50981
* gfortran.h (gfc_is_class_container_ref): New prototype.
* class.c (gfc_is_class_container_ref): New function.
* trans-expr.c (gfc_conv_procedure_call): Add a "_data" component
reference to polymorphic actual arguments.
testsuite/
PR fortran/50981
* gfortran.dg/elemental_optional_args_5.f03: Add subcomponent actual
argument checks.
From-SVN: r184904
2012-03-04 21:50:08 +00:00
Uros Bizjak
f0050a4b2a
i386.c (ix86_print_operand): Declare taken and cputaken as bool.
...
* config/i386/i386.c (ix86_print_operand) <case '+'>: Declare
taken and cputaken as bool.
From-SVN: r184903
2012-03-04 22:32:36 +01:00
H.J. Lu
55b86fb00d
Check Pmode instead of TARGET_64BIT
...
2012-03-04 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (pro_epilogue_adjust_stack): Check Pmode
instead of TARGET_64BIT.
From-SVN: r184901
2012-03-04 13:23:13 -08:00
H.J. Lu
4732e8de03
Check Pmode to set adjust_stack_insn
...
2012-03-04 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (ix86_expand_prologue): Check Pmode to set
adjust_stack_insn.
From-SVN: r184900
2012-03-04 13:21:55 -08:00
H.J. Lu
5ca9708b16
Only handle zero-extended DImode addresses
...
2012-03-04 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (ix86_print_operand_address): Only handle
zero-extended DImode addresses.
From-SVN: r184899
2012-03-04 13:19:43 -08:00
H.J. Lu
f57207b886
Update gcc.target/i386/pr52146.c to allow $-18874240
...
2012-03-04 H.J. Lu <hongjiu.lu@intel.com>
PR target/52146
* gcc.target/i386/pr52146.c: Update final-scan to allow $-18874240.
From-SVN: r184898
2012-03-04 13:17:34 -08:00