platform/upstream/linaro-gcc.git
10 years ago2014-05-09 Jan-Benedict Glaw <jbglaw@lug-owl.de>
jbglaw [Fri, 9 May 2014 07:25:21 +0000 (07:25 +0000)]
2014-05-09  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

       * config-list.mk (show): New target.

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

10 years ago * mmap.c (backtrace_free): If freeing a large aligned block of
ian [Fri, 9 May 2014 05:01:08 +0000 (05:01 +0000)]
* mmap.c (backtrace_free): If freeing a large aligned block of
memory, call munmap rather than holding onto it.
(backtrace_vector_grow): When growing a vector, double the number
of pages requested.  When releasing the old version of a grown
vector, pass the correct size to backtrace_free.

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

10 years ago2014-05-08 Jeff Law <law@redhat.com>
law [Fri, 9 May 2014 04:54:00 +0000 (04:54 +0000)]
2014-05-08  Jeff Law  <law@redhat.com>

PR tree-optimization/61009
* tree-ssa-threadedge.c (thread_through_normal_block): Return a
tri-state rather than a boolean.  When a block is too big to
thread through, inform caller via negative return value.
(thread_across_edge): If a block was too big for normal threading,
then it's too big for a joiner too, so remove temporary equivalences
and return immediately.

PR tree-optimization/61009
* g++.dg/tree-ssa/pr61009.C: New test.

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

10 years agoDaily bump.
gccadmin [Fri, 9 May 2014 00:16:56 +0000 (00:16 +0000)]
Daily bump.

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

10 years agogcc/
doko [Thu, 8 May 2014 22:17:43 +0000 (22:17 +0000)]
gcc/

2014-05-08  Manuel López-Ibáñez  <manu@gcc.gnu.org>
            Matthias Klose  <doko@ubuntu.com>

        PR driver/61106
        * optc-gen.awk: Fix option handling for -Wunused-parameter.

gcc/testsuite/

2014-05-08  Matthias Klose  <doko@ubuntu.com>

        PR driver/61106
        * gcc-dg/unused-8a.c: New.
        * gcc-dg/unused-8b.c: Likewise.

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

10 years agocontrib/
rsandifo [Thu, 8 May 2014 20:24:33 +0000 (20:24 +0000)]
contrib/
* dg-extract-results.py: New file.
* dg-extract-results.sh: Use it if the environment seems suitable.

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

10 years ago2014-05-08 Joshua Gay <jgay@gnu.org>
redi [Thu, 8 May 2014 19:52:40 +0000 (19:52 +0000)]
2014-05-08  Joshua Gay  <jgay@gnu.org>

PR libstdc++/61117
* doc/xml/faq.xml (faq.license.what_restrictions): Replace "open
source" with "free software".
* doc/html/faq.html: Likewise.

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

10 years ago PR target/59952
uros [Thu, 8 May 2014 19:13:10 +0000 (19:13 +0000)]
PR target/59952
* config/i386/i386.c (PTA_HASWELL): Remove PTA_RTM.

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

10 years ago PR target/61092
uros [Thu, 8 May 2014 19:02:28 +0000 (19:02 +0000)]
PR target/61092
* config/alpha/alpha.c: Include gimple-iterator.h.
(alpha_gimple_fold_builtin): New function.  Move
ALPHA_BUILTIN_UMULH folding from ...
(alpha_fold_builtin): ... here.
(TARGET_GIMPLE_FOLD_BUILTIN): New define.

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

10 years ago * include/std/iostream: Fix URL in comment.
redi [Thu, 8 May 2014 19:01:51 +0000 (19:01 +0000)]
* include/std/iostream: Fix URL in comment.
* src/c++98/ios_init.cc: Fix path in comment.

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

10 years ago PR libstdc++/13860
redi [Thu, 8 May 2014 18:30:14 +0000 (18:30 +0000)]
PR libstdc++/13860
* include/std/fstream (basic_filebuf): Enforce requirements on traits.

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

10 years ago PR c/61053
mpolacek [Thu, 8 May 2014 18:19:09 +0000 (18:19 +0000)]
PR c/61053
c-family/
* c-common.c (min_align_of_type): New function factored out from...
(c_sizeof_or_alignof_type): ...here.
* c-common.h (min_align_of_type): Declare.
c/
* c-decl.c (grokdeclarator): Use min_align_of_type instead of
TYPE_ALIGN_UNIT.
testsuite/
* gcc.dg/pr61053.c: New test.

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

10 years ago PR c/61077
mpolacek [Thu, 8 May 2014 17:42:09 +0000 (17:42 +0000)]
PR c/61077
c-family/
* c-common.c (check_main_parameter_types): Warn for _Atomic-qualified
parameter type of main.
c/
* c-decl.c (start_function): Warn for _Atomic-qualified return type
of main.
testsuite/
* gcc.dg/pr61077.c: New test.

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

10 years ago PR libstdc++/57394
redi [Thu, 8 May 2014 17:17:06 +0000 (17:17 +0000)]
PR libstdc++/57394
* include/bits/ios_base.h (ios_base(const ios_base&)): Define as
deleted for C++11.
(operator=(const ios_base&)): Likewise.
* include/std/streambuf: Remove trailing whitespace.
(basic_streambuf(const basic_streambuf&)): Fix initializer for
_M_out_end. Define as defaulted for C++11.
(operator=(const basic_streambuf&)): Define as defaulted for C++11.
(swap(basic_streambuf&)): Define for C++11.
* testsuite/27_io/basic_streambuf/cons/57394.cc: New.

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

10 years ago2014-05-08 Tobias Burnus <burnus@net-b.de>
burnus [Thu, 8 May 2014 17:00:07 +0000 (17:00 +0000)]
2014-05-08  Tobias Burnus  <burnus@net-b.de>

        * gfortran.h (gfc_isym_id): Add GFC_ISYM_CAF_GET
        and GFC_ISYM_CAF_SEND.
        * intrinsic.c (add_functions): Add only internally
        accessible caf_get and caf_send functions.
        * resolve.c (add_caf_get_intrinsic,
        remove_caf_get_intrinsic): New functions.
        (resolve_variable): Resolve expression rank and
        prepare for add_caf_get_intrinsic call.
        (gfc_resolve_expr): For variables, remove rank
        resolution.
        (resolve_ordinary_assign): Prepare call to
        GFC_ISYM_CAF_SEND.
        (resolve_code): Avoid call to GFC_ISYM_CAF_GET for
        the LHS of an assignment.

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

10 years ago2014-05-08 Tobias Burnus <burnus@net-b.de>
burnus [Thu, 8 May 2014 16:57:42 +0000 (16:57 +0000)]
2014-05-08  Tobias Burnus  <burnus@net-b.de>

        * trans-intrinsic.c (conv_co_minmaxsum): Change condition style.

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

10 years agogcc/fortran/
burnus [Thu, 8 May 2014 16:55:23 +0000 (16:55 +0000)]
gcc/fortran/
2014-05-08  Tobias Burnus  <burnus@net-b.de>

        * check.c (check_co_minmaxsum, gfc_check_co_minmax,
        gfc_check_co_sum): New.
        * error.c (gfc_notify_std): Update -std=f2008ts.
        * gfortran.h (gfc_isym_id): Add GFC_ISYM_CO_MAX,
        GFC_ISYM_CO_MIN, GFC_ISYM_CO_SUM.
        * intrinsic.h (gfc_check_co_minmax,
        gfc_check_co_sum): Declare.
        * intrinsic.c (add_subroutines): Add co_min, co_max
        and co_sum.
        (gfc_check_intrinsic_standard): Update text for
        -std=f2008ts.
        * intrinsic.texi (CO_MIN, CO_MAX, CO_SUM): Document
        them.
        * invoke.texi (-std=f2008ts): Update wording.
        * trans.h (gfor_fndecl_co_max,
        gfor_fndecl_co_min, gfor_fndecl_co_sum): Define.
        * trans-decl.c (gfor_fndecl_co_max,
        gfor_fndecl_co_min, gfor_fndecl_co_sum): Define.
        (gfc_build_builtin_function_decls): Assign to it.
        * trans-intrinsic.c (conv_co_minmaxsum): New.
        (gfc_conv_intrinsic_subroutine): Call it.

libgfortran/
2014-05-08  Tobias Burnus  <burnus@net-b.de>

        * caf/libcaf.h (caf_vector_t, _gfortran_caf_co_sum,
        _gfortran_caf_co_min, _gfortran_caf_co_max): Declare
        * caf/single.c

gcc/testsuite/
2014-05-08  Tobias Burnus  <burnus@net-b.de>

        * gfortran.dg/coarray_collectives_1.f90: New.
        * gfortran.dg/coarray_collectives_2.f90: New.
        * gfortran.dg/coarray_collectives_3.f90: New.
        * gfortran.dg/coarray_collectives_4.f90: New.
        * gfortran.dg/coarray_collectives_5.f90: New.
        * gfortran.dg/coarray_collectives_6.f90: New.
        * gfortran.dg/coarray/collectives_1.f90: New.
        * gfortran.dg/assumed_rank_5.f90: Update dg-error.
        * gfortran.dg/assumed_type_4.f90: Update dg-error.
        * gfortran.dg/bind_c_array_params.f03: Update dg-error.
        * gfortran.dg/bind_c_usage_28.f90: Update dg-error.
        * gfortran.dg/c_funloc_tests_5.f03: Update dg-error.
        * gfortran.dg/c_funloc_tests_6.f90: Update dg-error.
        * gfortran.dg/c_loc_tests_11.f03: Update dg-error.

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

10 years agogcc/
wmi [Thu, 8 May 2014 16:44:52 +0000 (16:44 +0000)]
gcc/
2014-05-08  Wei Mi  <wmi@google.com>

PR target/58066
* config/i386/i386.c (ix86_compute_frame_layout):
Update preferred_stack_boundary for call, expanded from
tls descriptor.
* config/i386/i386.md:
(*tls_global_dynamic_32_gnu): Update RTX to depend on
SP register.
(*tls_local_dynamic_base_32_gnu): Ditto.
(*tls_local_dynamic_32_once): Ditto.
(tls_global_dynamic_64_<mode>): Set
ix86_tls_descriptor_calls_expanded_in_cfun.
(tls_local_dynamic_base_64_<mode>): Ditto.
(tls_global_dynamic_32): Set
ix86_tls_descriptor_calls_expanded_in_cfun. Update RTX
to depend on SP register.
(tls_local_dynamic_base_32): Ditto.

gcc/testsuite/
2014-05-08  Wei Mi  <wmi@google.com>

PR target/58066
* gcc.target/i386/pr58066.c: New test.

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

10 years ago * gcc.target/i386/avx256-unaligned-load-2.c,
jsm28 [Thu, 8 May 2014 15:39:32 +0000 (15:39 +0000)]
* gcc.target/i386/avx256-unaligned-load-2.c,
gcc.target/i386/pr49002-1.c, gcc.target/i386/pr53712.c,
gcc.target/i386/pr53907.c, gcc.target/i386/pr59539-1.c: Allow
packed-single instructions.

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

10 years agoNeon intrinsics TLC - remove ML
ramana [Thu, 8 May 2014 14:35:40 +0000 (14:35 +0000)]
Neon intrinsics TLC - remove ML

2014-05-08  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

* config/arm/arm_neon.h: Update comment.
* config/arm/neon-docgen.ml: Delete.
* config/arm/neon-gen.ml: Delete.
* doc/arm-neon-intrinsics.texi: Update comment.

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

10 years agoNeon intrinsics TLC - remove dead code.
ramana [Thu, 8 May 2014 14:33:05 +0000 (14:33 +0000)]
Neon intrinsics TLC - remove dead code.

2014-05-08  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

* config/arm/arm_neon_builtins.def (vadd, vsub): Only define the v2sf
and v4sf versions.
(vand, vorr, veor, vorn, vbic): Remove.
* config/arm/neon.md (neon_vadd, neon_vsub, neon_vadd_unspec): Adjust
iterator.
(neon_vsub_unspec): Likewise.
(neon_vorr, neon_vand, neon_vbic, neon_veor, neon_vorn): Remove.

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

10 years ago/cp
paolo [Thu, 8 May 2014 14:30:56 +0000 (14:30 +0000)]
/cp
2014-05-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/13981
* typeck.c (convert_for_assignment): Provide an inform for pointers
to incomplete class types.

/testsuite
2014-05-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/13981
* g++.dg/diagnostic/pr13981.C: New.

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

10 years agoNeon intrinsics TLC - Replace intrinsics with GNU C implementations.
ramana [Thu, 8 May 2014 14:30:10 +0000 (14:30 +0000)]
Neon intrinsics TLC - Replace intrinsics with GNU C implementations.

2014-05-08  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

* config/arm/arm_neon.h (vadd_s8): GNU C implementation
(vadd_s16): Likewise.
(vadd_s32): Likewise.
(vadd_f32): Likewise.
(vadd_u8): Likewise.
(vadd_u16): Likewise.
(vadd_u32): Likewise.
(vadd_s64): Likewise.
(vadd_u64): Likewise.
(vaddq_s8): Likewise.
(vaddq_s16): Likewise.
(vaddq_s32): Likewise.
(vaddq_s64): Likewise.
(vaddq_f32): Likewise.
(vaddq_u8): Likewise.
(vaddq_u16): Likewise.
(vaddq_u32): Likewise.
(vaddq_u64): Likewise.
(vmul_s8): Likewise.
(vmul_s16): Likewise.
(vmul_s32): Likewise.
(vmul_f32): Likewise.
(vmul_u8): Likewise.
(vmul_u16): Likewise.
(vmul_u32): Likewise.
(vmul_p8): Likewise.
(vmulq_s8): Likewise.
(vmulq_s16): Likewise.
(vmulq_s32): Likewise.
(vmulq_f32): Likewise.
(vmulq_u8): Likewise.
(vmulq_u16): Likewise.
(vmulq_u32): Likewise.
(vsub_s8): Likewise.
(vsub_s16): Likewise.
(vsub_s32): Likewise.
(vsub_f32): Likewise.
(vsub_u8): Likewise.
(vsub_u16): Likewise.
(vsub_u32): Likewise.
(vsub_s64): Likewise.
(vsub_u64): Likewise.
(vsubq_s8): Likewise.
(vsubq_s16): Likewise.
(vsubq_s32): Likewise.
(vsubq_s64): Likewise.
(vsubq_f32): Likewise.
(vsubq_u8): Likewise.
(vsubq_u16): Likewise.
(vsubq_u32): Likewise.
(vsubq_u64): Likewise.
(vand_s8): Likewise.
(vand_s16): Likewise.
(vand_s32): Likewise.
(vand_u8): Likewise.
(vand_u16): Likewise.
(vand_u32): Likewise.
(vand_s64): Likewise.
(vand_u64): Likewise.
(vandq_s8): Likewise.
(vandq_s16): Likewise.
(vandq_s32): Likewise.
(vandq_s64): Likewise.
(vandq_u8): Likewise.
(vandq_u16): Likewise.
(vandq_u32): Likewise.
(vandq_u64): Likewise.
(vorr_s8): Likewise.
(vorr_s16): Likewise.
(vorr_s32): Likewise.
(vorr_u8): Likewise.
(vorr_u16): Likewise.
(vorr_u32): Likewise.
(vorr_s64): Likewise.
(vorr_u64): Likewise.
(vorrq_s8): Likewise.
(vorrq_s16): Likewise.
(vorrq_s32): Likewise.
(vorrq_s64): Likewise.
(vorrq_u8): Likewise.
(vorrq_u16): Likewise.
(vorrq_u32): Likewise.
(vorrq_u64): Likewise.
(veor_s8): Likewise.
(veor_s16): Likewise.
(veor_s32): Likewise.
(veor_u8): Likewise.
(veor_u16): Likewise.
(veor_u32): Likewise.
(veor_s64): Likewise.
(veor_u64): Likewise.
(veorq_s8): Likewise.
(veorq_s16): Likewise.
(veorq_s32): Likewise.
(veorq_s64): Likewise.
(veorq_u8): Likewise.
(veorq_u16): Likewise.
(veorq_u32): Likewise.
(veorq_u64): Likewise.
(vbic_s8): Likewise.
(vbic_s16): Likewise.
(vbic_s32): Likewise.
(vbic_u8): Likewise.
(vbic_u16): Likewise.
(vbic_u32): Likewise.
(vbic_s64): Likewise.
(vbic_u64): Likewise.
(vbicq_s8): Likewise.
(vbicq_s16): Likewise.
(vbicq_s32): Likewise.
(vbicq_s64): Likewise.
(vbicq_u8): Likewise.
(vbicq_u16): Likewise.
(vbicq_u32): Likewise.
(vbicq_u64): Likewise.
(vorn_s8): Likewise.
(vorn_s16): Likewise.
(vorn_s32): Likewise.
(vorn_u8): Likewise.
(vorn_u16): Likewise.
(vorn_u32): Likewise.
(vorn_s64): Likewise.
(vorn_u64): Likewise.
(vornq_s8): Likewise.
(vornq_s16): Likewise.
(vornq_s32): Likewise.
(vornq_s64): Likewise.
(vornq_u8): Likewise.
(vornq_u16): Likewise.
(vornq_u32): Likewise.
(vornq_u64): Likewise.

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

10 years agoDefine UDWtype for longlong.h inclusion in wide-int.cc
ramana [Thu, 8 May 2014 14:23:11 +0000 (14:23 +0000)]
Define UDWtype for longlong.h inclusion in wide-int.cc

2014-05-08  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

* wide-int.cc (UTItype): Define.
  (UDWtype): Define for appropriate W_TYPE_SIZE.

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

10 years ago2014-05-08 Marc Glisse <marc.glisse@inria.fr>
glisse [Thu, 8 May 2014 13:17:01 +0000 (13:17 +0000)]
2014-05-08  Marc Glisse  <marc.glisse@inria.fr>

PR tree-optimization/59100
gcc/
* tree-ssa-phiopt.c: Include tree-inline.h.
(neutral_element_p, absorbing_element_p): New functions.
(value_replacement): Handle conditional binary operations with a
neutral or absorbing element.
gcc/testsuite/
* gcc.dg/tree-ssa/phi-opt-12.c: New file.
* gcc.dg/tree-ssa/phi-opt-13.c: Likewise.

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

10 years ago2014-05-08 Richard Biener <rguenther@suse.de>
rguenth [Thu, 8 May 2014 12:39:07 +0000 (12:39 +0000)]
2014-05-08  Richard Biener  <rguenther@suse.de>

* tree-ssa-sccvn.c (vn_get_expr_for): Valueize operands before
folding the expression.
(valueize_expr): Remove.
(visit_reference_op_load): Do not valueize the result of
vn_get_expr_for.
(simplify_binary_expression): Likewise.
(simplify_unary_expression): Likewise.

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

10 years agoDon't build libgcc-unwind.map with --disable-shared (PR libgcc/61097)
ro [Thu, 8 May 2014 12:11:14 +0000 (12:11 +0000)]
Don't build libgcc-unwind.map with --disable-shared (PR libgcc/61097)

PR libgcc/61097
* config/t-slibgcc-sld: Only build and install libgcc-unwind.map
if --enable-shared.

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

10 years ago2014-05-08 Richard Biener <rguenther@suse.de>
rguenth [Thu, 8 May 2014 10:57:53 +0000 (10:57 +0000)]
2014-05-08  Richard Biener  <rguenther@suse.de>

* gimplify.c (gimplify_call_expr): Use saved fnptrtype for
looking at TYPE_ARG_TYPES.

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

10 years ago2014-05-08 Richard Biener <rguenther@suse.de>
rguenth [Thu, 8 May 2014 10:19:17 +0000 (10:19 +0000)]
2014-05-08  Richard Biener  <rguenther@suse.de>

* gimple-fold.c (gimple_fold_stmt_to_constant_1): Remove
pointer propagation special-case.

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

10 years ago2014-05-08 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 8 May 2014 09:34:49 +0000 (09:34 +0000)]
2014-05-08  Paolo Carlini  <paolo.carlini@oracle.com>

* acinclude.m4 ([GLIBCXX_ENABLE_C99]): Avoid -Wwrite-strings warning.
* configure: Regenerate.

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

10 years agolibiberty/
gary [Thu, 8 May 2014 09:13:44 +0000 (09:13 +0000)]
libiberty/
2014-05-08  Gary Benson  <gbenson@redhat.com>

* cp-demangle.c (struct d_component_stack): New structure.
(struct d_print_info): New field component_stack.
(d_print_init): Initialize the above.
(d_print_comp_inner): Renamed from d_print_comp.
Do not restore template stack if it would cause a loop.
(d_print_comp): New function.
* testsuite/demangle-expected: New test cases.

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

10 years ago * tree-affine.c (tree_to_aff_combination): Handle MEM_REF for
amker [Thu, 8 May 2014 09:00:42 +0000 (09:00 +0000)]
* tree-affine.c (tree_to_aff_combination): Handle MEM_REF for
core part of address expressions.

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

10 years agogcc/testsuite/
rsandifo [Thu, 8 May 2014 08:00:21 +0000 (08:00 +0000)]
gcc/testsuite/
PR tree-optimization/61095
* gcc.dg/torture/pr61095.c: New test.

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

10 years ago* c-cppbuiltin.c (print_bits_of_hex): New.
dj [Thu, 8 May 2014 03:08:12 +0000 (03:08 +0000)]
* c-cppbuiltin.c (print_bits_of_hex): New.
(builtin_define_type_minmax): Print values using hex so as not to
require a pre-computed list of string values.

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

10 years ago PR target/60737
amodra [Thu, 8 May 2014 02:05:19 +0000 (02:05 +0000)]
PR target/60737
* config/rs6000/rs6000.c (expand_block_move): Allow 64-bit
loads and stores when -mno-strict-align at any alignment.
(expand_block_clear): Similarly.  Also correct calculation of
instruction count.

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

10 years ago2014-05-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
jye2 [Thu, 8 May 2014 01:23:01 +0000 (01:23 +0000)]
2014-05-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>

        PR middle-end/39246
        * tree-complex.c (expand_complex_move): Keep line info when expanding
        complex move.
        * tree-ssa-uninit.c (warn_uninit): New argument. Ignore assignment
        of complex expression. Use new argument to display correct location
        for values coming from phi statement.
        (warn_uninitialized_vars): Adapt to new signature of warn_uninit.
        (warn_uninitialized_phi): Pass location of phi argument to
        warn_uninit.
        * tree-ssa.c (ssa_undefined_value_p): For SSA_NAME initialized by a
        COMPLEX_EXPR, recurse on each part of the COMPLEX_EXPR.

testsuite:

        * gcc.dg/uninit-13.c: Move warning on the actual source line where
        the uninitialized complex is used.
        * gcc.dg/uninit-17.c: New test to check partial initialization of
        complex with branches.
        * gcc.dg/uninit-17-O0.c: Likewise.

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

10 years ago2014-05-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
jye2 [Thu, 8 May 2014 01:20:17 +0000 (01:20 +0000)]
2014-05-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>

        PR middle-end/39246
        * tree-complex.c (expand_complex_move): Keep line info when expanding
        complex move.
        * tree-ssa-uninit.c (warn_uninit): New argument. Ignore assignment
        of complex expression. Use new argument to display correct location
        for values coming from phi statement.
        (warn_uninitialized_vars): Adapt to new signature of warn_uninit.
        (warn_uninitialized_phi): Pass location of phi argument to
        warn_uninit.
        * tree-ssa.c (ssa_undefined_value_p): For SSA_NAME initialized by a
        COMPLEX_EXPR, recurse on each part of the COMPLEX_EXPR.

testsuite:

        * gcc.dg/uninit-13.c: Move warning on the actual source line where
        the uninitialized complex is used.
        * gcc.dg/uninit-17.c: New test to check partial initialization of
        complex with branches.
        * gcc.dg/uninit-17-O0.c: Likewise.

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

10 years ago2014-05-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
jye2 [Thu, 8 May 2014 01:19:11 +0000 (01:19 +0000)]
2014-05-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>

        PR middle-end/39246
        * tree-complex.c (expand_complex_move): Keep line info when expanding
        complex move.
        * tree-ssa-uninit.c (warn_uninit): New argument. Ignore assignment
        of complex expression. Use new argument to display correct location
        for values coming from phi statement.
        (warn_uninitialized_vars): Adapt to new signature of warn_uninit.
        (warn_uninitialized_phi): Pass location of phi argument to
        warn_uninit.
        * tree-ssa.c (ssa_undefined_value_p): For SSA_NAME initialized by a
        COMPLEX_EXPR, recurse on each part of the COMPLEX_EXPR.

testsuite:

        * gcc.dg/uninit-13.c: Move warning on the actual source line where
        the uninitialized complex is used.
        * gcc.dg/uninit-17.c: New test to check partial initialization of
        complex with branches.
        * gcc.dg/uninit-17-O0.c: Likewise.

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

10 years agoDaily bump.
gccadmin [Thu, 8 May 2014 00:16:57 +0000 (00:16 +0000)]
Daily bump.

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

10 years agomksysinfo: Define some more non-trivial TIOC constants.
ian [Wed, 7 May 2014 22:22:29 +0000 (22:22 +0000)]
mksysinfo: Define some more non-trivial TIOC constants.

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

10 years agors6000: New attributes for load/store: "sign_extend", "update" and "indexed"
segher [Wed, 7 May 2014 22:00:58 +0000 (22:00 +0000)]
rs6000: New attributes for load/store: "sign_extend", "update" and "indexed"

The new attributes replace the instruction types *_ext*, *_u, *_ux.

This simplifies all code that does not care about the addressing modes,
putting the burden on the code that does care (mostly the scheduling
descriptions for certain CPUs).

It fixes a few minor bugs in the process.

The "update" and "indexed" attributes are automatic for any insn that
has a MEM as operand 0 or 1.  Other insns have to set it manually, if
they do not like the default (which is "no").  Insns that are type
load/store/fpload/fpstore but have fewer than two operands need to set
it too, or the compiler will crash.  There are very few of those.

This tries not to change semantics anywhere; in particular, the string
and multiple instructions set both "update" and "indexed" (although
they are neither).

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

10 years agomksysinfo: Define CLONE flags.
ian [Wed, 7 May 2014 21:48:29 +0000 (21:48 +0000)]
mksysinfo: Define CLONE flags.

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

10 years agogcc/
olegendo [Wed, 7 May 2014 20:08:23 +0000 (20:08 +0000)]
gcc/
PR target/60884
* config/sh/sh-mem.cc (sh_expand_strlen): Use loop when emitting
unrolled byte insns.  Emit address increments after move insns.

gcc/testsuite/
PR target/60884
* gcc.target/sh/pr53976-1.c (test_02): Remove inappropriate test case.
(test_03): Rename to test_02.

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

10 years agoConst-correctness of gimple_call_builtin_p
dmalcolm [Wed, 7 May 2014 19:35:23 +0000 (19:35 +0000)]
Const-correctness of gimple_call_builtin_p

gcc/
2014-05-07  David Malcolm  <dmalcolm@redhat.com>

* gimple.h (gimple_builtin_call_types_compatible_p): Accept a
const_gimple, rather than a gimple.
(gimple_call_builtin_p): Likewise, for the three variants.

* gimple.c (gimple_builtin_call_types_compatible_p): Likewise.
(gimple_call_builtin_p): Likewise, for the three variants.

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

10 years ago/cp
paolo [Wed, 7 May 2014 19:31:24 +0000 (19:31 +0000)]
/cp
2014-05-07  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/61083
* pt.c (convert_nontype_argument): Protect all the error calls
with complain & tf_error.

/testsuite
2014-05-07  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/61083
* g++.dg/cpp0x/sfinae50.C: New.

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

10 years agogcc/
rsandifo [Wed, 7 May 2014 18:00:59 +0000 (18:00 +0000)]
gcc/
PR tree-optimization/61095
* tree-ssanames.c (get_nonzero_bits): Fix type extension in wi::shwi.

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

10 years ago2014-05-07 Charles Baylis <charles.baylis@linaro.org>
cbaylis [Wed, 7 May 2014 15:45:32 +0000 (15:45 +0000)]
2014-05-07  Charles Baylis  <charles.baylis@linaro.org>

        * MAINTAINERS (Write After Approval): Add myself.

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

10 years ago PR libstdc++/61086
redi [Wed, 7 May 2014 14:43:22 +0000 (14:43 +0000)]
PR libstdc++/61086
* include/bits/stl_iterator.h (__normal_iterator::_M_const_cast):
Remove.
* include/bits/stl_vector.h (vector::insert, vector::erase): Use
arithmetic to obtain a mutable iterator from const_iterator.
* include/bits/vector.tcc (vector::insert): Likewise.
* include/debug/vector (vector::erase): Likewise.
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
Adjust dg-error line number.
* 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/vector/requirements/dr438/insert_neg.cc:
Likewise.

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

10 years ago/cp
paolo [Wed, 7 May 2014 14:30:23 +0000 (14:30 +0000)]
/cp
2014-05-07  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/61080
* pt.c (instantiate_decl): Avoid generating the body of a
deleted function.

/testsuite
2014-05-07  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/61080
* g++.dg/cpp0x/deleted7.C: New.

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

10 years ago2014-05-07 Richard Biener <rguenther@suse.de>
rguenth [Wed, 7 May 2014 14:19:14 +0000 (14:19 +0000)]
2014-05-07  Richard Biener  <rguenther@suse.de>

PR tree-optimization/61034
* tree-ssa-alias.c (call_may_clobber_ref_p_1): Export.
(maybe_skip_until): Use translate to take into account
lattices when trying to do disambiguations.
(get_continuation_for_phi_1): Likewise.
(get_continuation_for_phi): Adjust for added translate
arguments.
(walk_non_aliased_vuses): Likewise.
* tree-ssa-alias.h (get_continuation_for_phi): Adjust
prototype.
(walk_non_aliased_vuses): Likewise.
(call_may_clobber_ref_p_1): Declare.
* tree-ssa-sccvn.c (vn_reference_lookup_3): Also
disambiguate against calls.  Stop early if we are
only supposed to disambiguate.
* tree-ssa-pre.c (translate_vuse_through_block): Adjust.

* g++.dg/tree-ssa/pr61034.C: New testcase.

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

10 years ago PR libstdc++/61023
redi [Wed, 7 May 2014 14:12:37 +0000 (14:12 +0000)]
PR libstdc++/61023
* include/bits/stl_tree.h (_Rb_tree::_M_move_assign): Copy the
comparison function.
* testsuite/23_containers/set/cons/61023.cc: New.

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

10 years agogcc:
amylaar [Wed, 7 May 2014 13:21:59 +0000 (13:21 +0000)]
gcc:
        * config/epiphany/epiphany.c (epiphany_handle_interrupt_attribute):
        Emit an error when the function has arguments.
gcc/testsuite:
        * gcc.target/epiphany/isr-arg.c: New file.

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

10 years agoMore gcc/loop-unswitch.c cleanup.
tschwinge [Wed, 7 May 2014 13:06:46 +0000 (13:06 +0000)]
More gcc/loop-unswitch.c cleanup.

gcc/
* cfgloop.h (unswitch_loops): Remove.
* doc/passes.texi: Remove references to loop-unswitch.c
* timevar.def (TV_LOOP_UNSWITCH): Remove.

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

10 years agogcc/
kyukhin [Wed, 7 May 2014 12:10:22 +0000 (12:10 +0000)]
gcc/
* tree-vect-data-refs.c (vect_grouped_load_supported): New
check for loads group of length 3.
(vect_permute_load_chain): New permutations for loads group of
length 3.
* tree-vect-stmts.c (vect_model_load_cost): Change cost
of vec_perm_shuffle for the new permutations.

gcc/testsuite/
PR tree-optimization/52252
* gcc.dg/vect/pr52252-ld.c: Test on loads group of size 3.

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

10 years agoAdd execution + assembler tests of AArch64 REV Neon Intrinsics.
alalaw01 [Wed, 7 May 2014 10:58:43 +0000 (10:58 +0000)]
Add execution + assembler tests of AArch64 REV Neon Intrinsics.

* gcc.target/aarch64/simd/vrev16p8_1.c: New file.
* gcc.target/aarch64/simd/vrev16p8.x: New file.
* gcc.target/aarch64/simd/vrev16qp8_1.c: New file.
* gcc.target/aarch64/simd/vrev16qp8.x: New file.
* gcc.target/aarch64/simd/vrev16qs8_1.c: New file.
* gcc.target/aarch64/simd/vrev16qs8.x: New file.
* gcc.target/aarch64/simd/vrev16qu8_1.c: New file.
* gcc.target/aarch64/simd/vrev16qu8.x: New file.
* gcc.target/aarch64/simd/vrev16s8_1.c: New file.
* gcc.target/aarch64/simd/vrev16s8.x: New file.
* gcc.target/aarch64/simd/vrev16u8_1.c: New file.
* gcc.target/aarch64/simd/vrev16u8.x: New file.
* gcc.target/aarch64/simd/vrev32p16_1.c: New file.
* gcc.target/aarch64/simd/vrev32p16.x: New file.
* gcc.target/aarch64/simd/vrev32p8_1.c: New file.
* gcc.target/aarch64/simd/vrev32p8.x: New file.
* gcc.target/aarch64/simd/vrev32qp16_1.c: New file.
* gcc.target/aarch64/simd/vrev32qp16.x: New file.
* gcc.target/aarch64/simd/vrev32qp8_1.c: New file.
* gcc.target/aarch64/simd/vrev32qp8.x: New file.
* gcc.target/aarch64/simd/vrev32qs16_1.c: New file.
* gcc.target/aarch64/simd/vrev32qs16.x: New file.
* gcc.target/aarch64/simd/vrev32qs8_1.c: New file.
* gcc.target/aarch64/simd/vrev32qs8.x: New file.
* gcc.target/aarch64/simd/vrev32qu16_1.c: New file.
* gcc.target/aarch64/simd/vrev32qu16.x: New file.
* gcc.target/aarch64/simd/vrev32qu8_1.c: New file.
* gcc.target/aarch64/simd/vrev32qu8.x: New file.
* gcc.target/aarch64/simd/vrev32s16_1.c: New file.
* gcc.target/aarch64/simd/vrev32s16.x: New file.
* gcc.target/aarch64/simd/vrev32s8_1.c: New file.
* gcc.target/aarch64/simd/vrev32s8.x: New file.
* gcc.target/aarch64/simd/vrev32u16_1.c: New file.
* gcc.target/aarch64/simd/vrev32u16.x: New file.
* gcc.target/aarch64/simd/vrev32u8_1.c: New file.
* gcc.target/aarch64/simd/vrev32u8.x: New file.
* gcc.target/aarch64/simd/vrev64f32_1.c: New file.
* gcc.target/aarch64/simd/vrev64f32.x: New file.
* gcc.target/aarch64/simd/vrev64p16_1.c: New file.
* gcc.target/aarch64/simd/vrev64p16.x: New file.
* gcc.target/aarch64/simd/vrev64p8_1.c: New file.
* gcc.target/aarch64/simd/vrev64p8.x: New file.
* gcc.target/aarch64/simd/vrev64qf32_1.c: New file.
* gcc.target/aarch64/simd/vrev64qf32.x: New file.
* gcc.target/aarch64/simd/vrev64qp16_1.c: New file.
* gcc.target/aarch64/simd/vrev64qp16.x: New file.
* gcc.target/aarch64/simd/vrev64qp8_1.c: New file.
* gcc.target/aarch64/simd/vrev64qp8.x: New file.
* gcc.target/aarch64/simd/vrev64qs16_1.c: New file.
* gcc.target/aarch64/simd/vrev64qs16.x: New file.
* gcc.target/aarch64/simd/vrev64qs32_1.c: New file.
* gcc.target/aarch64/simd/vrev64qs32.x: New file.
* gcc.target/aarch64/simd/vrev64qs8_1.c: New file.
* gcc.target/aarch64/simd/vrev64qs8.x: New file.
* gcc.target/aarch64/simd/vrev64qu16_1.c: New file.
* gcc.target/aarch64/simd/vrev64qu16.x: New file.
* gcc.target/aarch64/simd/vrev64qu32_1.c: New file.
* gcc.target/aarch64/simd/vrev64qu32.x: New file.
* gcc.target/aarch64/simd/vrev64qu8_1.c: New file.
* gcc.target/aarch64/simd/vrev64qu8.x: New file.
* gcc.target/aarch64/simd/vrev64s16_1.c: New file.
* gcc.target/aarch64/simd/vrev64s16.x: New file.
* gcc.target/aarch64/simd/vrev64s32_1.c: New file.
* gcc.target/aarch64/simd/vrev64s32.x: New file.
* gcc.target/aarch64/simd/vrev64s8_1.c: New file.
* gcc.target/aarch64/simd/vrev64s8.x: New file.
* gcc.target/aarch64/simd/vrev64u16_1.c: New file.
* gcc.target/aarch64/simd/vrev64u16.x: New file.
* gcc.target/aarch64/simd/vrev64u32_1.c: New file.
* gcc.target/aarch64/simd/vrev64u32.x: New file.
* gcc.target/aarch64/simd/vrev64u8_1.c: New file.
* gcc.target/aarch64/simd/vrev64u8.x: New file.

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

10 years agoAdd execution + assembler tests of AArch64 EXT intrinsics.
alalaw01 [Wed, 7 May 2014 10:51:15 +0000 (10:51 +0000)]
Add execution + assembler tests of AArch64 EXT intrinsics.

gcc.target/aarch64/simd/ext_f32.x: New file.
gcc.target/aarch64/simd/ext_f32_1.c: New file.
gcc.target/aarch64/simd/ext_p16.x: New file.
gcc.target/aarch64/simd/ext_p16_1.c: New file.
gcc.target/aarch64/simd/ext_p8.x: New file.
gcc.target/aarch64/simd/ext_p8_1.c: New file.
gcc.target/aarch64/simd/ext_s16.x: New file.
gcc.target/aarch64/simd/ext_s16_1.c: New file.
gcc.target/aarch64/simd/ext_s32.x: New file.
gcc.target/aarch64/simd/ext_s32_1.c: New file.
gcc.target/aarch64/simd/ext_s64.x: New file.
gcc.target/aarch64/simd/ext_s64_1.c: New file.
gcc.target/aarch64/simd/ext_s8.x: New file.
gcc.target/aarch64/simd/ext_s8_1.c: New file.
gcc.target/aarch64/simd/ext_u16.x: New file.
gcc.target/aarch64/simd/ext_u16_1.c: New file.
gcc.target/aarch64/simd/ext_u32.x: New file.
gcc.target/aarch64/simd/ext_u32_1.c: New file.
gcc.target/aarch64/simd/ext_u64.x: New file.
gcc.target/aarch64/simd/ext_u64_1.c: New file.
gcc.target/aarch64/simd/ext_u8.x: New file.
gcc.target/aarch64/simd/ext_u8_1.c: New file.
gcc.target/aarch64/simd/ext_f64.c: New file.
gcc.target/aarch64/simd/extq_f32.x: New file.
gcc.target/aarch64/simd/extq_f32_1.c: New file.
gcc.target/aarch64/simd/extq_p16.x: New file.
gcc.target/aarch64/simd/extq_p16_1.c: New file.
gcc.target/aarch64/simd/extq_p8.x: New file.
gcc.target/aarch64/simd/extq_p8_1.c: New file.
gcc.target/aarch64/simd/extq_s16.x: New file.
gcc.target/aarch64/simd/extq_s16_1.c: New file.
gcc.target/aarch64/simd/extq_s32.x: New file.
gcc.target/aarch64/simd/extq_s32_1.c: New file.
gcc.target/aarch64/simd/extq_s64.x: New file.
gcc.target/aarch64/simd/extq_s64_1.c: New file.
gcc.target/aarch64/simd/extq_s8.x: New file.
gcc.target/aarch64/simd/extq_s8_1.c: New file.
gcc.target/aarch64/simd/extq_u16.x: New file.
gcc.target/aarch64/simd/extq_u16_1.c: New file.
gcc.target/aarch64/simd/extq_u32.x: New file.
gcc.target/aarch64/simd/extq_u32_1.c: New file.
gcc.target/aarch64/simd/extq_u64.x: New file.
gcc.target/aarch64/simd/extq_u64_1.c: New file.
gcc.target/aarch64/simd/extq_u8.x: New file.
gcc.target/aarch64/simd/extq_u8_1.c: New file.
gcc.target/aarch64/simd/extq_f64.c: New file.

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

10 years agoReimplement AArch64 TRN intrinsics with __builtin_shuffle.
alalaw01 [Wed, 7 May 2014 10:40:41 +0000 (10:40 +0000)]
Reimplement AArch64 TRN intrinsics with __builtin_shuffle.

gcc/testsuite/ChangeLog:

* gcc.target/aarch64/vtrns32.c: Expect zip[12] insn rather than trn[12].
* gcc.target/aarch64/vtrnu32.c: Likewise.
* gcc.target/aarch64/vtrnf32.c: Likewise.

gcc/ChangeLog:

* config/aarch64/arm_neon.h (vtrn1_f32, vtrn1_p8, vtrn1_p16, vtrn1_s8,
vtrn1_s16, vtrn1_s32, vtrn1_u8, vtrn1_u16, vtrn1_u32, vtrn1q_f32,
vtrn1q_f64, vtrn1q_p8, vtrn1q_p16, vtrn1q_s8, vtrn1q_s16, vtrn1q_s32,
vtrn1q_s64, vtrn1q_u8, vtrn1q_u16, vtrn1q_u32, vtrn1q_u64, vtrn2_f32,
vtrn2_p8, vtrn2_p16, vtrn2_s8, vtrn2_s16, vtrn2_s32, vtrn2_u8,
vtrn2_u16, vtrn2_u32, vtrn2q_f32, vtrn2q_f64, vtrn2q_p8, vtrn2q_p16,
vtrn2q_s8, vtrn2q_s16, vtrn2q_s32, vtrn2q_s64, vtrn2q_u8, vtrn2q_u16,
vtrn2q_u32, vtrn2q_u64): Replace temporary asm with __builtin_shuffle.

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

10 years agoReally delete gcc/loop-unswitch.c.
tschwinge [Wed, 7 May 2014 10:31:26 +0000 (10:31 +0000)]
Really delete gcc/loop-unswitch.c.

gcc/
* loop-unswitch.c: Delete.

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

10 years ago2014-05-07 Richard Biener <rguenther@suse.de>
rguenth [Wed, 7 May 2014 10:24:38 +0000 (10:24 +0000)]
2014-05-07  Richard Biener  <rguenther@suse.de>

libcpp/
* configure.ac: Always set need_64bit_hwint to yes.
* configure: Regenerated.

* config.gcc: Always set need_64bit_hwint to yes.

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

10 years agoAdd execution + assembler tests of AArch64 TRN Intrinsics.
alalaw01 [Wed, 7 May 2014 10:20:54 +0000 (10:20 +0000)]
Add execution + assembler tests of AArch64 TRN Intrinsics.

* gcc.target/aarch64/simd/vtrnf32_1.c: New file.
* gcc.target/aarch64/simd/vtrnf32.x: New file.
* gcc.target/aarch64/simd/vtrnp16_1.c: New file.
* gcc.target/aarch64/simd/vtrnp16.x: New file.
* gcc.target/aarch64/simd/vtrnp8_1.c: New file.
* gcc.target/aarch64/simd/vtrnp8.x: New file.
* gcc.target/aarch64/simd/vtrnqf32_1.c: New file.
* gcc.target/aarch64/simd/vtrnqf32.x: New file.
* gcc.target/aarch64/simd/vtrnqp16_1.c: New file.
* gcc.target/aarch64/simd/vtrnqp16.x: New file.
* gcc.target/aarch64/simd/vtrnqp8_1.c: New file.
* gcc.target/aarch64/simd/vtrnqp8.x: New file.
* gcc.target/aarch64/simd/vtrnqs16_1.c: New file.
* gcc.target/aarch64/simd/vtrnqs16.x: New file.
* gcc.target/aarch64/simd/vtrnqs32_1.c: New file.
* gcc.target/aarch64/simd/vtrnqs32.x: New file.
* gcc.target/aarch64/simd/vtrnqs8_1.c: New file.
* gcc.target/aarch64/simd/vtrnqs8.x: New file.
* gcc.target/aarch64/simd/vtrnqu16_1.c: New file.
* gcc.target/aarch64/simd/vtrnqu16.x: New file.
* gcc.target/aarch64/simd/vtrnqu32_1.c: New file.
* gcc.target/aarch64/simd/vtrnqu32.x: New file.
* gcc.target/aarch64/simd/vtrnqu8_1.c: New file.
* gcc.target/aarch64/simd/vtrnqu8.x: New file.
* gcc.target/aarch64/simd/vtrns16_1.c: New file.
* gcc.target/aarch64/simd/vtrns16.x: New file.
* gcc.target/aarch64/simd/vtrns32_1.c: New file.
* gcc.target/aarch64/simd/vtrns32.x: New file.
* gcc.target/aarch64/simd/vtrns8_1.c: New file.
* gcc.target/aarch64/simd/vtrns8.x: New file.
* gcc.target/aarch64/simd/vtrnu16_1.c: New file.
* gcc.target/aarch64/simd/vtrnu16.x: New file.
* gcc.target/aarch64/simd/vtrnu32_1.c: New file.
* gcc.target/aarch64/simd/vtrnu32.x: New file.
* gcc.target/aarch64/simd/vtrnu8_1.c: New file.
* gcc.target/aarch64/simd/vtrnu8.x: New file.

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

10 years ago2014-05-07 Richard Biener <rguenther@suse.de>
rguenth [Wed, 7 May 2014 08:04:15 +0000 (08:04 +0000)]
2014-05-07  Richard Biener  <rguenther@suse.de>

PR tree-optimization/57864
* gcc.dg/torture/pr57864.c: New testcase.

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

10 years ago/cp
paolo [Wed, 7 May 2014 07:24:21 +0000 (07:24 +0000)]
/cp
2014-05-06  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/60999
* pt.c (maybe_begin_member_template_processing): Use
uses_template_parms.

/testsuite
2014-05-06  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/60999
* g++.dg/cpp0x/nsdmi-template9.C: New.
* g++.dg/cpp0x/nsdmi-template10.C: Likewise.

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

10 years agoFix date in ChangeLog.
jasonwucj [Wed, 7 May 2014 06:57:00 +0000 (06:57 +0000)]
Fix date in ChangeLog.

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

10 years ago * config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Have it in favor
jasonwucj [Wed, 7 May 2014 06:34:15 +0000 (06:34 +0000)]
* config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Have it in favor
of using optimize_size.

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

10 years ago2014-05-06 Jerry DeLisle <jvdelisle@gcc.gnu>
jvdelisle [Wed, 7 May 2014 01:46:03 +0000 (01:46 +0000)]
2014-05-06  Jerry DeLisle  <jvdelisle@gcc.gnu>

PR libfortran/61049
* gfortran.dg/list_read_13.f: New test.

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

10 years ago2014-05-06 Jerry DeLisle <jvdelisle@gcc.gnu>
jvdelisle [Wed, 7 May 2014 01:31:42 +0000 (01:31 +0000)]
2014-05-06  Jerry DeLisle  <jvdelisle@gcc.gnu>

PR libfortran/61049
* io/list_read.c (list_formatted_read_scalar): Use eat_separator
and delete extraneous code.

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

10 years ago2014-05-06 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Wed, 7 May 2014 01:11:19 +0000 (01:11 +0000)]
2014-05-06  Paolo Carlini  <paolo.carlini@oracle.com>

* include/Makefile.in: Regenerate.

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

10 years agoDaily bump.
gccadmin [Wed, 7 May 2014 00:17:26 +0000 (00:17 +0000)]
Daily bump.

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

10 years ago * wide-int.h (wi::int_traits <HOST_WIDE_INT>): Always define.
mrs [Tue, 6 May 2014 23:50:35 +0000 (23:50 +0000)]
* wide-int.h (wi::int_traits <HOST_WIDE_INT>): Always define.

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

10 years ago/cp
paolo [Tue, 6 May 2014 22:32:49 +0000 (22:32 +0000)]
/cp
2014-05-06  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/60999
* pt.c (maybe_begin_member_template_processing): Use
uses_template_parms.

/testsuite
2014-05-06  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/60999
* g++.dg/cpp0x/nsdmi-template9.C: New.
* g++.dg/cpp0x/nsdmi-template10.C: Likewise.

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

10 years ago * config/i386/sse.md (*mov<mode>_internal)
jsm28 [Tue, 6 May 2014 20:35:15 +0000 (20:35 +0000)]
* config/i386/sse.md (*mov<mode>_internal)
(*<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>)
(*<sse2_avx_avx512f>_loaddqu<mode><mask_name>)
(<sse>_andnot<mode>3, <code><mode>3, *andnot<mode>3)
(*<code><mode>3, *andnot<mode>3<mask_name>)
(<mask_codefor><code><mode>3<mask_name>): Only consider
TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL for modes of size 16.

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

10 years ago2014-05-06 François Dumont <fdumont@gcc.gnu.org>
fdumont [Tue, 6 May 2014 19:59:44 +0000 (19:59 +0000)]
2014-05-06  François Dumont  <fdumont@gcc.gnu.org>

* include/debug/macros.h [__glibcxx_check_equal_allocs]: Add
parameter to pass the 2 instances to check allocator equality.
* include/debug/safe_container.h: New, define _Safe_container<>.
* include/Makefile.am: Add previous.
* include/debug/deque (std::__debug::deque<>): Inherit
_Safe_container<>. Use default implementation for all special
functions.
* include/debug/forward_list (std::__debug::forward_list<>):
Likewise.
* include/debug/list (std::__debug::list<>): Likewise.
* include/debug/map.h (std::__debug::map<>): Likewise.
* include/debug/multimap.h (std::__debug::multimap<>): Likewise.
* include/debug/set.h (std::__debug::set<>): Likewise.
* include/debug/multiset.h (std::__debug::multiset<>): Likewise.
* include/debug/string (std::__debug::basic_string<>): Likewise.
* include/debug/unordered_map
(std::__debug::unordered_map<>): Likewise.
(std::__debug::unordered_multimap<>): Likewise.
* include/debug/unordered_set
(std::__debug::unordered_set<>): Likewise.
(std::__debug::unordered_multiset<>): Likewise.
* include/debug/vector (std::__debug::vector<>): Likewise.
* include/debug/safe_base.h (_Safe_sequence_base()): Add
noexcept.
(_Safe_sequence_base(_Safe_sequence_base&&): Remove.
(~_Safe_sequence_base()): Add noexcept.
* include/debug/safe_sequence.h
(std::__debug::_Safe_node_sequence<>): New.
* include/debug/safe_unordered_base.h
(_Safe_unordered_container_base()): Add noexcept.
(~_Safe_unordered_container_base()): Likewise.
(_M_swap(_Safe_unordered_container_base&)): Likewise.
* include/debug/safe_unordered_container.h:
(_Safe_unordered_container<>::_M_invalidate_locals()): New.
(_Safe_unordered_container<>::_M_invalidate_all()): New.
* src/c++11/debug.cc: Limit includes, adapt methods noexcept
qualifications.
* testsuite/util/debug/checks.h (check_construct1): Just implement
an invalid constructor invocation  and no other operations
potentially not supported by some types of container.
(check_construct2): Likewise.
(check_construct3): Likewise.
* testsuite/23_containers/forward_list/allocator/move.cc: Add
check on iterators to make sure they are correctly moved in debug
mode.
* testsuite/23_containers/forward_list/allocator/move_assign.cc:
Likewise.
* testsuite/23_containers/map/allocator/move.cc: Likewise.
* testsuite/23_containers/map/allocator/move_assign.cc: Likewise.
* testsuite/23_containers/multimap/allocator/move.cc: Likewise.
* testsuite/23_containers/multimap/allocator/move_assign.cc:
Likewise.
* testsuite/23_containers/multiset/allocator/move.cc: Likewise.
* testsuite/23_containers/multiset/allocator/move_assign.cc:
Likewise.
* testsuite/23_containers/set/allocator/move.cc: Likewise.
* testsuite/23_containers/set/allocator/move_assign.cc: Likewise.
* testsuite/23_containers/unordered_map/allocator/move.cc:
Likewise.
* testsuite/23_containers/unordered_map/allocator/move_assign.cc:
Likewise.
* testsuite/23_containers/unordered_multimap/allocator/move.cc:
Likewise.
* testsuite/23_containers/unordered_multimap/allocator/move_assign.cc:
Likewise.
* testsuite/23_containers/unordered_multiset/allocator/move.cc:
Likewise.
* testsuite/23_containers/unordered_multiset/allocator/move_assign.cc:
Likewise.
* testsuite/23_containers/unordered_set/allocator/move.cc:
Likewise.
* testsuite/23_containers/unordered_set/allocator/move_assign.cc:
Likewise.
* testsuite/23_containers/forward_list/debug/construct1_neg.cc:
New.
* testsuite/23_containers/forward_list/debug/construct2_neg.cc:
New.
* testsuite/23_containers/forward_list/debug/construct3_neg.cc:
New.
* testsuite/23_containers/forward_list/debug/construct4_neg.cc:
New.
* testsuite/23_containers/forward_list/debug/move_assign_neg.cc:
New.
* testsuite/23_containers/forward_list/debug/move_neg.cc: New.
* testsuite/23_containers/map/debug/construct5_neg.cc: New.
* testsuite/23_containers/map/debug/move_assign_neg.cc: New.
* testsuite/23_containers/map/debug/move_neg.cc: New.
* testsuite/23_containers/multimap/debug/construct5_neg.cc: New.
* testsuite/23_containers/multimap/debug/move_assign_neg.cc: New.
* testsuite/23_containers/multimap/debug/move_neg.cc: New.
* testsuite/23_containers/multiset/debug/construct5_neg.cc: New.
* testsuite/23_containers/multiset/debug/move_assign_neg.cc: New.
* testsuite/23_containers/multiset/debug/move_neg.cc: New.
* testsuite/23_containers/set/debug/construct5_neg.cc: New.
* testsuite/23_containers/set/debug/move_assign_neg.cc: New.
* testsuite/23_containers/set/debug/move_neg.cc: New.
* testsuite/23_containers/unordered_map/debug/construct5_neg.cc:
New.
* testsuite/23_containers/unordered_map/debug/move_assign_neg.cc:
New.
* testsuite/23_containers/unordered_map/debug/move_neg.cc: New.
* testsuite/23_containers/unordered_multimap/debug/construct5_neg.cc:
New.
* testsuite/23_containers/unordered_multimap/debug/move_assign_neg.cc:
New.
* testsuite/23_containers/unordered_multimap/debug/move_neg.cc:
New.
* testsuite/23_containers/unordered_multiset/debug/construct5_neg.cc:
New.
* testsuite/23_containers/unordered_multiset/debug/move_assign_neg.cc:
New.
* testsuite/23_containers/unordered_multiset/debug/move_neg.cc:
New.
* testsuite/23_containers/unordered_set/debug/construct5_neg.cc:
New.
* testsuite/23_containers/unordered_set/debug/move_assign_neg.cc:
New.
* testsuite/23_containers/unordered_set/debug/move_neg.cc: New.
* testsuite/23_containers/vector/debug/move_neg.cc: New.

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

10 years agocompiler: Use backend interface for expressions.
ian [Tue, 6 May 2014 19:28:03 +0000 (19:28 +0000)]
compiler: Use backend interface for expressions.

* go-gcc.cc (Gcc_backend::nil_pointer_expression): New method.
(Gcc_backend::boolean_constant_expression): New method.
(Gcc_backend::zero_expression): Use this->make_expression rather
than tree_to_expr.
(Gcc_backend::var_expression): Likewise.
(Gcc_backend::integer_constant_expression): Likewise.
(Gcc_backend::float_constant_expression): Likewise.
(Gcc_backend::complex_constant_expression): Likewise.
(Gcc_backend::struct_field_expression): Likewise.
(tree_to_type, tree_to_expr, tree_to_stat): Remove functions.
(tree_to_function, tree_to_block): Remove functions.
(type_to_tree, expr_to_tree, stat_to_tree): Remove functions.
(block_to_tree, var_to_tree, function_to_tree): Remove functions.

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

10 years agogcc/
rsandifo [Tue, 6 May 2014 19:22:16 +0000 (19:22 +0000)]
gcc/
Revert:
2014-05-03  Richard Sandiford  <rdsandiford@googlemail.com>

* lra-constraints.c (valid_address_p): Move earlier in file.
Add a constraint argument to the address_info version.
(satisfies_memory_constraint_p): New function.
(satisfies_address_constraint_p): Likewise.
(process_alt_operands, curr_insn_transform): Use them.
(process_address): Pass the constraint to valid_address_p when
checking address operands.

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

10 years agogcc/
rsandifo [Tue, 6 May 2014 17:47:15 +0000 (17:47 +0000)]
gcc/
* lto-cgraph.c (compute_ltrans_boundary): Make node variables local
to their respective blocks.  Fix inadvertent use of "node".

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

10 years agogcc/java/
rsandifo [Tue, 6 May 2014 17:46:05 +0000 (17:46 +0000)]
gcc/java/
* boehm.c (mark_reference_fields): Don't update the mask when
setting pointer_after_end.

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

10 years agogcc/
rsandifo [Tue, 6 May 2014 17:44:15 +0000 (17:44 +0000)]
gcc/
* emit-rtl.c (init_derived_machine_modes): New functionm, split
out from...
(init_emit_once): ...here.
* rtl.h (init_derived_machine_modes): Declare.
* toplev.c (do_compile): Call it even if no_backend.

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

10 years agoRemove svn:mergeinfo properties, there should be none on the trunk.
jakub [Tue, 6 May 2014 16:47:59 +0000 (16:47 +0000)]
Remove svn:mergeinfo properties, there should be none on the trunk.

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

10 years agoUpdate ChangeLogs for wide-int work.
mrs [Tue, 6 May 2014 16:35:35 +0000 (16:35 +0000)]
Update ChangeLogs for wide-int work.

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

10 years agoMerge in wide-int.
mrs [Tue, 6 May 2014 16:25:05 +0000 (16:25 +0000)]
Merge in wide-int.

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

10 years agoMerge in trunk.
mrs [Tue, 6 May 2014 14:30:33 +0000 (14:30 +0000)]
Merge in trunk.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@210111 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agocompiler: Store flags for division checks in Gogo object instead of using global...
ian [Tue, 6 May 2014 13:50:01 +0000 (13:50 +0000)]
compiler: Store flags for division checks in Gogo object instead of using global variables.

* go-c.h (go_create_gogo): Update declaration to add
check_divide_zero and check_divide_overflow parameters.
* go-lang.c (go_langhook_init): Pass new arguments to
go_create_gogo.

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

10 years ago2014-05-06 Jan-Benedict Glaw <jbglaw@lug-owl.de>
jbglaw [Tue, 6 May 2014 13:48:29 +0000 (13:48 +0000)]
2014-05-06  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

* config/avr/avr.c (avr_can_eliminate): Mark unused argument.

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

10 years ago2014-05-06 Richard Biener <rguenther@suse.de>
rguenth [Tue, 6 May 2014 13:35:40 +0000 (13:35 +0000)]
2014-05-06  Richard Biener  <rguenther@suse.de>

* tree-pass.h (TODO_verify_ssa, TODO_verify_flow,
TODO_verify_stmts, TODO_verify_rtl_sharing): Remove.
(TODO_verify_all): Adjust.
* asan.c: Remove references to TODO_verify_ssa, TODO_verify_flow,
TODO_verify_stmts and TODO_verify_rtl_sharing.
* bb-reorder.c: Likewise.
* cfgexpand.c: Likewise.
* cprop.c: Likewise.
* cse.c: Likewise.
* function.c: Likewise.
* fwprop.c: Likewise.
* gcse.c: Likewise.
* gimple-ssa-isolate-paths.c: Likewise.
* gimple-ssa-strength-reduction.c: Likewise.
* ipa-split.c: Likewise.
* loop-init.c: Likewise.
* loop-unroll.c: Likewise.
* lower-subreg.c: Likewise.
* modulo-sched.c: Likewise.
* postreload-gcse.c: Likewise.
* predict.c: Likewise.
* recog.c: Likewise.
* sched-rgn.c: Likewise.
* store-motion.c: Likewise.
* tracer.c: Likewise.
* trans-mem.c: Likewise.
* tree-call-cdce.c: Likewise.
* tree-cfg.c: Likewise.
* tree-cfgcleanup.c: Likewise.
* tree-complex.c: Likewise.
* tree-eh.c: Likewise.
* tree-emutls.c: Likewise.
* tree-if-conv.c: Likewise.
* tree-into-ssa.c: Likewise.
* tree-loop-distribution.c: Likewise.
* tree-object-size.c: Likewise.
* tree-parloops.c: Likewise.
* tree-pass.h: Likewise.
* tree-sra.c: Likewise.
* tree-ssa-ccp.c: Likewise.
* tree-ssa-copy.c: Likewise.
* tree-ssa-copyrename.c: Likewise.
* tree-ssa-dce.c: Likewise.
* tree-ssa-dom.c: Likewise.
* tree-ssa-dse.c: Likewise.
* tree-ssa-forwprop.c: Likewise.
* tree-ssa-ifcombine.c: Likewise.
* tree-ssa-loop-ch.c: Likewise.
* tree-ssa-loop-ivcanon.c: Likewise.
* tree-ssa-loop.c: Likewise.
* tree-ssa-math-opts.c: Likewise.
* tree-ssa-phiopt.c: Likewise.
* tree-ssa-phiprop.c: Likewise.
* tree-ssa-pre.c: Likewise.
* tree-ssa-reassoc.c: Likewise.
* tree-ssa-sink.c: Likewise.
* tree-ssa-strlen.c: Likewise.
* tree-ssa-tail-merge.c: Likewise.
* tree-ssa-uncprop.c: Likewise.
* tree-switch-conversion.c: Likewise.
* tree-tailcall.c: Likewise.
* tree-vect-generic.c: Likewise.
* tree-vectorizer.c: Likewise.
* tree-vrp.c: Likewise.
* tsan.c: Likewise.
* var-tracking.c: Likewise.
* bt-load.c: Likewise.
* cfgcleanup.c: Likewise.
* combine-stack-adj.c: Likewise.
* combine.c: Likewise.
* compare-elim.c: Likewise.
* config/epiphany/resolve-sw-modes.c: Likewise.
* config/i386/i386.c: Likewise.
* config/mips/mips.c: Likewise.
* config/s390/s390.c: Likewise.
* config/sh/sh_treg_combine.cc: Likewise.
* config/sparc/sparc.c: Likewise.
* dce.c: Likewise.
* dse.c: Likewise.
* final.c: Likewise.
* ifcvt.c: Likewise.
* mode-switching.c: Likewise.
* passes.c: Likewise.
* postreload.c: Likewise.
* ree.c: Likewise.
* reg-stack.c: Likewise.
* regcprop.c: Likewise.
* regrename.c: Likewise.
* web.c: Likewise.

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

10 years ago2014-05-06 Richard Biener <rguenther@suse.de>
rguenth [Tue, 6 May 2014 10:46:18 +0000 (10:46 +0000)]
2014-05-06  Richard Biener  <rguenther@suse.de>

c-family/
* c-opts.c (c_common_post_options): For -freestanding,
-fno-hosted and -fno-builtin disable pattern recognition
if not enabled explicitely.

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

10 years ago2014-05-06 Richard Biener <rguenther@suse.de>
rguenth [Tue, 6 May 2014 08:30:57 +0000 (08:30 +0000)]
2014-05-06  Richard Biener  <rguenther@suse.de>

PR middle-end/61070
* bitmap.c (debug_bitmap): Dump to stderr, not stdout.
* tree-ssa-structalias.c (dump_solution_for_var): Likewise.

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

10 years agocompiler: Fix bug in embedded method handling.
ian [Tue, 6 May 2014 05:33:31 +0000 (05:33 +0000)]
compiler: Fix bug in embedded method handling.

If the same type was embedded in a struct at different levels,
only the first embedded instance was considered when building
the set of all methods.  A second instance was ignored, even
if it was at a higher level and should therefore override the
first instance.

Test case is bug485.go in master repository.

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

10 years agocompiler: Use backend interface for array length.
ian [Tue, 6 May 2014 01:14:34 +0000 (01:14 +0000)]
compiler: Use backend interface for array length.

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

10 years agoDaily bump.
gccadmin [Tue, 6 May 2014 00:17:17 +0000 (00:17 +0000)]
Daily bump.

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

10 years agocompiler: Use backend interface for slice construction.
ian [Tue, 6 May 2014 00:11:29 +0000 (00:11 +0000)]
compiler: Use backend interface for slice construction.

* go-gcc.cc (Gcc_backend::implicit_variable): Rename from
gc_root_variable.  Add name and is_constant parameters.

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

10 years agocompiler: Handle recursive pointer types for unary indirection.
ian [Mon, 5 May 2014 23:54:16 +0000 (23:54 +0000)]
compiler: Handle recursive pointer types for unary indirection.

* go-gcc.cc (Gcc_backend::indirect_expression): Add btype
parameter.
(Gcc_backend::temporary_variable): Check for erroneous function.

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

10 years ago PR ipa/60965
hubicka [Mon, 5 May 2014 23:27:40 +0000 (23:27 +0000)]
PR ipa/60965
* ipa-devirt.c (get_class_context): Allow POD to change to non-POD.
* g++.dg/ipa/devirt-32.C: New testcase.

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

10 years agoAdd call_fusage_contains_non_callee_clobbers hook
vries [Mon, 5 May 2014 22:51:36 +0000 (22:51 +0000)]
Add call_fusage_contains_non_callee_clobbers hook

2014-05-05  Radovan Obradovic  <robradovic@mips.com>
            Tom de Vries  <tom@codesourcery.com>

* target.def (call_fusage_contains_non_callee_clobbers): New DEFHOOKPOD.
* doc/tm.texi.in (@node Stack and Calling): Add Miscellaneous Register
Hooks to @menu.
(@node Miscellaneous Register Hooks): New node.
(@hook TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): New hook.
* doc/tm.texi: Regenerate.

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

10 years agocompiler: Use backend interface for type info expressions.
ian [Mon, 5 May 2014 21:48:52 +0000 (21:48 +0000)]
compiler: Use backend interface for type info expressions.

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

10 years agoMerge in trunk.
mrs [Mon, 5 May 2014 21:08:19 +0000 (21:08 +0000)]
Merge in trunk.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@210083 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoMerge in trunk.
mrs [Mon, 5 May 2014 21:02:34 +0000 (21:02 +0000)]
Merge in trunk.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@210082 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR driver/61065
mpolacek [Mon, 5 May 2014 20:37:47 +0000 (20:37 +0000)]
PR driver/61065
* opts.c (common_handle_option): Call error_at instead of warning_at.

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

10 years agocompiler: Use backend interface for sink expressions.
ian [Mon, 5 May 2014 19:05:59 +0000 (19:05 +0000)]
compiler: Use backend interface for sink expressions.

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

10 years agocompiler: Use backend interface for set and use temporaries.
ian [Mon, 5 May 2014 18:49:39 +0000 (18:49 +0000)]
compiler: Use backend interface for set and use temporaries.

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

10 years agoMerge in trunk.
mrs [Mon, 5 May 2014 18:05:00 +0000 (18:05 +0000)]
Merge in trunk.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@210075 138bc75d-0d04-0410-961f-82ee72b054a4