sje [Wed, 26 Sep 2012 20:33:28 +0000 (20:33 +0000)]
2012-09-26 Steve Ellcey <sellcey@mips.com>
PR c/37303
* gcc.dg/pr37303.c: Check for rdata or rodata.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191772
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Wed, 26 Sep 2012 17:49:38 +0000 (17:49 +0000)]
* diagnostic.c (bt_callback): Cast pc when calling fprintf.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191766
138bc75d-0d04-0410-961f-
82ee72b054a4
wschmidt [Wed, 26 Sep 2012 16:49:32 +0000 (16:49 +0000)]
2012-09-26 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR tree-optimization/54674
* gimple-ssa-strength-reduction.c (analyze_increments): Don't
introduce a multiplication with a pointer operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191765
138bc75d-0d04-0410-961f-
82ee72b054a4
gjl [Wed, 26 Sep 2012 13:46:29 +0000 (13:46 +0000)]
PR middle-end/54635
* doc/tm.texi.in (TARGET_MODE_DEPENDENT_ADDRESS_P): Document new
parameter addrspace.
* doc/tm.texi: Regenerate.
* target.def (mode_dependent_address_p): Add addr_space_t parameter.
* targhooks.h (default_mode_dependent_address_p): Ditto.
* targhooks.c (default_mode_dependent_address_p): Ditto.
* expr.c (convert_move): Pass address space to mode_dependent_address_p.
* combine.c (combine_simplify_rtx): Ditto.
(make_extraction): Ditto.
(simplify_shift_const_1): Ditto.
(gen_lowpart_for_combine): Ditto.
* lower-subreg.c (simple_move_operand): Ditto.
* recog.c (simplify_while_replacing): Ditto.
(offsettable_address_addr_space_p): Ditto.
(mode_dependent_address_p): Ditto.
* simplify-rtx.c (simplify_unary_operation_1): Ditto.
(simplify_subreg): Ditto.
* config/m68k/m68k.md: Ditto.
* config/vax/vax.md: Ditto.
* config/vax/constraints.md (Q): Ditto.
* config/vax/predicates.md (indexed_memory_operand): Ditto.
* config/alpha/alpha.c (alpha_mode_dependent_address_p): Add
unused addr_space_t parameter.
* config/avr/avr.c (avr_mode_dependent_address_p): Ditto.
* config/h8300/h8300.c (h8300_mode_dependent_address_p): Ditto.
* config/m32r/m32r.c (m32r_mode_dependent_address_p): Ditto.
* config/rs6000/rs6000.c (rs6000_mode_dependent_address_p): Ditto.
* config/rx/rx.c (rx_mode_dependent_address_p): Ditto.
* config/sparc/sparc.c (sparc_mode_dependent_address_p): Ditto.
* config/stormy16/stormy16.c (xstormy16_mode_dependent_address_p):
Ditto.
* config/vax/vax.c (vax_mode_dependent_address_p): Ditto.
* config/xtensa/xtensa.c (xtensa_mode_dependent_address_p): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191761
138bc75d-0d04-0410-961f-
82ee72b054a4
clyon [Wed, 26 Sep 2012 13:42:47 +0000 (13:42 +0000)]
2012-09-26 Christophe Lyon <christophe.lyon@linaro.org>
gcc/
* tree-ssa-math-opts.c (bswap_stats): Add found_16bit field.
(execute_optimize_bswap): Add support for builtin_bswap16.
gcc/testsuite/
* gcc.target/arm/builtin-bswap16-1.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191760
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 26 Sep 2012 13:16:07 +0000 (13:16 +0000)]
2012-09-26 Richard Guenther <rguenther@suse.de>
* tree.h (DECL_IS_BUILTIN): Compare LOCATION_LOCUS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191759
138bc75d-0d04-0410-961f-
82ee72b054a4
drepper [Wed, 26 Sep 2012 13:10:26 +0000 (13:10 +0000)]
2012-09-26 Ulrich Drepper <drepper@gmail.com>
Optimize bulk mode for normal_distribution<double> for SSE3.
* configure.host: Define cpu_opt_bits_random.
* configure.ac: Substitute CPU_OPT_BITS_RANDOM.
* include/Makefile.am (bits_headers): Add ${bits_host_headers}.
(bits_host_headers): Define.
* include/bits/random.tcc: Move __details::_Power_of_2 to...
* include/bits/random.h: ...here.
* include/std/random: Include <bits/opt_random.h>.
* config/cpu/i486/opt/bits/opt_random.h: New file.
* config/cpu/generic/opt/bits/opt_random.h: New file.
* configure: Regenerated.
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* doc/Makefile.in: Regenerated.
* include/Makefile.in: Regenerated.
* libsupc++/Makefile.in: Regenerated.
* po/Makefile.in: Regenerated.
* python/Makefile.in: Regenerated.
* src/Makefile.in: Regenerated.
* src/c++11/Makefile.in: Regenerated.
* src/c++98/Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.
* config/cpu/generic/opt/ext/opt_random.h: Fix comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191758
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Wed, 26 Sep 2012 12:38:08 +0000 (12:38 +0000)]
./:
* Makefile.def: Make all-gcc depend on all-libbacktrace.
* Makefile.in: Rebuild.
gcc/:
* diagnostic.c: Include "demangle.h" and "backtrace.h".
(bt_stop): New static array.
(bt_callback, bt_err_callback): New static functions.
(diagnostic_action_after_output): Call backtrace_full for DK_ICE.
* Makefile.in (BACKTRACE): New variable.
(BACKTRACEINC, LIBBACKTRACE): New variables.
(BACKTRACE_H): New variable.
(LIBDEPS, LIBS): Add $(LIBBACKTRACE).
(INCLUDES): Add $(BACKTRACEINC).
(diagnostic.o): Depend upon $(DEMANGLE_H) and $(BACKTRACE_H).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191757
138bc75d-0d04-0410-961f-
82ee72b054a4
segher [Wed, 26 Sep 2012 05:18:43 +0000 (05:18 +0000)]
gcc/
PR target/51274
PR target/53087
* config/rs6000/rs6000.md (ne0si): Remove unnecessary
earlyclobber. Merge with...
(ne0di): ... to...
(ne0_<mode>): New.
(plus_ne0si): Merge with...
(plus_ne0di): ... to...
(plus_ne0_<mode>): New.
(compare_plus_ne0si): Merge with...
(compare_plus_ne0di)... to...
(compare_plus_ne0_<mode>): New.
(compare_plus_ne0_<mode>_1): New.
(plus_ne0si_compare): Merge with...
(plus_ne0di_compare)... to...
(plus_ne0_<mode>_compare): New.
gcc/testsuite/
PR target/51274
PR target/53087
* gcc.target/powerpc/ppc-ne0-1.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191752
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 26 Sep 2012 00:17:45 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191750
138bc75d-0d04-0410-961f-
82ee72b054a4
dehao [Tue, 25 Sep 2012 21:32:29 +0000 (21:32 +0000)]
libcpp:
2012-09-25 Dehao Chen <dehao@google.com>
PR middle-end/54704
* line-map.c (location_adhoc_data_hash): Fix the hash function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191747
138bc75d-0d04-0410-961f-
82ee72b054a4
olegendo [Tue, 25 Sep 2012 19:06:28 +0000 (19:06 +0000)]
PR target/54089
* config/sh/constraints.md (Jhb): New constraint.
* config/sh/predicates.md (negt_reg_shl31_operand): New predicate.
* config/sh/sh.md (rotrsi3): New expander.
(rotrsi3_1, *rotrsi3_1, *rotlsi3_1): New insns.
(rotlsi3, rotlhi3): Use const_int_operand predicate instead of
immediate_operand and remove CONST_INT_P checks in expansion code.
(*rotcr): Cleanup variable usage. Handle preceding nott insn. Add
split with swapped operands.
(*rotcr_neg_t, *movt_msb, *negt_msb): New insns and splits.
PR target/54089
* gcc.target/sh/pr54089-1.c (test_15, test_16, test_17, test_18,
test_19, test_20, test_21, test_22, test_23): New functions.
* gcc.target/sh/pr54089-4.c: New.
* gcc.target/sh/pr54089-5.c: New.
* gcc.target/sh/pr54089-6.c: New.
* gcc.target/sh/pr54089-7.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191743
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Tue, 25 Sep 2012 18:47:35 +0000 (18:47 +0000)]
PR middle-end/53850
* trans-mem.c (expand_call_tm): Handle late built built-ins.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191742
138bc75d-0d04-0410-961f-
82ee72b054a4
gjl [Tue, 25 Sep 2012 16:24:24 +0000 (16:24 +0000)]
* Tippo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191717
138bc75d-0d04-0410-961f-
82ee72b054a4
gjl [Tue, 25 Sep 2012 16:19:43 +0000 (16:19 +0000)]
PR other/54701
* config/avr/avr-log.c (avr_double_int_pop_digit): Reerite using
double_int::udivmod.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191716
138bc75d-0d04-0410-961f-
82ee72b054a4
gjl [Tue, 25 Sep 2012 16:17:02 +0000 (16:17 +0000)]
* config/avr/avr.c (avr_set_current_function): Check cfun->machine
to be non-NULL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191715
138bc75d-0d04-0410-961f-
82ee72b054a4
gjl [Tue, 25 Sep 2012 16:02:20 +0000 (16:02 +0000)]
PR target/54641
* config/avr/t-avr: Use ALL_COMPILERFLAGS instead of ALL_CFLAGS
for sources compiled with COMPILER.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191714
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 25 Sep 2012 15:06:17 +0000 (15:06 +0000)]
2012-09-25 Richard Guenther <rguenther@suse.de>
PR lto/54625
* lto-symtab.c (lto_symtab_merge_cgraph_nodes_1): Do not merge
cgraph nodes for builtins.
* gcc.dg/lto/pr54702_0.c: New testcase.
* gcc.dg/lto/pr54702_1.c: Likewise.
* gcc.dg/lto/pr54625-1_0.c: Likewise.
* gcc.dg/lto/pr54625-1_1.C: Likewise.
* gcc.dg/lto/pr54625-2_0.c: Likewise.
* gcc.dg/lto/pr54625-2_1.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191713
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 25 Sep 2012 14:44:52 +0000 (14:44 +0000)]
/cp
2012-09-25 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/54526
* parser.c (cp_parser_template_id): In C++11 mode simply accept
X<::A>.
/testsuite
2012-09-25 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/54526
* g++.dg/cpp0x/parse2.C: New.
* g++.dg/parse/error11.C: Adjust.
* g++.dg/parse/error12.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191712
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Tue, 25 Sep 2012 14:01:17 +0000 (14:01 +0000)]
* vi.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191709
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Tue, 25 Sep 2012 13:59:01 +0000 (13:59 +0000)]
* be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, hr.po, id.po,
ja.po, nl.po, ru.po, sr.po, sv.po, tr.po, vi.po, zh_CN.po,
zh_TW.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191707
138bc75d-0d04-0410-961f-
82ee72b054a4
dehao [Tue, 25 Sep 2012 13:19:33 +0000 (13:19 +0000)]
gcc:
2012-09-25 Dehao Chen <dehao@google.com>
PR middle-end/54645
* c-family/c-pch.c (c_common_read_pch): Rebuild the location_adhoc_data
map when read in the pch.
libcpp:
2012-09-25 Dehao Chen <dehao@google.com>
PR middle-end/54645
* include/line-map.h (location_adhoc_data): Move location_adhoc_data
into GC.
(location_adhoc_data_map): Likewise.
(line_maps): Likewise.
(rebuild_location_adhoc_htab): New Function.
* line-map.c (+rebuild_location_adhoc_htab): new Funcion.
(get_combined_adhoc_loc): Move location_adhoc_data into GC.
(location_adhoc_data_fini): Likewise.
(linemap_init): Likewise.
(location_adhoc_data_init): Remove Function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191706
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Tue, 25 Sep 2012 13:06:31 +0000 (13:06 +0000)]
Add missing testcase
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191705
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Tue, 25 Sep 2012 13:05:23 +0000 (13:05 +0000)]
Update long double tests for long double size == double size
2012-09-25 Igor Zamyatin <igor.zamyatin@intel.com>
* gcc.target/i386/
20030217-1.c: Added check for
large_long_double effective target.
* gcc.target/i386/387-3.c: Likewise.
* gcc.target/i386/387-4.c: Likewise.
* gcc.target/i386/pr36578-1.c: Likewise.
* gcc.target/i386/excess-precision-1.c: Added new code for the case
when long double size is equal double size.
* gcc.target/i386/excess-precision-1.c: Likewise.
* gcc.target/i386/pr36578-2.c: Likewise.
* gcc.target/i386/
20030217-2.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191704
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 25 Sep 2012 12:46:54 +0000 (12:46 +0000)]
PR tree-optimization/54676
* tree-vrp.c (set_and_canonicalize_value_range): Handle
one bit precision properly.
* gcc.dg/pr54676.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191703
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 25 Sep 2012 12:27:47 +0000 (12:27 +0000)]
PR other/54692
* configure.ac (CFLAGS, CXXFLAGS): Remove -Ofast or -Og
properly.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191702
138bc75d-0d04-0410-961f-
82ee72b054a4
gjl [Tue, 25 Sep 2012 12:10:39 +0000 (12:10 +0000)]
PR other/54701
* config/avr/avr.c (avr_map_decompose): Use double_int::from_uhwi
instead of uhwi_to_double_int.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191701
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 25 Sep 2012 11:33:17 +0000 (11:33 +0000)]
2012-09-25 Richard Guenther <rguenther@suse.de>
* lto-symtab.c (lto_symtab_merge_decls_1): Properly merge
all of the chain.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191699
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 25 Sep 2012 08:43:38 +0000 (08:43 +0000)]
2012-09-25 Paolo Carlini <paolo.carlini@oracle.com>
* doc/xml/manual/status_cxx2011.xml: Update vs PR 44436.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191695
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 25 Sep 2012 07:51:51 +0000 (07:51 +0000)]
2012-09-25 Richard Guenther <rguenther@suse.de>
PR tree-optimization/53663
* tree-ssa-sccvn.c (vn_reference_lookup_3): Conditional
native encode/interpret translation on VN_WALKREWRITE.
* gcc.dg/torture/pr53663-1.c: New testcase.
* gcc.dg/torture/pr53663-2.c: Likewise.
* gcc.dg/torture/pr53663-3.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191694
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Tue, 25 Sep 2012 06:58:39 +0000 (06:58 +0000)]
* gcc.target/i386/pr50725.c: Change 'long' to 'long long'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191693
138bc75d-0d04-0410-961f-
82ee72b054a4
amker [Tue, 25 Sep 2012 06:37:29 +0000 (06:37 +0000)]
PR c++/50970
* typeck.c (cp_build_binary_op): Check side effects before generating
pfn and delta related expressions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191692
138bc75d-0d04-0410-961f-
82ee72b054a4
emsr [Tue, 25 Sep 2012 03:26:36 +0000 (03:26 +0000)]
Implement the K-distribution as an extension.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191688
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 25 Sep 2012 00:17:43 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191687
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Mon, 24 Sep 2012 22:21:49 +0000 (22:21 +0000)]
compiler: Better warning for switch on non-comparable type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191683
138bc75d-0d04-0410-961f-
82ee72b054a4
dehao [Mon, 24 Sep 2012 20:50:46 +0000 (20:50 +0000)]
2012-09-24 Dehao Chen <dehao@google.com>
* tree-cfg.c (move_stmt_op): Reset the expr block only
when necessary.
(move_block_to_fn): Reset the edge's goto block even
when the goto locus is unknown.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191680
138bc75d-0d04-0410-961f-
82ee72b054a4
fdumont [Mon, 24 Sep 2012 19:53:36 +0000 (19:53 +0000)]
2012-09-24 François Dumont <fdumont@gcc.gnu.org>
PR libstdc++/44436
* include/bits/stl_tree.h
(_Rb_tree<>::_M_insert_): Take _Base_ptr rather than
_Const_Base_ptr.
(_Rb_tree<>::_M_insert_node): New.
(_Rb_tree<>::_M_get_insert_unique_pos): New, search code of
_M_insert_unique method.
(_Rb_tree<>::_M_insert_unique): Use latter.
(_Rb_tree<>::_M_emplace_unique): New, likewise.
(_Rb_tree<>::_M_get_insert_equal_pos): New, search code of
_M_insert_equal method.
(_Rb_tree<>::_M_insert_equal): Use latter.
(_Rb_tree<>::_M_emplace_equal): New, likewise.
(_Rb_tree<>::_M_get_insert_hint_unique_pos): New, search code of
_M_insert_unique_ method.
(_Rb_tree<>::_M_insert_unique_): Use latter.
(_Rb_tree<>::_M_emplace_hint_unique): New, likewise.
(_Rb_tree<>::_M_get_insert_hint_equal_pos): New, search code of
_M_insert_equal_ method.
(_Rb_tree<>::_M_insert_equal_): Use latter.
(_Rb_tree<>::_M_emplace_hint_equal): New, likewise.
(_Rb_tree<>::_M_insert_lower): Remove first _Base_ptr parameter,
useless as always null.
* include/bits/stl_map.h: Include <tuple> in C++11.
(map<>::operator[](const key_type&)): Use
_Rb_tree<>::_M_emplace_hint_unique in C++11.
(map<>::operator[](key_type&&)): Likewise.
(map<>::emplace): New.
(map<>::emplace_hint): New.
* include/bits/stl_multimap.h (multimap<>::emplace): New.
(multimap<>::emplace_hint): New.
* include/bits/stl_set.h (set<>::emplace): New.
(set<>::emplace_hint): New.
* include/bits/stl_multiset.h (multiset<>::emplace): New.
(multiset<>::emplace_hint): New.
* include/debug/map.h (std::__debug::map<>::emplace): New.
(std::__debug::map<>::emplace_hint): New.
* include/debug/multimap.h (std::__debug::multimap<>::emplace):
New.
(std::__debug::multimap<>::emplace_hint): New.
* include/debug/set.h (std::__debug::set<>::emplace): New.
(std::__debug::set<>::emplace_hint): New.
* include/debug/multiset.h (std::__debug::multiset<>::emplace):
New.
(std::__debug::multiset<>::emplace_hint): New.
* include/profile/map.h (std::__profile::map<>::emplace): New.
(std::__profile::map<>::emplace_hint): New.
* include/profile/multimap.h (std::__profile::multimap<>::emplace):
New.
(std::__profile::multimap<>::emplace_hint): New.
* include/profile/set.h (std::__profile::set<>::emplace): New.
(std::__profile::set<>::emplace_hint): New.
* include/profile/multiset.h (std::__profile::multiset<>::emplace):
New.
(std::__profile::multiset<>::emplace_hint): New.
* testsuite/util/testsuite_container_traits.h: Signal that emplace
and emplace_hint are available on std::map, std::multimap,
std::set and std::multiset in C++11.
* testsuite/23_containers/map/operators/2.cc: New.
* testsuite/23_containers/map/modifiers/emplace/1.cc: New.
* testsuite/23_containers/multimap/modifiers/emplace/1.cc: New.
* testsuite/23_containers/set/modifiers/emplace/1.cc: New.
* testsuite/23_containers/multiset/modifiers/emplace/1.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191679
138bc75d-0d04-0410-961f-
82ee72b054a4
fdumont [Mon, 24 Sep 2012 19:48:06 +0000 (19:48 +0000)]
2012-09-24 François Dumont <fdumont@gcc.gnu.org>
* testsuite/performance/23_containers/insert_erase/41975.cc: Use
__uset_hashtable rather than removed __unordered_set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191678
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Mon, 24 Sep 2012 19:07:28 +0000 (19:07 +0000)]
Add missing PR to the ChangeLog
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191677
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Mon, 24 Sep 2012 19:05:18 +0000 (19:05 +0000)]
2012-09-24 Tobias Burnus <burnus@net-b.de>
PR fortran/54618
* trans-expr.c (gfc_conv_procedure_call): Fix INTENT(OUT)
handling for allocatable BT_CLASS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191676
138bc75d-0d04-0410-961f-
82ee72b054a4
crowl [Mon, 24 Sep 2012 18:22:31 +0000 (18:22 +0000)]
Finish conversion of uses of double_int to the new API.
Some old functionality required new interfaces, and these have been added to
double-int.[hc]:
double_int::from_pair - static constructor function
wide_mul_with_sign - double-wide multiply instruction
sub_with_overflow - subtraction with overlow testing
neg_with_overflow - negation with overlow testing
divmod_with_overflow - div and mod with overlow testing
This patch corrects the bootstrap problem on HPPA, via the addition of
sub_with_overflow. (The overflow properties of negation and addition are
different from subtraction.)
The prior two generations of the interface have been removed.
Some of these old interfaces are still used as static implementation in
double-int.c.
The changed compiler appears 0.321% faster with 80% confidence of being faster.
Tested on x86_64, HPPA, and SPARC. However, there are changes to the avr
config files, and I have not tested those.
Index: gcc/java/ChangeLog
2012-09-24 Lawrence Crowl <crowl@google.com>
* decl.c (java_init_decl_processing): Change to new double_int API.
* jcf-parse.c (get_constant): Likewise.
* boehm.c (mark_reference_fields): Likewise.
(get_boehm_type_descriptor): Likewise.
Index: gcc/ChangeLog
2012-09-24 Lawrence Crowl <crowl@google.com>
* double-int.h (double_int::from_pair): New.
(double_int::wide_mul_with_sign): New.
(double_int::sub_with_overflow): New.
(double_int::neg_with_overflow): New.
(double_int::divmod_with_overflow): New.
(shwi_to_double_int): Remove.
(uhwi_to_double_int): Remove.
(double_int_to_shwi): Remove.
(double_int_to_uhwi): Remove.
(double_int_fits_in_uhwi_p): Remove.
(double_int_fits_in_shwi_p): Remove.
(double_int_fits_in_hwi_p): Remove.
(double_int_mul): Remove.
(double_int_mul_with_sign): Remove.
(double_int_add): Remove.
(double_int_sub): Remove.
(double_int_neg): Remove.
(double_int_div): Remove.
(double_int_sdiv): Remove.
(double_int_udiv): Remove.
(double_int_mod): Remove.
(double_int_smod): Remove.
(double_int_umod): Remove.
(double_int_divmod): Remove.
(double_int_sdivmod): Remove.
(double_int_udivmod): Remove.
(double_int_multiple_of): Remove.
(double_int_setbit): Remove.
(double_int_ctz): Remove.
(double_int_not): Remove.
(double_int_ior): Remove.
(double_int_and): Remove.
(double_int_and_not): Remove.
(double_int_xor): Remove.
(double_int_lshift): Remove.
(double_int_rshift): Remove.
(double_int_lrotate): Remove.
(double_int_rrotate): Remove.
(double_int_negative_p): Remove.
(double_int_cmp): Remove.
(double_int_scmp): Remove.
(double_int_ucmp): Remove.
(double_int_max): Remove.
(double_int_smax): Remove.
(double_int_umax): Remove.
(double_int_min): Remove.
(double_int_smin): Remove.
(double_int_umin): Remove.
(double_int_ext): Remove.
(double_int_sext): Remove.
(double_int_zext): Remove.
(double_int_mask): Remove.
(double_int_max_value): Remove.
(double_int_min_value): Remove.
(double_int_zero_p): Remove.
(double_int_one_p): Remove.
(double_int_minus_one_p): Remove.
(double_int_equal_p): Remove.
(double_int_popcount): Remove.
(extern add_double_with_sign): Remove.
(#define add_double): Remove.
(extern neg_double): Remove.
(extern mul_double_with_sign): Remove.
(extern mul_double_wide_with_sign): Remove.
(#define mul_double): Remove.
(extern lshift_double): Remove.
(extern div_and_round_double): Remove.
* double-int.c (add_double_with_sign): Make static.
(#defined add_double): Localized from header.
(neg_double): Make static.
(mul_double_with_sign): Make static.
(mul_double_wide_with_sign): Make static.
(#defined mul_double): Localized from header.
(lshift_double): Make static.
(div_and_round_double): Make static.
(double_int::wide_mul_with_sign): New.
(double_int::sub_with_overflow): New.
(double_int::neg_with_overflow): New.
(double_int::divmod_with_overflow): New.
* emit-rtl.c (init_emit_once): Change to new double_int API.
* explow.c (plus_constant): Likewise.
* expmed.c (choose_multiplier): Likewise.
* fold-const.c (#define OVERFLOW_SUM_SIGN): Remove.
(int_const_binop_1): Change to new double_int API.
(fold_div_compare): Likewise.
(maybe_canonicalize_comparison): Likewise.
(pointer_may_wrap_p): Likewise.
(fold_negate_const): Likewise.
(fold_abs_const): Likewise.
* simplify-rtx.c (simplify_const_unary_operation): Likewise.
(simplify_const_binary_operation): Likewise.
* tree-chrec.c (tree_fold_binomial): Likewise.
* tree-vrp.c (extract_range_from_binary_expr_1): Likewise.
* config/sparc/sparc.c (sparc_fold_builtin): Likewise.
* config/avr/avr.c (avr_double_int_push_digit): Likewise.
(avr_map): Likewise.
(avr_map_decompose): Likewise.
(avr_out_insert_bits): Likewise.
Index: gcc/cp/ChangeLog
2012-09-24 Lawrence Crowl <crowl@google.com>
* init.c (build_new_1): Change to new double_int API.
* decl.c (build_enumerator): Likewise.
* typeck2.c (process_init_constructor_array): Likewise.
* mangle.c (write_array_type): Likewise.
Index: gcc/fortran/ChangeLog
2012-09-24 Lawrence Crowl <crowl@google.com>
* trans-expr.c (gfc_conv_cst_int_power): Change to new double_int API.
* target-memory.c (gfc_interpret_logical): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191675
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 24 Sep 2012 16:56:41 +0000 (16:56 +0000)]
2012-09-24 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/50828
* error.c (dump_function_decl): Strip TFF_TEMPLATE_NAME from flags
at the outset.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191673
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 24 Sep 2012 15:37:42 +0000 (15:37 +0000)]
* decl.c (get_atexit_node): Remove dead code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191672
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 24 Sep 2012 15:36:51 +0000 (15:36 +0000)]
* Make-lang.in (cp/parser.o): Depend on decl.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191671
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Mon, 24 Sep 2012 15:15:14 +0000 (15:15 +0000)]
doc/sourcebuild.texi (Selectors): Document the use of target
and xfail used together.
testsuite/
* lib/target-supports-dg.exp (dg-require-effective-target,
dg-skip-if, dg-xfail-if, dg-xfail-run-if, dg-shouldfail): Call
dg-process-target-1 instead of dg-process-target.
(dg-process-target-1): Rename from dg-process-target.
(dg-process-target): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191670
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 24 Sep 2012 15:02:53 +0000 (15:02 +0000)]
2012-09-24 Richard Guenther <rguenther@suse.de>
PR middle-end/54632
* tree-ssa-live.c (clear_unused_block_pointer_1): Do not
handle DECL_DEBUG_EXPR_IS_FROM here...
(clear_unused_block_pointer): ... but here when walking all
local decls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191669
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 24 Sep 2012 14:14:18 +0000 (14:14 +0000)]
2012-09-24 Richard Guenther <rguenther@suse.de>
PR tree-optimization/54684
* tree-ssa-ccp.c (optimize_unreachable): Properly update stmts.
* g++.dg/torture/pr54684.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191667
138bc75d-0d04-0410-961f-
82ee72b054a4
glisse [Mon, 24 Sep 2012 12:43:43 +0000 (12:43 +0000)]
2012-09-24 Marc Glisse <marc.glisse@inria.fr>
gcc/
* tree-ssa-forwprop.c: Include tree-ssa-propagate.h.
(simplify_bitfield_ref): Handle constructors.
* Makefile.in (tree-ssa-forwprop.o): Depend on tree-ssa-propagate.h.
gcc/testsuite/
* gcc.dg/tree-ssa/forwprop-23.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191665
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 24 Sep 2012 10:53:22 +0000 (10:53 +0000)]
2012-09-24 Richard Guenther <rguenther@suse.de>
* tree-ssa-pre.c (bitmap_find_leader, create_expression_by_pieces,
find_or_generate_expression): Remove dominating stmt argument.
(find_leader_in_sets, phi_translate_1, bitmap_find_leader,
create_component_ref_by_pieces_1, create_component_ref_by_pieces,
do_regular_insertion, do_partial_partial_insertion): Adjust.
(compute_avail): Do not set uids.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191664
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 24 Sep 2012 10:27:18 +0000 (10:27 +0000)]
* tree-streamer-in.c (unpack_ts_type_common_value_fields): Stream in
TYPE_NONALIASED_COMPONENT flag.
* tree-streamer-out.c (pack_ts_type_common_value_fields): Stream out
TYPE_NONALIASED_COMPONENT flag.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191662
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 24 Sep 2012 09:36:42 +0000 (09:36 +0000)]
2012-09-24 Jia Liu <proljc@gmail.com>
* doc/lto.texi: Separate sections.
* doc/plugins.texi: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191659
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 24 Sep 2012 08:57:08 +0000 (08:57 +0000)]
2012-09-24 Richard Guenther <rguenther@suse.de>
PR middle-end/52173
* gimple.c (gimple_copy): Properly mark the copy modified
if SSA operands are present.
* gcc.dg/tm/pr52173-1.c: New.
* gcc.dg/tm/pr52173-2.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191658
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 24 Sep 2012 00:17:52 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191657
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sun, 23 Sep 2012 20:37:37 +0000 (20:37 +0000)]
PR tree-optimization/54669
* tree-ssa-loop-ivcanon.c (propagate_into_all_uses): Invoke
maybe_clean_or_replace_eh_stmt on the modified use statements.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191654
138bc75d-0d04-0410-961f-
82ee72b054a4
glisse [Sun, 23 Sep 2012 19:58:28 +0000 (19:58 +0000)]
2012-09-23 Marc Glisse <marc.glisse@inria.fr>
* expr.c (do_store_flag): Remove duplicated code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191653
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 23 Sep 2012 19:58:16 +0000 (19:58 +0000)]
2012-09-23 Paolo Carlini <paolo.carlini@oracle.com>
Revert:
2012-09-21 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/stl_algobase.h (max, min): Use conditional operator.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191652
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 23 Sep 2012 14:21:35 +0000 (14:21 +0000)]
2012-09-23 Paolo Carlini <paolo.carlini@oracle.com>
Dominique Dhumieres <dominiq@lps.ens.fr>
PR testsuite/54677
* g++.dg/cpp0x/decltype32.C: Add -ftemplate-depth=10.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191651
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Sun, 23 Sep 2012 11:24:46 +0000 (11:24 +0000)]
PR libstdc++/54675
* include/ext/random: Avoid the badname __alpha (and, for
consistency, __mu, __nu, __sigma and __omega too).
* include/bits/random.tcc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191650
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Sun, 23 Sep 2012 06:48:48 +0000 (06:48 +0000)]
2012-09-23 Tobias Burnus <burnus@net-b.de>
* parse.c (parse_derived): Don't set attr.alloc_comp
for pointer components with allocatable subcomps.
PR fortran/54599
* resolve.c (resolve_fl_namelist): Remove superfluous
NULL check.
* simplify.c (simplify_min_max): Remove unreachable code.
* trans-array.c (gfc_trans_create_temp_array): Change
a condition into an assert.
PR fortran/54618
* trans-expr.c (gfc_trans_class_init_assign): Guard
re-setting of the _data by gfc_conv_expr_present.
(gfc_conv_procedure_call): Fix INTENT(OUT) handling
for allocatable BT_CLASS.
2012-09-23 Tobias Burnus <burnus@net-b.de>
PR fortran/54618
* gfortran.dg/class_array_14.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191649
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 23 Sep 2012 00:17:43 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191648
138bc75d-0d04-0410-961f-
82ee72b054a4
segher [Sat, 22 Sep 2012 23:02:06 +0000 (23:02 +0000)]
gcc/
* config/rs6000/predicates.md (altivec_register_operand,
vsx_register_operand, vfloat_operand, vint_operand,
vlogical_operand, gpc_reg_operand, cc_reg_operand,
cc_reg_not_cr0_operand, cc_reg_not_micro_cr0_operand):
If op is a SUBREG, consider its SUBREG_REG instead.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191645
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Sat, 22 Sep 2012 12:10:30 +0000 (12:10 +0000)]
* gcc.dg/tree-ssa/scev-3.c: Add llp64 to xfail.
* gcc.dg/tree-ssa/scev-4.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191642
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Sat, 22 Sep 2012 11:39:48 +0000 (11:39 +0000)]
* optabs.c (prepare_cmp_insn): Expand comparison of the result
of memcmp through generic comparison expansion code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191641
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Sat, 22 Sep 2012 10:32:51 +0000 (10:32 +0000)]
2012-09-22 Thomas König <tkoenig@gcc.gnu.org>
PR fortran/54599
* dependency.c (gfc_dep_compare_expr): Clarify logic,
remove dead code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191640
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Sat, 22 Sep 2012 07:18:45 +0000 (07:18 +0000)]
runtime: Reject surrogate pairs in range over string.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191638
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Sat, 22 Sep 2012 06:51:59 +0000 (06:51 +0000)]
compiler, runtime: Reject surrogate pair converting int to string.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191636
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Sat, 22 Sep 2012 06:33:10 +0000 (06:33 +0000)]
compiler: No error if shift operand inherits interface type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191634
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Sat, 22 Sep 2012 06:06:31 +0000 (06:06 +0000)]
runtime: Return random number of hash of NaN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191632
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Sat, 22 Sep 2012 06:02:35 +0000 (06:02 +0000)]
compiler: Fix determining types for builtin complex function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191630
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Sat, 22 Sep 2012 02:04:56 +0000 (02:04 +0000)]
Add -mno-crt0 to moxie port
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191629
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Sat, 22 Sep 2012 01:15:28 +0000 (01:15 +0000)]
compiler: Fix unnamed struct type converted to interface type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191627
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 22 Sep 2012 00:17:24 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191625
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Fri, 21 Sep 2012 22:11:24 +0000 (22:11 +0000)]
compiler: Better error messages for single- and multiple- value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191621
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Fri, 21 Sep 2012 21:07:24 +0000 (21:07 +0000)]
compiler: Better error message if method requires pointer receiver.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191619
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Fri, 21 Sep 2012 20:07:36 +0000 (20:07 +0000)]
Remove lto-symtab.o's dependency on gt-lto-symtab.h
PR bootstrap/54642
* Makefile.in (lto-symtab.o): Remove gt-lto-symtab.h dependency.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191618
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Fri, 21 Sep 2012 17:48:30 +0000 (17:48 +0000)]
compiler: len(<-c) is not a constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191616
138bc75d-0d04-0410-961f-
82ee72b054a4
dehao [Fri, 21 Sep 2012 17:01:36 +0000 (17:01 +0000)]
2012-09-21 Dehao Chen <dehao@google.com>
PR go/54649
PR tree-optimization/54655
* g++.dg/pr54655.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191615
138bc75d-0d04-0410-961f-
82ee72b054a4
dehao [Fri, 21 Sep 2012 15:35:46 +0000 (15:35 +0000)]
2012-09-21 Dehao Chen <dehao@google.com>
PR go/54649
* tree-eh.c (lower_try_finally_dup_block): Set the correct block for
stmts in the duplicated EH block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191614
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Fri, 21 Sep 2012 12:44:07 +0000 (12:44 +0000)]
2012-09-21 Richard Guenther <rguenther@suse.de>
PR tree-optimization/54647
* tree-ssa-pre.c (compute_avail): Do not put COND_EXPR
or VEC_COND_EXPR into EXP_GEN again.
* g++.dg/torture/pr54647.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191613
138bc75d-0d04-0410-961f-
82ee72b054a4
emsr [Fri, 21 Sep 2012 12:33:20 +0000 (12:33 +0000)]
Implement the Pareto distribution as an extension.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191612
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Fri, 21 Sep 2012 11:54:14 +0000 (11:54 +0000)]
2012-09-21 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/54629
* tree-loop-distribution.c (classify_partition): Free loop nest only
after freeing ddr. Free ddr and loop nest also if successful.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191611
138bc75d-0d04-0410-961f-
82ee72b054a4
doko [Fri, 21 Sep 2012 11:12:44 +0000 (11:12 +0000)]
2012-09-21 Matthias Klose <doko@ubuntu.com>
* config/arm/arm.c (arm_mangle_type): Don't warn anymore that
4.4 has changed the `va_list' mangling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191610
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 21 Sep 2012 11:06:51 +0000 (11:06 +0000)]
PR rtl-optimization/54290
PR rtl-optimization/54644
* reload1.c (choose_reload_regs): Fix thinko in previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191609
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 21 Sep 2012 10:48:30 +0000 (10:48 +0000)]
2012-09-21 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/stl_algobase.h (max, min): Use conditional operator.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191608
138bc75d-0d04-0410-961f-
82ee72b054a4
glisse [Fri, 21 Sep 2012 09:19:39 +0000 (09:19 +0000)]
2012-09-21 Marc Glisse <marc.glisse@inria.fr>
PR c++/54427
* c-c++-common/torture/vector-compare-2.c: Add -w.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191604
138bc75d-0d04-0410-961f-
82ee72b054a4
segher [Fri, 21 Sep 2012 00:33:27 +0000 (00:33 +0000)]
2012-09-20 Segher Boessenkool <segher@kernel.crashing.org>
gcc/
* config/rs6000/rs6000.md (define_split for plus_eqsi):
Fix output pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191600
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 21 Sep 2012 00:18:32 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191599
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 20 Sep 2012 22:38:42 +0000 (22:38 +0000)]
* reload1.c (choose_reload_regs): Add missing #ifdef/#endif pair.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191596
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Thu, 20 Sep 2012 22:01:47 +0000 (22:01 +0000)]
PR bootstrap/54643
* haifa-sched.c (schedule_block): Skip find_modifiable_mems if using
SCHED_PRESSURE_MODEL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191595
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 20 Sep 2012 21:58:46 +0000 (21:58 +0000)]
* gnat.dg/opt20.ads: Move dg directive to...
* gnat.dg/opt20.adb: ...here.
* gnat.dg/addr1.ad[sb]: Likewise.
* gnat.dg/concat2.ad[sb]: Likewise.
* gnat.dg/array16.ad[sb]: Likewise.
* gnat.dg/atomic5.ad[sb]: Likewise.
* gnat.dg/discr29.ad[sb]: Likewise.
* gnat.dg/noreturn5.ad[sb]: Likewise.
* gnat.dg/vect8.ad[sb]: Likewise. Add dg-options.
* gnat.dg/discr23.ads: Remove dg directive.
* gnat.dg/nested_float_packed.ads: Likewise.
* gnat.dg/oconst6.ads: Move to...
* gnat.dg/specs/oconst6.ads: ...here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191592
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Thu, 20 Sep 2012 20:49:20 +0000 (20:49 +0000)]
2012-09-20 Tobias Burnus <burnus@net-b.de>
PR fortran/54599
* cpp.c (print_line): Properly handle extern C.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191590
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 20 Sep 2012 20:17:34 +0000 (20:17 +0000)]
* rtlanal.c (dead_or_set_regno_p): Fix COND_EXEC handling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191586
138bc75d-0d04-0410-961f-
82ee72b054a4
walt [Thu, 20 Sep 2012 19:17:51 +0000 (19:17 +0000)]
Add tilegx to list of targets that support gold.
* configure.ac: Add tilegx to list of targets that support gold.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191585
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Thu, 20 Sep 2012 17:33:26 +0000 (17:33 +0000)]
compiler: Update for GCC push_cfun changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191582
138bc75d-0d04-0410-961f-
82ee72b054a4
mpolacek [Thu, 20 Sep 2012 17:05:41 +0000 (17:05 +0000)]
Merge identical cases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191581
138bc75d-0d04-0410-961f-
82ee72b054a4
mpolacek [Thu, 20 Sep 2012 17:02:40 +0000 (17:02 +0000)]
Don't cast XNEWVEC's result.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191580
138bc75d-0d04-0410-961f-
82ee72b054a4
mpolacek [Thu, 20 Sep 2012 16:45:28 +0000 (16:45 +0000)]
Add myself to MAINTAINERS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191578
138bc75d-0d04-0410-961f-
82ee72b054a4
jamborm [Thu, 20 Sep 2012 16:35:40 +0000 (16:35 +0000)]
2012-09-20 Martin Jambor <mjambor@suse.cz>
* function.c (push_cfun): Check old current_function_decl matches
old cfun, set new current_function_decl to the decl of the new
cfun.
(push_struct_function): Likewise.
(pop_cfun): Likewise.
(allocate_struct_function): Move call to
invoke_set_current_function_hook to the end of the function.
* cfgexpand.c (estimated_stack_frame_size): Do not set and restore
current_function_decl.
* cgraph.c (cgraph_release_function_body): Likewise.
* cgraphunit.c (cgraph_process_new_functions): Likewise.
(cgraph_add_new_function): Likewise.
(cgraph_analyze_function): Likewise.
(assemble_thunk): Set cfun to NULL at the end.
(expand_function): Move call to set_cfun downwards.
* gimple-low.c (record_vars_into): Only check current_function_decl
before possibly doing push_cfun.
* gimplify.c (gimplify_function_tree): Do not set and restore
current_function_decl.
* ipa-inline-analysis.c (compute_inline_parameters): Likewise.
(inline_analyze_function): Likewise.
* ipa-prop.c (ipa_analyze_node): Likewise.
* ipa-pure-const.c (analyze_function): Likewise.
* lto-streamer-in.c (lto_input_function_body): Do not set
current_function_decl.
* lto-streamer-out.c (output_function): Do not set and restore
current_function_decl.
* omp-low.c (finalize_task_copyfn): Likewise.
(expand_omp_taskreg): Likewise.
(create_task_copyfn): Likewise, move push_cfun up quite a bit.
* passes.c (dump_passes): Do not set and restore current_function_decl.
(do_per_function): Likewise.
(do_per_function_toporder): Likewise.
* trans-mem.c (ipa_tm_scan_irr_function): Likewise.
(ipa_tm_transform_transaction): Likewise.
(ipa_tm_transform_clone): Likewise.
(ipa_tm_execute): Likewise.
* tree-emutls.c (lower_emutls_function_body): Likewise.
* tree-inline.c (initialize_cfun): Do not call pop_cfun.
(tree_function_versioning): Do not call push_cfun, do not set and
restore current_function_decl. Remove assert checking consistency of
cfun and current_function_decl.
* tree-profile.c (tree_profiling): Do not set and restore
current_function_decl.
* tree-sra.c (convert_callers_for_node): Do not set
current_function_decl.
(convert_callers): Do not restore current_function_decl.
(modify_function): Do not set current_function_decl.
* tree-ssa-structalias.c (ipa_pta_execute): Do not set and restore
current_function_decl.
fortran/
* trans-decl.c (gfc_get_extern_function_decl): Push NULL cfun. Do not
set and restore current_function_decl.
(gfc_init_coarray_decl): Do not set and restore current_function_decl.
lto/
* lto.c (lto_materialize_function): Call push_struct_function and
pop_cfun.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191577
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Thu, 20 Sep 2012 16:32:27 +0000 (16:32 +0000)]
libgo: Add no-dist and -Wno-portability to AM_INIT_AUTOMAKE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191575
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Thu, 20 Sep 2012 16:31:05 +0000 (16:31 +0000)]
PR target/54631
* config/vxworks.c (vxworks_emutls_var_init): Update for new
VEC_quick_push interface.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191574
138bc75d-0d04-0410-961f-
82ee72b054a4