platform/upstream/linaro-gcc.git
10 years ago * cselib.c (cselib_hash_rtx): Perform addition in unsigned
jakub [Tue, 25 Mar 2014 09:27:54 +0000 (09:27 +0000)]
* cselib.c (cselib_hash_rtx): Perform addition in unsigned
type to avoid signed integer overflow.
* explow.c (plus_constant): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208804 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-25 Dominik Vogt <vogt@linux.vnet.ibm.com>
krebbel [Tue, 25 Mar 2014 09:12:18 +0000 (09:12 +0000)]
2014-03-25  Dominik Vogt  <vogt@linux.vnet.ibm.com>

* doc/generic.texi: Correct typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208803 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Tue, 25 Mar 2014 00:16:38 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208802 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoFix PR c++/60627
abutcher [Mon, 24 Mar 2014 20:40:15 +0000 (20:40 +0000)]
Fix PR c++/60627

PR c++/60627
* parser.c (cp_parser_parameter_declaration_clause): Prevent 'auto' from
introducing an implicit function template parameter within an explicit
instantiation.

PR c++/60627
* g++.dg/cpp1y/pr60627.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208799 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-24 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 24 Mar 2014 19:53:52 +0000 (19:53 +0000)]
2014-03-24  Tobias Burnus  <burnus@net-b.de>

        * doc/invoke.texi (-flto): Expand section about
        using static libraries with LTO.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208798 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Update.
jakub [Mon, 24 Mar 2014 19:48:12 +0000 (19:48 +0000)]
* config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Update.
* config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
* config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Remove TLS
entries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208797 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Mon, 24 Mar 2014 17:38:09 +0000 (17:38 +0000)]
2014-03-24  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

PR rtl-optimization/60501
* optabs.def (addptr3_optab): New optab.
* optabs.c (gen_addptr3_insn, have_addptr3_insn): New function.
* doc/md.texi ("addptrm3"): Document new RTL standard expander.
* expr.h (gen_addptr3_insn, have_addptr3_insn): Add prototypes.

* lra.c (emit_add3_insn): Use the addptr pattern if available.

* config/s390/s390.md ("addptrdi3", "addptrsi3"): New expanders.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208796 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-24 Ulrich Drepper <drepper@gmail.com>
drepper [Mon, 24 Mar 2014 16:27:36 +0000 (16:27 +0000)]
2014-03-24  Ulrich Drepper  <drepper@gmail.com>

        * config/i386/avx512fintrin.h: Define _mm512_set1_ps and
        _mm512_set1_pd.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208794 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-24 Ulrich Drepper <drepper@gmail.com>
drepper [Mon, 24 Mar 2014 16:17:51 +0000 (16:17 +0000)]
2014-03-24  Ulrich Drepper  <drepper@gmail.com>

        * config/i386/avxintrin.h (_mm256_undefined_si256): Define.
        (_mm256_undefined_ps): Define.
        (_mm256_undefined_pd): Define.
        * config/i386/emmintrin.h (_mm_undefined_si128): Define.
        (_mm_undefined_pd): Define.
        * config/i386/xmmintrin.h (_mm_undefined_ps): Define.
        * config/i386/avx512fintrin.h (_mm512_undefined_si512): Define.
        (_mm512_undefined_ps): Define.
        (_mm512_undefined_pd): Define.
        Use _mm*_undefined_*.
        * config/i386/avx2intrin.h: Use _mm*_undefined_*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208793 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c++/60574
jason [Mon, 24 Mar 2014 15:55:43 +0000 (15:55 +0000)]
PR c++/60574
* decl.c (grokdeclarator): Change permerror about 'virtual auto'
to error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208792 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * sv.po: Update.
jsm28 [Mon, 24 Mar 2014 15:04:14 +0000 (15:04 +0000)]
* sv.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208791 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago[AArch64] Logical vector shift right conformance
jgreenhalgh [Mon, 24 Mar 2014 12:05:38 +0000 (12:05 +0000)]
[AArch64] Logical vector shift right conformance

gcc/

* config/aarch64/aarch64-simd-builtins.def (lshr): DI mode excluded.
(lshr_simd): DI mode added.
* config/aarch64/aarch64-simd.md (aarch64_lshr_simddi): New pattern.
(aarch64_ushr_simddi): Likewise.
* config/aarch64/aarch64.md (UNSPEC_USHR64): New unspec.
* config/aarch64/arm_neon.h (vshr_n_u64): Intrinsic fixed.
(vshrd_n_u64): Likewise.

gcc/testsuite/

* gcc.target/aarch64/ushr64_1.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208789 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago[AArch64 testsuite] Make vect-abs.c C99 compliant
jgreenhalgh [Mon, 24 Mar 2014 11:47:33 +0000 (11:47 +0000)]
[AArch64 testsuite] Make vect-abs.c C99 compliant

* gcc.target/aarch64/vect-abs.c (dg-options): Add -std=c99.
(LONG_LONG): Use LLONG.
(set_rvector_long): Explicitly return void.
(set_vector_long): Likewise.
(check_vector_long): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208788 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * c-c++-common/ubsan/div-by-zero-4.c: Don't include limits.h. Define
mpolacek [Mon, 24 Mar 2014 10:20:15 +0000 (10:20 +0000)]
* c-c++-common/ubsan/div-by-zero-4.c: Don't include limits.h.  Define
INT_MIN.
* c-c++-common/ubsan/overflow-1.c: Check for unwanted output.
* c-c++-common/ubsan/overflow-add-1.c: Likewise.
* c-c++-common/ubsan/overflow-mul-1.c: Likewise.
* c-c++-common/ubsan/overflow-mul-3.c: Likewise.
* c-c++-common/ubsan/overflow-negate-2.c: Likewise.
* c-c++-common/ubsan/overflow-sub-1.c: Likewise.
* c-c++-common/ubsan/pr59503.c: Likewise.
* c-c++-common/ubsan/pr60613-1.c: Likewise.
* c-c++-common/ubsan/save-expr-1.c: Likewise.
* c-c++-common/ubsan/shift-3.c: Likewise.
* c-c++-common/ubsan/shift-6.c: Likewise.
* c-c++-common/ubsan/undefined-1.c: Likewise.
* c-c++-common/ubsan/vla-2.c: Likewise.
* c-c++-common/ubsan/vla-3.c: Likewise.
* c-c++-common/ubsan/vla-4.c: Likewise.
* g++.dg/ubsan/cxx11-shift-1.C: Likewise.
* g++.dg/ubsan/return-2.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208787 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoHave s-macro_list depend on cc1
ro [Mon, 24 Mar 2014 09:24:07 +0000 (09:24 +0000)]
Have s-macro_list depend on cc1

* Makefile.in (s-macro_list): Depend on cc1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208786 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * gcc.dg/tree-prof/pr59003.c: Add -fno-common to dg-options on
danglin [Mon, 24 Mar 2014 01:11:51 +0000 (01:11 +0000)]
* gcc.dg/tree-prof/pr59003.c: Add -fno-common to dg-options on
hppa*-*-hpux*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208783 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * gcc.dg/torture/pr60092.c: Skip on 32-bit hpux.
danglin [Mon, 24 Mar 2014 00:47:58 +0000 (00:47 +0000)]
* gcc.dg/torture/pr60092.c: Skip on 32-bit hpux.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208782 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR libfortran/59313
danglin [Mon, 24 Mar 2014 00:32:41 +0000 (00:32 +0000)]
PR libfortran/59313
PR libfortran/58015
* gfortran.dg/erf_3.F90: Skip on hppa*-*-hpux*.
* gfortran.dg/round_4.f90: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208781 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-23 Dominique d'Humieres <dominiq@lps.ens.fr>
jvdelisle [Mon, 24 Mar 2014 00:29:43 +0000 (00:29 +0000)]
2014-03-23  Dominique d'Humieres  <dominiq@lps.ens.fr>

PR libfortran/60128
* gfortran.dg/fmt_en.f90: Update test. XFAIL for
i?86-*-solaris2.9*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208780 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Mon, 24 Mar 2014 00:17:06 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208779 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * testsuite/23_containers/bitset/45713.cc: Skip compile on hppa*64*-*-*.
danglin [Mon, 24 Mar 2014 00:09:24 +0000 (00:09 +0000)]
* testsuite/23_containers/bitset/45713.cc: Skip compile on hppa*64*-*-*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208776 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-23 François Dumont <fdumont@gcc.gnu.org>
fdumont [Sun, 23 Mar 2014 20:19:11 +0000 (20:19 +0000)]
2014-03-23  François Dumont  <fdumont@gcc.gnu.org>

* include/bits/hashtable.h (_Hashtable(allocator_type)): Fix call
to delegated constructor.
(_Hashtable(size_type, _H1, key_equal, allocator_type)): Likewise.
(_Hashtable<_It>(_It, _It, size_type, _H1, key_equal, allocator_type)):
Likewise.
(_Hashtable(
initializer_list, size_type, _H1, key_equal, allocator_type)): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208775 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR libstdc++/60623
danglin [Sun, 23 Mar 2014 15:12:38 +0000 (15:12 +0000)]
PR libstdc++/60623
* config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208774 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-23 Teresa Johnson <tejohnson@google.com>
tejohnson [Sun, 23 Mar 2014 15:07:21 +0000 (15:07 +0000)]
2014-03-23  Teresa Johnson  <tejohnson@google.com>

* ipa-utils.c (ipa_print_order): Use specified dump file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208773 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR rtl-optimization/60601
ebotcazou [Sun, 23 Mar 2014 11:29:42 +0000 (11:29 +0000)]
PR rtl-optimization/60601
* bb-reorder.c (fix_up_fall_thru_edges): Test EDGE_FALLTHRU everywhere.

* gcc.c (eval_spec_function): Initialize save_growing_value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208770 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Sun, 23 Mar 2014 00:16:53 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208769 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR sanitizer/60613
jakub [Sat, 22 Mar 2014 16:25:50 +0000 (16:25 +0000)]
PR sanitizer/60613
* internal-fn.c (ubsan_expand_si_overflow_addsub_check): For
code == MINUS_EXPR, never swap op0 with op1.

* c-c++-common/ubsan/pr60613-1.c: New test.
* c-c++-common/ubsan/pr60613-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208766 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * toplev.c (init_local_tick): Avoid signed integer multiplication
jakub [Sat, 22 Mar 2014 14:03:20 +0000 (14:03 +0000)]
* toplev.c (init_local_tick): Avoid signed integer multiplication
overflow.
* genautomata.c (reserv_sets_hash_value): Fix rotate idiom, avoid
shift by first operand's bitsize.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208765 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-22 Matthias Klose <doko@ubuntu.com>
doko [Sat, 22 Mar 2014 13:07:32 +0000 (13:07 +0000)]
2014-03-22  Matthias Klose  <doko@ubuntu.com>

        * g++.dg/cpp0x/regress: Remove empty directory.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208764 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR debug/60603
jakub [Sat, 22 Mar 2014 07:18:38 +0000 (07:18 +0000)]
PR debug/60603
c-family/
* c-opts.c (c_finish_options): Restore cb_file_change call to
<built-in>.
fortran/
* cpp.c (gfc_cpp_init): Restore cb_change_file call to
<built-in>.
testsuite/
* gcc.dg/debug/dwarf2/dwarf2-macro2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208763 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Sat, 22 Mar 2014 00:16:29 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208762 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-21 Jerry DeLisle <jvdelisle@gcc.gnu>
jvdelisle [Fri, 21 Mar 2014 22:19:44 +0000 (22:19 +0000)]
2014-03-21  Jerry DeLisle  <jvdelisle@gcc.gnu>

PR libfortran/60148
* io/transfer.c (data_transfer_init): If std= was specified, set
delim status to DELIM_NONE of no other was specified.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208759 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 21 Mar 2014 22:14:36 +0000 (22:14 +0000)]
2014-03-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/60148
* gfortran.texi: Add description of namelist DELIM= behavior.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208757 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR target/60610
jakub [Fri, 21 Mar 2014 21:24:31 +0000 (21:24 +0000)]
PR target/60610
* config/i386/i386.h (TARGET_64BIT_P): If not TARGET_BI_ARCH,
redefine to 1 or 0.
* config/i386/darwin.h (TARGET_64BIT_P): Redefine to
TARGET_ISA_64BIT_P(x).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208756 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR libstdc++/60587
redi [Fri, 21 Mar 2014 18:54:06 +0000 (18:54 +0000)]
PR libstdc++/60587
* include/debug/functions.h (_Is_contiguous_sequence): Define.
(__foreign_iterator): Accept additional iterator. Do not dispatch on
iterator category.
(__foreign_iterator_aux2): Likewise. Add overload for iterators
from different types of debug container. Use _Is_contiguous_sequence
instead of is_lvalue_reference.
(__foreign_iterator_aux3): Accept additional iterator. Avoid
dereferencing past-the-end iterator.
(__foreign_iterator_aux4): Use const value_type* instead of
potentially user-defined const_pointer type.
* include/debug/macros.h (__glibcxx_check_insert_range): Fix comment
and pass end iterator to __gnu_debug::__foreign_iterator.
(__glibcxx_check_insert_range_after): Likewise.
(__glibcxx_check_max_load_factor): Fix comment.
* include/debug/vector (_Is_contiguous_sequence): Define partial
specializations.
* testsuite/23_containers/vector/debug/57779_neg.cc: Remove
-std=gnu++11 option and unused header.
* testsuite/23_containers/vector/debug/60587.cc: New.
* testsuite/23_containers/vector/debug/60587_neg.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208755 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-21 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 21 Mar 2014 17:06:11 +0000 (17:06 +0000)]
2014-03-21  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/cpp1y/pr60033.C: Use target c++1y.
* g++.dg/cpp1y/pr60393.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208753 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago/cp
paolo [Fri, 21 Mar 2014 16:35:26 +0000 (16:35 +0000)]
/cp
2014-03-21  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/60384
* name-lookup.c (push_class_level_binding_1): Check identifier_p
on the name argument.

/testsuite
2014-03-21  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/60384
* g++.dg/cpp1y/pr60384.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208752 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
wschmidt [Fri, 21 Mar 2014 16:14:11 +0000 (16:14 +0000)]
2014-03-21  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/rs6000.c (rs6000_expand_vector_set): Generate a
pattern for vector nor instead of subtract from splat(-1).
(altivec_expand_vec_perm_const_le): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208750 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoPR target/60598
rth [Fri, 21 Mar 2014 15:31:25 +0000 (15:31 +0000)]
PR target/60598

* ifcvt.c (dead_or_predicable): Return FALSE if there are any frame
related insns after epilogue_completed.
* gcc.dg/pr60598.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208749 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-21 Martin Jambor <mjambor@suse.cz>
jamborm [Fri, 21 Mar 2014 12:59:35 +0000 (12:59 +0000)]
2014-03-21  Martin Jambor  <mjambor@suse.cz>

PR ipa/59176
* cgraph.h (symtab_node): New flag body_removed.
* ipa.c (symtab_remove_unreachable_nodes): Set body_removed flag
when removing bodies.
* symtab.c (dump_symtab_base): Dump body_removed flag.
* cgraph.c (verify_edge_corresponds_to_fndecl): Skip nodes which
had their bodies removed.

testsuite/
        * g++.dg/torture/pr59176.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208748 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-21 Martin Jambor <mjambor@suse.cz>
jamborm [Fri, 21 Mar 2014 12:48:02 +0000 (12:48 +0000)]
2014-03-21  Martin Jambor  <mjambor@suse.cz>

PR ipa/60419
* ipa.c (symtab_remove_unreachable_nodes): Clear thunk flag of nodes
in the border.

testsuite/
* g++.dg/ipa/pr60419.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208747 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-21 Richard Biener <rguenther@suse.de>
rguenth [Fri, 21 Mar 2014 11:52:50 +0000 (11:52 +0000)]
2014-03-21  Richard Biener  <rguenther@suse.de>

PR tree-optimization/60577
* tree-core.h (struct tree_base): Document nothrow_flag use
in VAR_DECL_NONALIASED.
* tree.h (VAR_DECL_NONALIASED): New.
(may_be_aliased): Adjust.
* coverage.c (build_var): Set VAR_DECL_NONALIASED.

* gcc.dg/tree-ssa/ssa-lim-11.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208746 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * configure.ac: Move BUILD_CONFIG set up earlier. Add
jakub [Fri, 21 Mar 2014 07:16:06 +0000 (07:16 +0000)]
* configure.ac: Move BUILD_CONFIG set up earlier.  Add
--enable-vtable-verify option parsing.  Don't add
target-libsanitizer to bootstrap_target_libs unless
--with-build-config=bootstrap-asan or
--with-build-config=bootstrap-ubsan.  Don't add target-libvtv
to bootstrap_target_libs unless --enable-vtable-verify.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208745 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Fri, 21 Mar 2014 00:16:46 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208743 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * expr.c (expand_expr_real_1): Remove outdated comment.
ebotcazou [Thu, 20 Mar 2014 23:47:23 +0000 (23:47 +0000)]
* expr.c (expand_expr_real_1): Remove outdated comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208740 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-21 Tobias Burnus <burnus@net-b.de>
burnus [Thu, 20 Mar 2014 23:16:57 +0000 (23:16 +0000)]
2014-03-21  Tobias Burnus  <burnus@net-b.de>

        PR fortran/60599
        * lib/gcc-dg.exp (scan-module): Uncompress .mod files for
        reading.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208739 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-20 Tobias Burnus <burnus@net-b.de>
burnus [Thu, 20 Mar 2014 19:50:51 +0000 (19:50 +0000)]
2014-03-20  Tobias Burnus  <burnus@net-b.de>

        PR other/60589

        Reverted:
        2014-03-09  Tobias Burnus  <burnus@net-b.de>

        * Makefile.am: Install cilk.h.
        * Makefile.in: Regenerate.
        * aclocal.m4: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208736 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR middle-end/60597
jakub [Thu, 20 Mar 2014 19:47:09 +0000 (19:47 +0000)]
PR middle-end/60597
* ira.c (adjust_cleared_regs): Call copy_rtx on
*reg_equiv[REGNO (loc)].src_p before passing it to
simplify_replace_fn_rtx.

* g++.dg/opt/pr60597.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208735 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c++/60572
jakub [Thu, 20 Mar 2014 19:45:09 +0000 (19:45 +0000)]
PR c++/60572
* init.c (build_zero_init_1): Ignore fields with error_mark_node
type.

* g++.dg/init/pr60572.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208734 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agocompiler: Consider the depth of a nested composite literal during traversal.
ian [Thu, 20 Mar 2014 19:37:50 +0000 (19:37 +0000)]
compiler: Consider the depth of a nested composite literal during traversal.

Fixes issue 7590.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208731 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * crossconfig.m4: Support spu-*-elf* targets.
uweigand [Thu, 20 Mar 2014 18:57:07 +0000 (18:57 +0000)]
* crossconfig.m4: Support spu-*-elf* targets.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208730 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoChangeLog: Fix typo
joel [Thu, 20 Mar 2014 16:15:39 +0000 (16:15 +0000)]
ChangeLog: Fix typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208714 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
joel [Thu, 20 Mar 2014 16:11:10 +0000 (16:11 +0000)]
2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>

* config.host (v850*-*-*): Add to tmake_file instead of resetting
it. This was removing the v850*-*-rtems* settings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208708 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR target/60568
jakub [Thu, 20 Mar 2014 16:05:41 +0000 (16:05 +0000)]
PR target/60568
* config/i386/i386.c (x86_output_mi_thunk): Surround UNSPEC_GOT
into CONST, put pic register as first operand of PLUS.  Use
gen_const_mem for both 32-bit and 64-bit PIC got loads.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208706 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDelete obsolete definition of MEMORY_MOVE_COST in AArch64.
ramana [Thu, 20 Mar 2014 15:59:15 +0000 (15:59 +0000)]
Delete obsolete definition of MEMORY_MOVE_COST in AArch64.

2014-03-20  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

        * config/aarch64/aarch64.c (MEMORY_MOVE_COST): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208705 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/sparc/sparc.c (sparc_do_work_around_errata): Implement work
ebotcazou [Thu, 20 Mar 2014 11:39:39 +0000 (11:39 +0000)]
* config/sparc/sparc.c (sparc_do_work_around_errata): Implement work
around for store forwarding issue in the FPU on the UT699.
* config/sparc/sparc.md (in_branch_delay): Return false for single FP
loads and operations if -mfix-ut699 is specified.
(divtf3_hq): Tweak attribute.
(sqrttf2_hq): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208695 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * calls.c (store_one_arg): Remove incorrect const qualification on the
ebotcazou [Thu, 20 Mar 2014 11:35:22 +0000 (11:35 +0000)]
* calls.c (store_one_arg): Remove incorrect const qualification on the
type of the temporary.
* cfgexpand.c (expand_return): Likewise.
* expr.c (expand_constructor): Likewise.
(expand_expr_real_1): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208694 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-19 Tobias Burnus <burnus@net-b.>
burnus [Thu, 20 Mar 2014 06:53:01 +0000 (06:53 +0000)]
2014-03-19  Tobias Burnus  <burnus@net-b.>

        PR fortran/60543
        * io.c (check_io_constraints): Use gfc_unset_implicit_pure.
        * resolve.c (resolve_ordinary_assign): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208693 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoChangeLog:
zqchen [Thu, 20 Mar 2014 02:18:14 +0000 (02:18 +0000)]
ChangeLog:
2014-03-20  Zhenqiang Chen  <zhenqiang.chen@linaro.org>

* config/arm/arm.c (arm_dwarf_register_span): Update the element number
of parts.

testsuite/ChangeLog:
2014-03-20  Zhenqiang Chen  <zhenqiang.chen@linaro.org>

* gcc.target/arm/neon-modes-3.c: Add "-g" option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208692 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Thu, 20 Mar 2014 00:17:18 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208691 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR target/60039
kkojima [Wed, 19 Mar 2014 22:51:47 +0000 (22:51 +0000)]
PR target/60039
* config/sh/sh.md (udivsi3_i1): Clobber R1 register

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208688 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-18 Tobias Burnus <burnus@net-b.de>
burnus [Wed, 19 Mar 2014 21:03:14 +0000 (21:03 +0000)]
2014-03-18  Tobias Burnus  <burnus@net-b.de>

        PR fortran/60543
        PR fortran/60283
        * gfortran.h (gfc_unset_implicit_pure): New prototype.
        * resolve.c (gfc_unset_implicit_pure): New.
        (resolve_structure_cons, resolve_function,
        pure_subroutine): Use it.
        * decl.c (match_old_style_init, gfc_match_data,
        match_pointer_init, variable_decl): Ditto.
        * expr.c (gfc_check_pointer_assign): Ditto.
        * intrinsic.c (gfc_intrinsic_sub_interface): Ditto.
        * io.c (match_vtag, gfc_match_open, gfc_match_close,
        match_filepos, gfc_match_inquire, gfc_match_print,
        gfc_match_wait): Ditto.
        * match.c (gfc_match_critical, gfc_match_stopcode,
        lock_unlock_statement, sync_statement, gfc_match_allocate,
        gfc_match_deallocate): Ditto.
        * parse.c (decode_omp_directive): Ditto.
        * symbol.c (gfc_add_save): Ditto.

2014-03-18  Tobias Burnus  <burnus@net-b.de>

        PR fortran/60543
        PR fortran/60283
        * gfortran.dg/implicit_pure_4.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208687 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago/cp
paolo [Wed, 19 Mar 2014 18:21:52 +0000 (18:21 +0000)]
/cp
2014-03-19  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51474
* call.c (build_new_method_call_1): Handle pure virtuals called by
NSDMIs too.

/testsuite
2014-03-19  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51474
* g++.dg/cpp0x/nsdmi-virtual2.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208686 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoLog environment variables in set_ld_library_path_env_vars
hjl [Wed, 19 Mar 2014 16:59:18 +0000 (16:59 +0000)]
Log environment variables in set_ld_library_path_env_vars

GNU linker sets DT_RPATH from the environment variable LD_RUN_PATH.
set_ld_library_path_env_vars sets a few environment variables including
LD_RUN_PATH.  This patch logs all environment variables set by
set_ld_library_path_env_vars so that one can recreate the same
executable as "make check" run.

PR testsuite/60590
* lib/target-libpath.exp (set_ld_library_path_env_vars): Log
LD_LIBRARY_PATH, LD_RUN_PATH, SHLIB_PATH, LD_LIBRARY_PATH_32,
LD_LIBRARY_PATH_64 and DYLD_LIBRARY_PATH.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208685 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-19 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Wed, 19 Mar 2014 15:48:39 +0000 (15:48 +0000)]
2014-03-19  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/60332
* g++.dg/cpp1y/pr60332.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208684 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago[ARM] [Trivial] Fix shortening of field name extend.
jgreenhalgh [Wed, 19 Mar 2014 15:47:59 +0000 (15:47 +0000)]
[ARM] [Trivial] Fix shortening of field name extend.

gcc/
* config/arm/aarch-common-protos.h
(alu_cost_table): Fix spelling of "extend".
* config/arm/arm.c (arm_new_rtx_costs): Fix spelling of "extend".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208683 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-19 Richard Biener <rguenther@suse.de>
rguenth [Wed, 19 Mar 2014 15:37:28 +0000 (15:37 +0000)]
2014-03-19  Richard Biener  <rguenther@suse.de>

PR middle-end/60553
* tree-core.h (tree_type_common): Re-order pointer members
to reduce recursion depth during GC walks.

lto/
* lto-tree.h (lang_tree_node): For types use TYPE_NEXT_VARIANT
instead of TREE_CHAIN as chain_next.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208682 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR sanitizer/60569
mpolacek [Wed, 19 Mar 2014 12:25:04 +0000 (12:25 +0000)]
PR sanitizer/60569
* ubsan.c (ubsan_type_descriptor): Check that DECL_NAME is nonnull
before accessing it.
testsuite/
* g++.dg/ubsan/pr60569.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208681 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoRequire tls_runtime in gcc.dg/tls/pr58595.c
ro [Wed, 19 Mar 2014 12:05:25 +0000 (12:05 +0000)]
Require tls_runtime in gcc.dg/tls/pr58595.c

* gcc.dg/tls/pr58595.c: Require tls_runtime instead of tls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208680 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-19 Richard Biener <rguenther@suse.de>
rguenth [Wed, 19 Mar 2014 11:35:59 +0000 (11:35 +0000)]
2014-03-19  Richard Biener  <rguenther@suse.de>

* lto.c (lto_wpa_write_files): Move call to
lto_promote_cross_file_statics ...
(do_whole_program_analysis): ... here, into the partitioning
block.  Do not ggc_collect after lto_wpa_write_files but
for a last time before it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208679 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-19 Richard Biener <rguenther@suse.de>
rguenth [Wed, 19 Mar 2014 09:22:15 +0000 (09:22 +0000)]
2014-03-19  Richard Biener  <rguenther@suse.de>

PR lto/59543
* lto-streamer-in.c (input_function): In WPA stage do not drop
debug stmts.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208677 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR tree-optimization/60559
jakub [Wed, 19 Mar 2014 09:13:32 +0000 (09:13 +0000)]
PR tree-optimization/60559
* vectorizable_mask_load_store): Replace scalar MASK_LOAD
with build_zero_cst assignment.

* g++.dg/vect/pr60559.cc: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208676 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR lto/60571
jakub [Wed, 19 Mar 2014 07:18:46 +0000 (07:18 +0000)]
PR lto/60571
* lto.c (wait_for_child): Define WCONTINUED if not defined to 0.
Fix formatting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208675 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR target/60563
ian [Wed, 19 Mar 2014 03:38:21 +0000 (03:38 +0000)]
PR target/60563
* g++.dg/ext/sync-4.C (int32_t): Remove typedef.
(ditype): Rename typedef from int64_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208674 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Wed, 19 Mar 2014 00:16:49 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208672 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-19 Manuel López-Ibáñez <manu@gcc.gnu.org>
manu [Tue, 18 Mar 2014 23:22:02 +0000 (23:22 +0000)]
2014-03-19  Manuel López-Ibáñez  <manu@gcc.gnu.org>

PR c/55383
* gcc.dg/cast-qual-3.c: New.
Revert:
2014-03-18  Manuel López-Ibáñez  <manu@gcc.gnu.org>
* c-c++-common/Wcast-qual-1.c: More precise match text.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208669 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-18 Janus Weil <janus@gcc.gnu.org>
janus [Tue, 18 Mar 2014 22:15:10 +0000 (22:15 +0000)]
2014-03-18  Janus Weil  <janus@gcc.gnu.org>

PR fortran/55207
PR fortran/60549
* decl.c (match_attr_spec): Revert r208590.

2014-03-18  Janus Weil  <janus@gcc.gnu.org>

PR fortran/55207
PR fortran/60549
* gfortran.dg/assumed_rank_7.f90: Revert r208590.
* gfortran.dg/c_ptr_tests_16.f90: Ditto.
* gfortran.dg/inline_sum_bounds_check_1.f90: Ditto.
* gfortran.dg/intent_optimize_1.f90: Ditto.
* gfortran.dg/pointer_init_9.f90: Ditto.
* gfortran.dg/volatile4.f90: Ditto.
* gfortran.dg/volatile6.f90: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208668 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoPR target/60562
rth [Tue, 18 Mar 2014 20:24:29 +0000 (20:24 +0000)]
PR target/60562

        * config/i386/i386.md (*float<SWI48><MODEF>2_sse): Check
X87_ENABLE_FLOAT for alternative 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208666 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR rtl-optimization/56356
ktietz [Tue, 18 Mar 2014 20:02:54 +0000 (20:02 +0000)]
PR rtl-optimization/56356
* sdbout.c (sdbout_parms): Verify that parms'
incoming argument is valid.
(sdbout_reg_parms): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208663 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoPR target/60562
rth [Tue, 18 Mar 2014 19:59:54 +0000 (19:59 +0000)]
PR target/60562

        * config/i386/i386.md (*float<SWI48x><MODEF>2_i387): Move down to
        be shadowed by *float<SWI48><MODEF>2_sse.  Test X87_ENABLE_FLOAT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208662 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-18 Manuel López-Ibáñez <manu@gcc.gnu.org>
manu [Tue, 18 Mar 2014 19:58:39 +0000 (19:58 +0000)]
2014-03-18  Manuel López-Ibáñez  <manu@gcc.gnu.org>

PR c/55383
c/
* c-typeck.c: Use correct format string in cast-qual warning
testsuite/
* c-c++-common/Wcast-qual-1.c: More precise match text.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208661 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-18 Basile Starynkevitch <basile@starynkevitch.net>
bstarynk [Tue, 18 Mar 2014 19:16:52 +0000 (19:16 +0000)]
2014-03-18  Basile Starynkevitch  <basile@starynkevitch.net>

        * plugin.def: Improve comment for PLUGIN_INCLUDE_FILE.
        * doc/plugins.texi (Plugin callbacks): Mention
        PLUGIN_INCLUDE_FILE.
        Italicize plugin event names in description.  Explain that
        PLUGIN_PRAGMAS has no sense for lto1. Explain
        PLUGIN_INCLUDE_FILE.
        Remind that no GCC functions should be called after
        PLUGIN_FINISH.
        Explain what pragmas with expansion are.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208660 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-18 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 18 Mar 2014 17:10:23 +0000 (17:10 +0000)]
2014-03-18  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/60305
* g++.dg/cpp0x/constexpr-ice14.C: New.

2014-03-18  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/54250
* g++.dg/cpp0x/lambda/lambda-ice12.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208658 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR libstdc++/60564
redi [Tue, 18 Mar 2014 16:31:38 +0000 (16:31 +0000)]
PR libstdc++/60564
* include/std/future (__future_base::_Task_state<>): Change
constructors to template functions using perfect forwarding.
(__create_task_state): Use decayed type as stored task.
(packaged_task::packaged_task(_Fn&&)): Forward instead of moving.
* testsuite/30_threads/packaged_task/60564.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208656 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * cgraph.c (cgraph_update_edges_for_call_stmt_node): Added case when
jakub [Tue, 18 Mar 2014 16:10:39 +0000 (16:10 +0000)]
* cgraph.c (cgraph_update_edges_for_call_stmt_node): Added case when
gimple call statement is update.
* gimple-fold.c (gimple_fold_call): Changed order for GIMPLE_ASSIGN and
GIMPLE_CALL, where gsi iterator still points to GIMPLE CALL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208654 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * de.po: Update.
jsm28 [Tue, 18 Mar 2014 16:04:06 +0000 (16:04 +0000)]
* de.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208653 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR sanitizer/60557
jakub [Tue, 18 Mar 2014 15:05:30 +0000 (15:05 +0000)]
PR sanitizer/60557
* ubsan.c (ubsan_instrument_unreachable): Call
initialize_sanitizer_builtins.
(ubsan_pass): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208652 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR sanitizer/60535
jakub [Tue, 18 Mar 2014 14:56:23 +0000 (14:56 +0000)]
PR sanitizer/60535
* ubsan.c (ubsan_type_descriptor, ubsan_create_data): Call
varpool_finalize_decl instead of rest_of_decl_compilation.
lto/
* lto-lang.c (lto_init): Add NAME_TYPE for int128_integer_type_node
and complex_{float,{,long_}double}_type_node.
testsuite/
* c-c++-common/ubsan/null-1.c: Don't skip if -flto.
* c-c++-common/ubsan/null-2.c: Likewise.
* c-c++-common/ubsan/null-3.c: Likewise.
* c-c++-common/ubsan/null-4.c: Likewise.
* c-c++-common/ubsan/null-5.c: Likewise.
* c-c++-common/ubsan/null-6.c: Likewise.
* c-c++-common/ubsan/null-7.c: Likewise.
* c-c++-common/ubsan/null-8.c: Likewise.
* c-c++-common/ubsan/null-9.c: Likewise.
* c-c++-common/ubsan/null-10.c: Likewise.
* c-c++-common/ubsan/null-11.c: Likewise.
* c-c++-common/ubsan/overflow-1.c: Likewise.
* c-c++-common/ubsan/overflow-2.c: Likewise.
* c-c++-common/ubsan/overflow-add-1.c: Likewise.
* c-c++-common/ubsan/overflow-add-2.c: Likewise.
* c-c++-common/ubsan/overflow-int128.c: Likewise.
* c-c++-common/ubsan/overflow-mul-1.c: Likewise.
* c-c++-common/ubsan/overflow-mul-2.c: Likewise.
* c-c++-common/ubsan/overflow-mul-3.c: Likewise.
* c-c++-common/ubsan/overflow-mul-4.c: Likewise.
* c-c++-common/ubsan/overflow-negate-1.c: Likewise.
* c-c++-common/ubsan/overflow-negate-2.c: Likewise.
* c-c++-common/ubsan/overflow-sub-1.c: Likewise.
* c-c++-common/ubsan/overflow-sub-2.c: Likewise.
* c-c++-common/ubsan/pr59333.c: Likewise.
* c-c++-common/ubsan/pr59503.c: Likewise.
* c-c++-common/ubsan/pr59667.c: Likewise.
* c-c++-common/ubsan/undefined-1.c: Likewise.
* g++.dg/ubsan/pr59250.C: Likewise.
* g++.dg/ubsan/pr59306.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208651 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-18 Richard Biener <rguenther@suse.de>
rguenth [Tue, 18 Mar 2014 14:39:16 +0000 (14:39 +0000)]
2014-03-18  Richard Biener  <rguenther@suse.de>

* df-problems.c (df_rd_confluence_n): Avoid bitmap_copy
by using bitmap_and_compl instead of bitmap_and_compl_into.
(df_rd_transfer_function): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208650 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-18 Richard Biener <rguenther@suse.de>
rguenth [Tue, 18 Mar 2014 12:35:28 +0000 (12:35 +0000)]
2014-03-18  Richard Biener  <rguenther@suse.de>

* doc/lto.texi (fresolution): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208647 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-18 Richard Biener <rguenther@suse.de>
rguenth [Tue, 18 Mar 2014 12:30:11 +0000 (12:30 +0000)]
2014-03-18  Richard Biener  <rguenther@suse.de>

* doc/invoke.texi (flto): Update for changes in 4.9.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208646 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-18 Richard Biener <rguenther@suse.de>
rguenth [Tue, 18 Mar 2014 12:28:04 +0000 (12:28 +0000)]
2014-03-18  Richard Biener  <rguenther@suse.de>

* doc/loop.texi: Remove section on the removed lambda framework.
Update loop docs with recent changes in preserving loop structure.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208645 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-18 Richard Biener <rguenther@suse.de>
rguenth [Tue, 18 Mar 2014 12:25:06 +0000 (12:25 +0000)]
2014-03-18  Richard Biener  <rguenther@suse.de>

* doc/lto.texi (-fresolution): Document.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208644 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-03-18 Richard Biener <rguenther@suse.de>
rguenth [Tue, 18 Mar 2014 12:19:02 +0000 (12:19 +0000)]
2014-03-18  Richard Biener  <rguenther@suse.de>

* doc/contrib.texi: Adjust my name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208643 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR ipa/58721
jakub [Tue, 18 Mar 2014 11:31:04 +0000 (11:31 +0000)]
PR ipa/58721
gcc/
* internal-fn.c: Include diagnostic-core.h.
(expand_BUILTIN_EXPECT): New function.
* gimplify.c (gimplify_call_expr): Use false instead of FALSE.
(gimplify_modify_expr): Gimplify 3 argument __builtin_expect into
IFN_BUILTIN_EXPECT call instead of __builtin_expect builtin call.
* ipa-inline-analysis.c (find_foldable_builtin_expect): Handle
IFN_BUILTIN_EXPECT.
* predict.c (expr_expected_value_1): Handle IFN_BUILTIN_EXPECT.
Revert 3 argument __builtin_expect code.
(strip_predict_hints): Handle IFN_BUILTIN_EXPECT.
* gimple-fold.c (gimple_fold_call): Likewise.
* tree.h (fold_builtin_expect): New prototype.
* builtins.c (build_builtin_expect_predicate): Add predictor
argument, if non-NULL, create 3 argument __builtin_expect.
(fold_builtin_expect): No longer static.  Add ARG2 argument,
pass it through to build_builtin_expect_predicate.
(fold_builtin_2): Adjust caller.
(fold_builtin_3): Handle BUILT_IN_EXPECT.
* internal-fn.def (BUILTIN_EXPECT): New.
gcc/fortran/
* trans.c (gfc_unlikely, gfc_likely): Don't add __builtin_expect
if !optimize.

2014-03-18  Tobias Burnus  <burnus@net-b.de>

PR ipa/58721
gcc/
* predict.def (PRED_FORTRAN_OVERFLOW, PRED_FORTRAN_FAIL_ALLOC,
PRED_FORTRAN_FAIL_IO, PRED_FORTRAN_WARN_ONCE, PRED_FORTRAN_SIZE_ZERO,
PRED_FORTRAN_INVALID_BOUND, PRED_FORTRAN_ABSENT_DUMMY): Add.
gcc/fortran/
* trans.h (gfc_unlikely, gfc_likely): Add predictor as argument.
(gfc_trans_io_runtime_check): Remove.
* trans-io.c (gfc_trans_io_runtime_check): Make static; add has_iostat
as argument, add predictor to block.
(set_parameter_value, gfc_trans_open, gfc_trans_close, build_filepos,
gfc_trans_inquire, gfc_trans_wait, build_dt): Update calls.
* trans.c (gfc_unlikely, gfc_likely): Add predictor as argument.
(gfc_trans_runtime_check, gfc_allocate_using_malloc,
gfc_allocate_allocatable, gfc_deallocate_with_status): Set explicitly
branch predictor.
* trans-expr.c (gfc_conv_procedure_call): Ditto.
* trans-stmt.c (gfc_trans_allocate): Ditto.
* trans-array.c (gfc_array_init_size, gfc_array_allocate): Ditto.

2014-03-18  Jan Hubicka  <hubicka@ucw.cz>

PR ipa/58721
gcc/
* predict.c (combine_predictions_for_bb): Fix up formatting.
(expr_expected_value_1, expr_expected_value): Add predictor argument,
fill what it points to if non-NULL.
(tree_predict_by_opcode): Adjust caller, use the predictor.
* predict.def (PRED_COMPARE_AND_SWAP): Add.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208641 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/sparc/sparc.c (sparc_do_work_around_errata): Speed up and use
ebotcazou [Tue, 18 Mar 2014 10:49:38 +0000 (10:49 +0000)]
* config/sparc/sparc.c (sparc_do_work_around_errata): Speed up and use
proper constant for the store mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208638 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agogcc/
kyukhin [Tue, 18 Mar 2014 10:26:01 +0000 (10:26 +0000)]
gcc/
        * symtab.c (change_decl_assembler_name): Fix transparent alias
        chain construction.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208637 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/aarch64/aarch64.c: Correct the comments about the
yufeng [Tue, 18 Mar 2014 10:22:57 +0000 (10:22 +0000)]
* config/aarch64/aarch64.c: Correct the comments about the
aarch64 stack layout.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208636 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoFix gcc.dg/tls/pr58595.c on Solaris 9
ro [Tue, 18 Mar 2014 10:18:07 +0000 (10:18 +0000)]
Fix gcc.dg/tls/pr58595.c on Solaris 9

* gcc.dg/tls/pr58595.c: Add tls options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208635 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * configure.ac: Check for presence of fcntl.
uweigand [Tue, 18 Mar 2014 09:58:17 +0000 (09:58 +0000)]
* configure.ac: Check for presence of fcntl.
* configure: Regenerate.
* config.h.in: Regenerate.
* io/unix.c (set_close_on_exec): Check for HAVE_FCNTL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208634 138bc75d-0d04-0410-961f-82ee72b054a4