]> gcc.gnu.org Git - gcc.git/log
gcc.git
10 years agore PR driver/61106 ([4.8/4.9] impliedness of -Wunused-parameter depends on -W option...
Matthias Klose [Thu, 8 May 2014 22:17:43 +0000 (22:17 +0000)]
re PR driver/61106 ([4.8/4.9] impliedness of -Wunused-parameter depends on -W option ordering)

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.

From-SVN: r210246

10 years agodg-extract-results.py: New file.
Richard Sandiford [Thu, 8 May 2014 20:24:33 +0000 (20:24 +0000)]
dg-extract-results.py: New file.

contrib/
* dg-extract-results.py: New file.
* dg-extract-results.sh: Use it if the environment seems suitable.

From-SVN: r210243

10 years agore PR libstdc++/61117 (Manual uses term open source but should say free software)
Joshua Gay [Thu, 8 May 2014 19:52:40 +0000 (19:52 +0000)]
re PR libstdc++/61117 (Manual uses term open source but should say free software)

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.

From-SVN: r210241

10 years agore PR target/59952 (-march=core-avx2 should not enable RTM)
Uros Bizjak [Thu, 8 May 2014 19:13:10 +0000 (21:13 +0200)]
re PR target/59952 (-march=core-avx2 should not enable RTM)

PR target/59952
* config/i386/i386.c (PTA_HASWELL): Remove PTA_RTM.

From-SVN: r210234

10 years agore PR target/61092 (wide-int merge broke alpha bootstrap)
Uros Bizjak [Thu, 8 May 2014 19:02:28 +0000 (21:02 +0200)]
re PR target/61092 (wide-int merge broke alpha bootstrap)

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.

From-SVN: r210233

10 years agoiostream: Fix URL in comment.
Jonathan Wakely [Thu, 8 May 2014 19:01:51 +0000 (20:01 +0100)]
iostream: Fix URL in comment.

* include/std/iostream: Fix URL in comment.
* src/c++98/ios_init.cc: Fix path in comment.

From-SVN: r210232

10 years agore PR libstdc++/13860 (Poor error messages on invalid template parameters for basic_f...
Jonathan Wakely [Thu, 8 May 2014 18:30:14 +0000 (19:30 +0100)]
re PR libstdc++/13860 (Poor error messages on invalid template parameters for basic_filebuf)

PR libstdc++/13860
* include/std/fstream (basic_filebuf): Enforce requirements on traits.

From-SVN: r210231

10 years agore PR c/61053 (_Alignas(long long) reduces alignment of long long)
Marek Polacek [Thu, 8 May 2014 18:19:09 +0000 (18:19 +0000)]
re PR c/61053 (_Alignas(long long) reduces alignment of long long)

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.

From-SVN: r210230

10 years agore PR c/61077 (_Atomic in the return type or argument types of main not diagnosed)
Marek Polacek [Thu, 8 May 2014 17:42:09 +0000 (17:42 +0000)]
re PR c/61077 (_Atomic in the return type or argument types of main not diagnosed)

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.

From-SVN: r210229

10 years agore PR libstdc++/57394 ([C++11] basic_streambuf incorrect copy constructor / copy...
Jonathan Wakely [Thu, 8 May 2014 17:17:06 +0000 (18:17 +0100)]
re PR libstdc++/57394 ([C++11] basic_streambuf incorrect copy constructor / copy assignment access specifier)

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.

From-SVN: r210228

10 years agogfortran.h (gfc_isym_id): Add GFC_ISYM_CAF_GET and GFC_ISYM_CAF_SEND.
Tobias Burnus [Thu, 8 May 2014 17:00:07 +0000 (19:00 +0200)]
gfortran.h (gfc_isym_id): Add GFC_ISYM_CAF_GET and GFC_ISYM_CAF_SEND.

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.

From-SVN: r210225

10 years agotrans-intrinsic.c (conv_co_minmaxsum): Change condition style.
Tobias Burnus [Thu, 8 May 2014 16:57:42 +0000 (18:57 +0200)]
trans-intrinsic.c (conv_co_minmaxsum): Change condition style.

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

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

From-SVN: r210224

10 years agocheck.c (check_co_minmaxsum, [...]): New.
Tobias Burnus [Thu, 8 May 2014 16:55:23 +0000 (18:55 +0200)]
check.c (check_co_minmaxsum, [...]): New.

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.

From-SVN: r210223

10 years agore PR target/58066 (__tls_get_addr is called with misaligned stack on x86-64)
Wei Mi [Thu, 8 May 2014 16:44:52 +0000 (16:44 +0000)]
re PR target/58066 (__tls_get_addr is called with misaligned stack on x86-64)

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.

From-SVN: r210222

10 years agoavx256-unaligned-load-2.c, [...]: Allow packed-single instructions.
Joseph Myers [Thu, 8 May 2014 15:39:32 +0000 (16:39 +0100)]
avx256-unaligned-load-2.c, [...]: Allow packed-single instructions.

* 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.

From-SVN: r210220

10 years agoNeon intrinsics TLC - remove ML
Ramana Radhakrishnan [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.

From-SVN: r210219

10 years agoNeon intrinsics TLC - remove dead code.
Ramana Radhakrishnan [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.

From-SVN: r210218

10 years agore PR c++/13981 (Give message about incomplete class that might be implicitly upcasted.)
Paolo Carlini [Thu, 8 May 2014 14:30:56 +0000 (14:30 +0000)]
re PR c++/13981 (Give message about incomplete class that might be implicitly upcasted.)

/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.

From-SVN: r210217

10 years agoNeon intrinsics TLC - Replace intrinsics with GNU C implementations.
Ramana Radhakrishnan [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.

From-SVN: r210216

10 years agoDefine UDWtype for longlong.h inclusion in wide-int.cc
Ramana Radhakrishnan [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.

From-SVN: r210215

10 years agore PR tree-optimization/59100 (requesting optimization of safe rotate function)
Marc Glisse [Thu, 8 May 2014 13:17:01 +0000 (15:17 +0200)]
re PR tree-optimization/59100 (requesting optimization of safe rotate function)

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.

From-SVN: r210212

10 years agotree-ssa-sccvn.c (vn_get_expr_for): Valueize operands before folding the expression.
Richard Biener [Thu, 8 May 2014 12:39:07 +0000 (12:39 +0000)]
tree-ssa-sccvn.c (vn_get_expr_for): Valueize operands before folding the expression.

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.

From-SVN: r210211

10 years agoDon't build libgcc-unwind.map with --disable-shared (PR libgcc/61097)
Rainer Orth [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.

From-SVN: r210210

10 years agogimplify.c (gimplify_call_expr): Use saved fnptrtype for looking at TYPE_ARG_TYPES.
Richard Biener [Thu, 8 May 2014 10:57:53 +0000 (10:57 +0000)]
gimplify.c (gimplify_call_expr): Use saved fnptrtype for looking at TYPE_ARG_TYPES.

2014-05-08  Richard Biener  <rguenther@suse.de>

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

From-SVN: r210209

10 years agogimple-fold.c (gimple_fold_stmt_to_constant_1): Remove pointer propagation special...
Richard Biener [Thu, 8 May 2014 10:19:17 +0000 (10:19 +0000)]
gimple-fold.c (gimple_fold_stmt_to_constant_1): Remove pointer propagation special-case.

2014-05-08  Richard Biener  <rguenther@suse.de>

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

From-SVN: r210208

10 years agoacinclude.m4 ([GLIBCXX_ENABLE_C99]): Avoid -Wwrite-strings warning.
Paolo Carlini [Thu, 8 May 2014 09:34:49 +0000 (09:34 +0000)]
acinclude.m4 ([GLIBCXX_ENABLE_C99]): Avoid -Wwrite-strings warning.

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

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

From-SVN: r210206

10 years agocp-demangle.c (struct d_component_stack): New structure.
Gary Benson [Thu, 8 May 2014 09:13:44 +0000 (09:13 +0000)]
cp-demangle.c (struct d_component_stack): New structure.

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.

From-SVN: r210205

10 years agotree-affine.c (tree_to_aff_combination): Handle MEM_REF for core part of address...
Bin Cheng [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.

* tree-affine.c (tree_to_aff_combination): Handle MEM_REF for
core part of address expressions.

From-SVN: r210204

10 years agore PR sanitizer/61095 (miscompile: tsan is broken in gcc trunk, works in 4.9)
Richard Sandiford [Thu, 8 May 2014 08:00:21 +0000 (08:00 +0000)]
re PR sanitizer/61095 (miscompile: tsan is broken in gcc trunk, works in 4.9)

gcc/testsuite/
PR tree-optimization/61095
* gcc.dg/torture/pr61095.c: New test.

From-SVN: r210203

10 years agoc-cppbuiltin.c (print_bits_of_hex): New.
DJ Delorie [Thu, 8 May 2014 03:08:12 +0000 (23:08 -0400)]
c-cppbuiltin.c (print_bits_of_hex): New.

* 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.

From-SVN: r210202

10 years agore PR target/60737 (rs6000 expand_block_clear uses word stores on double word pointer)
Alan Modra [Thu, 8 May 2014 02:05:19 +0000 (11:35 +0930)]
re PR target/60737 (rs6000 expand_block_clear uses word stores on double word pointer)

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.

From-SVN: r210201

10 years agore PR middle-end/39246 (FAIL: gcc.dg/uninit-13.c)
Thomas Preud'homme [Thu, 8 May 2014 01:23:01 +0000 (01:23 +0000)]
re PR middle-end/39246 (FAIL: gcc.dg/uninit-13.c)

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.

From-SVN: r210200

10 years agore PR middle-end/39246 (FAIL: gcc.dg/uninit-13.c)
Thomas Preud'homme [Thu, 8 May 2014 01:20:17 +0000 (01:20 +0000)]
re PR middle-end/39246 (FAIL: gcc.dg/uninit-13.c)

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.

From-SVN: r210199

10 years agore PR middle-end/39246 (FAIL: gcc.dg/uninit-13.c)
Thomas Preud'homme [Thu, 8 May 2014 01:19:11 +0000 (01:19 +0000)]
re PR middle-end/39246 (FAIL: gcc.dg/uninit-13.c)

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.

From-SVN: r210198

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

From-SVN: r210197

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

From-SVN: r210192

10 years agors6000: New attributes for load/store: "sign_extend", "update" and "indexed"
Segher Boessenkool [Wed, 7 May 2014 22:00:58 +0000 (00:00 +0200)]
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).

From-SVN: r210190

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

From-SVN: r210189

10 years agore PR target/60884 ([SH] improve inlined strlen-like builtin functions)
Oleg Endo [Wed, 7 May 2014 20:08:23 +0000 (20:08 +0000)]
re PR target/60884 ([SH] improve inlined strlen-like builtin functions)

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.

From-SVN: r210187

10 years agoConst-correctness of gimple_call_builtin_p
David Malcolm [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.

From-SVN: r210185

10 years agore PR c++/61083 ([C++11] Ambiguous member pointer results in failure, even if used...
Paolo Carlini [Wed, 7 May 2014 19:31:24 +0000 (19:31 +0000)]
re PR c++/61083 ([C++11] Ambiguous member pointer results in failure, even if used in SFINAE.)

/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.

From-SVN: r210184

10 years agore PR sanitizer/61095 (miscompile: tsan is broken in gcc trunk, works in 4.9)
Richard Sandiford [Wed, 7 May 2014 18:00:59 +0000 (18:00 +0000)]
re PR sanitizer/61095 (miscompile: tsan is broken in gcc trunk, works in 4.9)

gcc/
PR tree-optimization/61095
* tree-ssanames.c (get_nonzero_bits): Fix type extension in wi::shwi.

From-SVN: r210181

10 years agoMAINTAINERS (Write After Approval): Add myself.
Charles Baylis [Wed, 7 May 2014 15:45:32 +0000 (15:45 +0000)]
MAINTAINERS (Write After Approval): Add myself.

2014-05-07  Charles Baylis  <charles.baylis@linaro.org>

        * MAINTAINERS (Write After Approval): Add myself.

From-SVN: r210164

10 years agore PR libstdc++/61086 (ubsan detects undefined behaviour in the standard library)
Jonathan Wakely [Wed, 7 May 2014 14:43:22 +0000 (15:43 +0100)]
re PR libstdc++/61086 (ubsan detects undefined behaviour in the standard library)

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.

From-SVN: r210162

10 years agore PR c++/61080 (Spurious no return statement warning with deleted operators)
Paolo Carlini [Wed, 7 May 2014 14:30:23 +0000 (14:30 +0000)]
re PR c++/61080 (Spurious no return statement warning with deleted operators)

/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.

From-SVN: r210161

10 years agore PR tree-optimization/61034 (Optimizing takes too many passes)
Richard Biener [Wed, 7 May 2014 14:19:14 +0000 (14:19 +0000)]
re PR tree-optimization/61034 (Optimizing takes too many passes)

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.

From-SVN: r210160

10 years agore PR libstdc++/61023 (set/map move assignment doesn't move (or copy) the comparator)
Jonathan Wakely [Wed, 7 May 2014 14:12:37 +0000 (15:12 +0100)]
re PR libstdc++/61023 (set/map move assignment doesn't move (or copy) the comparator)

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.

From-SVN: r210159

10 years agoepiphany.c (epiphany_handle_interrupt_attribute): Emit an error when the function...
Joern Rennecke [Wed, 7 May 2014 13:21:59 +0000 (13:21 +0000)]
epiphany.c (epiphany_handle_interrupt_attribute): Emit an error when the function has arguments.

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.

From-SVN: r210157

10 years agoMore gcc/loop-unswitch.c cleanup.
Thomas Schwinge [Wed, 7 May 2014 13:06:46 +0000 (15:06 +0200)]
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.

From-SVN: r210156

10 years agore PR tree-optimization/52252 (An opportunity for x86 gcc vectorizer (gain up to...
Evgeny Stupachenko [Wed, 7 May 2014 12:10:22 +0000 (12:10 +0000)]
re PR tree-optimization/52252 (An opportunity for x86 gcc vectorizer (gain up to 3 times))

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.

From-SVN: r210155

10 years agoAdd execution + assembler tests of AArch64 REV Neon Intrinsics.
Alan Lawrence [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.

From-SVN: r210153

10 years agoAdd execution + assembler tests of AArch64 EXT intrinsics.
Alan Lawrence [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.

From-SVN: r210152

10 years agoReimplement AArch64 TRN intrinsics with __builtin_shuffle.
Alan Lawrence [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.

From-SVN: r210151

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

gcc/
* loop-unswitch.c: Delete.

From-SVN: r210150

10 years agoconfigure.ac: Always set need_64bit_hwint to yes.
Richard Biener [Wed, 7 May 2014 10:24:38 +0000 (10:24 +0000)]
configure.ac: Always set need_64bit_hwint to yes.

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.

From-SVN: r210149

10 years agoAdd execution + assembler tests of AArch64 TRN Intrinsics.
Alan Lawrence [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.

From-SVN: r210148

10 years agore PR tree-optimization/57864 (ICE in bitmap_set_replace_value, at tree-ssa-pre.c...
Richard Biener [Wed, 7 May 2014 08:04:15 +0000 (08:04 +0000)]
re PR tree-optimization/57864 (ICE in bitmap_set_replace_value, at tree-ssa-pre.c:862)

2014-05-07  Richard Biener  <rguenther@suse.de>

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

From-SVN: r210142

10 years agore PR c++/60999 (ICE when static_cast from constexpr in specialization of template...
Paolo Carlini [Wed, 7 May 2014 07:24:21 +0000 (07:24 +0000)]
re PR c++/60999 (ICE when static_cast from constexpr in specialization of template-class)

/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.

From-SVN: r210140

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

From-SVN: r210138

10 years agonds32.h (HONOR_REG_ALLOC_ORDER): Have it in favor of using optimize_size.
Chung-Ju Wu [Wed, 7 May 2014 06:34:15 +0000 (06:34 +0000)]
nds32.h (HONOR_REG_ALLOC_ORDER): Have it in favor of using optimize_size.

* config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Have it in favor
of using optimize_size.

From-SVN: r210137

10 years agore PR libfortran/61049 (NIST test FM906 fails)
Jerry DeLisle [Wed, 7 May 2014 01:46:03 +0000 (01:46 +0000)]
re PR libfortran/61049 (NIST test FM906 fails)

2014-05-06  Jerry DeLisle  <jvdelisle@gcc.gnu>

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

From-SVN: r210135

10 years agore PR libfortran/61049 (NIST test FM906 fails)
Jerry DeLisle [Wed, 7 May 2014 01:31:42 +0000 (01:31 +0000)]
re PR libfortran/61049 (NIST test FM906 fails)

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.

From-SVN: r210134

10 years agoMakefile.in: Regenerate.
Paolo Carlini [Wed, 7 May 2014 01:11:19 +0000 (01:11 +0000)]
Makefile.in: Regenerate.

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

* include/Makefile.in: Regenerate.

From-SVN: r210133

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

From-SVN: r210132

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

From-SVN: r210128

10 years agore PR c++/60999 (ICE when static_cast from constexpr in specialization of template...
Paolo Carlini [Tue, 6 May 2014 22:32:49 +0000 (22:32 +0000)]
re PR c++/60999 (ICE when static_cast from constexpr in specialization of template-class)

/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.

From-SVN: r210126

10 years ago* config/i386/sse.md (*mov<mode>_internal)
Joseph Myers [Tue, 6 May 2014 20:35:15 +0000 (21:35 +0100)]
* 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.

From-SVN: r210124

10 years agomacros.h [...]: Add parameter to pass the 2 instances to check allocator equality.
François Dumont [Tue, 6 May 2014 19:59:44 +0000 (19:59 +0000)]
macros.h [...]: Add parameter to pass the 2 instances to check allocator equality.

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.

From-SVN: r210123

10 years agocompiler: Use backend interface for expressions.
Chris Manghane [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.

From-SVN: r210122

10 years agorevert: lra-constraints.c (valid_address_p): Move earlier in file.
Richard Sandiford [Tue, 6 May 2014 19:22:16 +0000 (19:22 +0000)]
revert: lra-constraints.c (valid_address_p): Move earlier in file.

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.

From-SVN: r210121

10 years agolto-cgraph.c (compute_ltrans_boundary): Make node variables local to their respective...
Richard Sandiford [Tue, 6 May 2014 17:47:15 +0000 (17:47 +0000)]
lto-cgraph.c (compute_ltrans_boundary): Make node variables local to their respective blocks.

gcc/
* lto-cgraph.c (compute_ltrans_boundary): Make node variables local
to their respective blocks.  Fix inadvertent use of "node".

From-SVN: r210120

10 years agoboehm.c (mark_reference_fields): Don't update the mask when setting pointer_after_end.
Richard Sandiford [Tue, 6 May 2014 17:46:05 +0000 (17:46 +0000)]
boehm.c (mark_reference_fields): Don't update the mask when setting pointer_after_end.

gcc/java/
* boehm.c (mark_reference_fields): Don't update the mask when
setting pointer_after_end.

From-SVN: r210119

10 years agoemit-rtl.c (init_derived_machine_modes): New functionm, split out from...
Richard Sandiford [Tue, 6 May 2014 17:44:15 +0000 (17:44 +0000)]
emit-rtl.c (init_derived_machine_modes): New functionm, split out from...

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.

From-SVN: r210118

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

Co-Authored-By: Kyrylo Tkachov <kyrylo.tkachov@arm.com>
Co-Authored-By: Mike Stump <mikestump@comcast.net>
Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com>
From-SVN: r210116

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

From-SVN: r210113

10 years agocompiler: Store flags for division checks in Gogo object instead of using global...
Chris Manghane [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.

From-SVN: r210109

10 years agoavr.c (avr_can_eliminate): Mark unused argument.
Jan-Benedict Glaw [Tue, 6 May 2014 13:48:29 +0000 (13:48 +0000)]
avr.c (avr_can_eliminate): Mark unused argument.

2014-05-06  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

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

From-SVN: r210108

10 years agotree-pass.h (TODO_verify_ssa, [...]): Remove.
Richard Biener [Tue, 6 May 2014 13:35:40 +0000 (13:35 +0000)]
tree-pass.h (TODO_verify_ssa, [...]): Remove.

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.

From-SVN: r210106

10 years agoc-opts.c (c_common_post_options): For -freestanding...
Richard Biener [Tue, 6 May 2014 10:46:18 +0000 (10:46 +0000)]
c-opts.c (c_common_post_options): For -freestanding...

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.

From-SVN: r210100

10 years agore PR debug/61070 (debug_bitmap writes to stdout)
Richard Biener [Tue, 6 May 2014 08:30:57 +0000 (08:30 +0000)]
re PR debug/61070 (debug_bitmap writes to stdout)

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.

From-SVN: r210098

10 years agocompiler: Fix bug in embedded method handling.
Ian Lance Taylor [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.

From-SVN: r210096

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

From-SVN: r210093

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

From-SVN: r210092

10 years agocompiler: Use backend interface for slice construction.
Chris Manghane [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.

From-SVN: r210088

10 years agocompiler: Handle recursive pointer types for unary indirection.
Chris Manghane [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.

From-SVN: r210087

10 years agore PR ipa/60965 (IPA: Devirtualization versus placement new)
Jan Hubicka [Mon, 5 May 2014 23:27:40 +0000 (01:27 +0200)]
re PR ipa/60965 (IPA: Devirtualization versus placement new)

PR ipa/60965
* ipa-devirt.c (get_class_context): Allow POD to change to non-POD.
* g++.dg/ipa/devirt-32.C: New testcase.

From-SVN: r210086

10 years agoAdd call_fusage_contains_non_callee_clobbers hook
Radovan Obradovic [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.

Co-Authored-By: Tom de Vries <tom@codesourcery.com>
From-SVN: r210085

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

From-SVN: r210084

10 years agore PR driver/61065 ([4.9/4.10 Regresion] invalid args to -fsanitize should be an...
Marek Polacek [Mon, 5 May 2014 20:37:47 +0000 (20:37 +0000)]
re PR driver/61065 ([4.9/4.10 Regresion] invalid args to -fsanitize should be an error not a warning)

PR driver/61065
* opts.c (common_handle_option): Call error_at instead of warning_at.

From-SVN: r210080

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

From-SVN: r210078

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

From-SVN: r210077

10 years agocompiler: Use backend interface for struct field offsets.
Ian Lance Taylor [Mon, 5 May 2014 17:55:03 +0000 (17:55 +0000)]
compiler: Use backend interface for struct field offsets.

From-SVN: r210074

10 years agopasses.c (execute_function_todo): Don't reset TODO_verify_ssa from last_verified...
Richard Biener [Mon, 5 May 2014 17:40:08 +0000 (17:40 +0000)]
passes.c (execute_function_todo): Don't reset TODO_verify_ssa from last_verified if update_ssa ran.

2014-05-05  Richard Biener  <rguenther@suse.de>

* passes.c (execute_function_todo): Don't reset TODO_verify_ssa
from last_verified if update_ssa ran.  Move TODO_verify_rtl_sharing
under the TODO_verify_il umbrella.

From-SVN: r210073

10 years agocompiler: Use backend interface for bound method expressions.
Ian Lance Taylor [Mon, 5 May 2014 17:22:40 +0000 (17:22 +0000)]
compiler: Use backend interface for bound method expressions.

From-SVN: r210072

10 years agopasses.c (execute_function_todo): Move TODO_verify_flow under the TODO_verify_ul...
Richard Biener [Mon, 5 May 2014 09:28:39 +0000 (09:28 +0000)]
passes.c (execute_function_todo): Move TODO_verify_flow under the TODO_verify_ul umbrella.

2014-05-05  Richard Biener  <rguenther@suse.de>

* passes.c (execute_function_todo): Move TODO_verify_flow under
the TODO_verify_ul umbrella.

From-SVN: r210068

10 years agore PR middle-end/61010 (Infinite recursion in fold)
Richard Biener [Mon, 5 May 2014 09:23:31 +0000 (09:23 +0000)]
re PR middle-end/61010 (Infinite recursion in fold)

2014-05-05  Richard Biener  <rguenther@suse.de>

PR middle-end/61010
* fold-const.c (fold_binary_loc): Consistently avoid
canonicalizing X & CST away from a CST that is the mask
of a mode.

* gcc.dg/torture/pr61010.c: New testcase.

From-SVN: r210066

10 years agopicochip-protos.h (picochip_regno_nregs): Change int argument to enum machine_mode.
Jan-Benedict Glaw [Mon, 5 May 2014 08:28:45 +0000 (08:28 +0000)]
picochip-protos.h (picochip_regno_nregs): Change int argument to enum machine_mode.

2014-05-05  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

* config/picochip/picochip-protos.h (picochip_regno_nregs): Change
int argument to enum machine_mode.
(picochip_class_max_nregs): Ditto.
* config/picochip/picochip.c (picochip_regno_nregs): Ditto.
(picochip_class_max_nregs): Ditto.

From-SVN: r210065

10 years agoUpdate libstdc++ baseline symbols for ia64
Andreas Schwab [Mon, 5 May 2014 08:10:37 +0000 (08:10 +0000)]
Update libstdc++ baseline symbols for ia64

* config/abi/post/ia64-linux-gnu/baseline_symbols.txt
(CXXABI_1.3.9): Remove __float128 symbols.

From-SVN: r210063

10 years agotarget.def: Add new target hook.
Andreas Krebbel [Mon, 5 May 2014 07:55:26 +0000 (07:55 +0000)]
target.def: Add new target hook.

2014-05-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* target.def: Add new target hook.
* doc/tm.texi: Regenerate.
* targhooks.h (default_keep_leaf_when_profiled): Add prototype.
* targhooks.c (default_keep_leaf_when_profiled): New function.

* config/s390/s390.c (s390_keep_leaf_when_profiled): New function.
(TARGET_KEEP_LEAF_WHEN_PROFILED): Define.

2014-05-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gcc.target/s390/leaf-profile.c: New testcase.

From-SVN: r210061

10 years agohoist-register-pressure-1.c: Replace int with long.
Andreas Krebbel [Mon, 5 May 2014 07:53:35 +0000 (07:53 +0000)]
hoist-register-pressure-1.c: Replace int with long.

2014-05-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gcc.dg/hoist-register-pressure-1.c: Replace int with long.
Disable asm scan for s390.
* gcc.dg/hoist-register-pressure-2.c: Likewise.
* gcc.dg/hoist-register-pressure-3.c: Likewise.

From-SVN: r210060

This page took 0.102938 seconds and 5 git commands to generate.