gcc.git
11 years agore PR middle-end/57287 (Bogus uninitialized warning with abnormal control flow)
Richard Biener [Thu, 29 Aug 2013 11:20:16 +0000 (11:20 +0000)]
re PR middle-end/57287 (Bogus uninitialized warning with abnormal control flow)

2013-08-29  Richard Biener  <rguenther@suse.de>

PR middle-end/57287
* tree-ssa-copy.c (may_propagate_copy): Allow propagating
of default defs that appear in abnormal PHI nodes.

* gcc.dg/pr57287-2.c: New testcase.

From-SVN: r202069

11 years agore PR tree-optimization/57685 (GCC stuck in an infinite loop)
Richard Biener [Thu, 29 Aug 2013 07:45:59 +0000 (07:45 +0000)]
re PR tree-optimization/57685 (GCC stuck in an infinite loop)

2013-08-29  Richard Biener  <rguenther@suse.de>

PR tree-optimization/57685
* tree-vrp.c (register_edge_assert_for_1): Recurse only for
single-use operands to avoid exponential complexity.

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

From-SVN: r202068

11 years agogo-gcc.cc (Gcc_backend::immutable_struct): Set TREE_PUBLIC if the struct is not hidden.
Ian Lance Taylor [Thu, 29 Aug 2013 00:49:36 +0000 (00:49 +0000)]
go-gcc.cc (Gcc_backend::immutable_struct): Set TREE_PUBLIC if the struct is not hidden.

* go-gcc.cc (Gcc_backend::immutable_struct): Set TREE_PUBLIC if
the struct is not hidden.
(Gcc_backend::immutable_struct_set_init): Don't set TREE_PUBLIC.

From-SVN: r202065

11 years agoDaily bump.
GCC Administrator [Thu, 29 Aug 2013 00:16:44 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r202064

11 years agore PR c++/58255 ([C++11] explicit delegating constructor with no arguments wrongly...
Paolo Carlini [Wed, 28 Aug 2013 22:40:34 +0000 (22:40 +0000)]
re PR c++/58255 ([C++11] explicit delegating constructor with no arguments wrongly rejected)

/cp
2013-08-28  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/58255
* init.c (build_aggr_init): When init == void_type_node do not
set LOOKUP_ONLYCONVERTING.

/testsuite
2013-08-28  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/58255
* g++.dg/cpp0x/dc7.C: New.

From-SVN: r202061

11 years agoReplace fixed size array that was holding vtable pointers with a vector, allowing...
Caroline Tice [Wed, 28 Aug 2013 21:06:43 +0000 (14:06 -0700)]
Replace fixed size array that was holding vtable pointers with a vector, allowing dynamic resizing.

Replace fixed size array that was holding vtable pointers
with a vector, allowing dynamic resizing.  ALso fix issues with
warning diagnostics.

From-SVN: r202060

11 years agoipa-inline.c (edge_badness): Fix integer underflow.
Dehao Chen [Wed, 28 Aug 2013 18:11:33 +0000 (18:11 +0000)]
ipa-inline.c (edge_badness): Fix integer underflow.

2013-08-28  Dehao Chen  <dehao@google.com>

* ipa-inline.c (edge_badness): Fix integer underflow.

From-SVN: r202059

11 years agogtm-builtins.def (_ITM_free): Declare leaf.
Uros Bizjak [Wed, 28 Aug 2013 17:42:19 +0000 (19:42 +0200)]
gtm-builtins.def (_ITM_free): Declare leaf.

* gtm-builtins.def (_ITM_free): Declare leaf.

From-SVN: r202058

11 years agoApparently I forgot to commit the ChangeLog when I committed the change to libvtv...
Caroline Tice [Wed, 28 Aug 2013 16:36:22 +0000 (09:36 -0700)]
Apparently I forgot to commit the ChangeLog when I committed the change to libvtv previously.

Apparently I forgot to commit the ChangeLog when I committed
the change to libvtv previously.  Fixing that now.

From-SVN: r202056

11 years agore PR target/58067 (ICE in GFortran recog.c:2158)
Jakub Jelinek [Wed, 28 Aug 2013 16:31:41 +0000 (18:31 +0200)]
re PR target/58067 (ICE in GFortran recog.c:2158)

PR target/58067
* config/i386/i386.md (*tls_global_dynamic_64_largepic): New insn.
(*tls_local_dynamic_base_64_largepic): Likewise.
(tls_global_dynamic_64_<mode>, tls_local_dynamic_base_64_<mode>):
Remove predicate from call operand.
* config/i386/i386.c (ix86_tls_get_addr): For -mcmodel=large -fpic
return sum of pic_offset_table_rtx and UNSPEC_PLTOFF of the symbol.

From-SVN: r202055

11 years agotree-ssa-threadedge.c (thread_around_empty_block): Remove checks for the number of...
Jeff Law [Wed, 28 Aug 2013 15:07:45 +0000 (09:07 -0600)]
tree-ssa-threadedge.c (thread_around_empty_block): Remove checks for the number of predecessors and successors allowed.

        * tree-ssa-threadedge.c (thread_around_empty_block): Remove
        checks for the number of predecessors and successors allowed.
        * tree-ssa-threadupdate.c (mark_threaded_blocks): Ignore requests
        which require copying a joiner block if there is a request which
        is a subpath that requires no joiner block copying.

From-SVN: r202054

11 years agolto-streamer-out.c (DFS_write_tree_body): Drop BINFO_INHERITANCE_CHAIN, BINFO_SUBVTT_...
Jan Hubicka [Wed, 28 Aug 2013 15:04:15 +0000 (15:04 +0000)]
lto-streamer-out.c (DFS_write_tree_body): Drop BINFO_INHERITANCE_CHAIN, BINFO_SUBVTT_INDEX and BINFO_VPTR_INDEX.

* lto-streamer-out.c (DFS_write_tree_body): Drop
BINFO_INHERITANCE_CHAIN, BINFO_SUBVTT_INDEX and BINFO_VPTR_INDEX.
(hash_tree): Do not hash DECL_DEFER_OUTPUT, BINFO_INHERITANCE_CHAIN,
BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX, DECL_IN_TEXT_SECTION.
* tree-streamer-in.c (unpack_ts_decl_common_value_fields):
Do not read DECL_ERROR_ISSUED.
(unpack_ts_decl_with_vis_value_fields): Do not read
DECL_DEFER_OUTPUT.
(lto_input_ts_binfo_tree_pointers): Do not read BINFO_INHERITANCE_CHAIN,
        BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX
* tree-streamer-out.c (pack_ts_decl_common_value_fields): Do not
write DECL_ERROR_ISSUED..
(pack_ts_decl_with_vis_value_fields): Do not write
DECL_DEFER_OUTPUT.
(write_ts_binfo_tree_pointers): Do not read BINFO_INHERITANCE_CHAIN,
        BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX
* print-tree.c (print_node): Do not print DECL_ERROR_ISSUED.
* tree.h (tree_decl_common): Update comment.
(DECL_ERROR_ISSUED): Remove.

From-SVN: r202053

11 years agolto.c (compare_tree_sccs_1): Drop DECL_ERROR_ISSUED, DECL_DEFER_OUTPUT and DECL_IN_TE...
Jan Hubicka [Wed, 28 Aug 2013 15:03:43 +0000 (17:03 +0200)]
lto.c (compare_tree_sccs_1): Drop DECL_ERROR_ISSUED, DECL_DEFER_OUTPUT and DECL_IN_TEXT_SECTION.

* lto.c (compare_tree_sccs_1): Drop DECL_ERROR_ISSUED,
DECL_DEFER_OUTPUT and DECL_IN_TEXT_SECTION.
(unify_scc): Do checking assert.

* lto-streamer-out.c (DFS_write_tree_body): Drop
BINFO_INHERITANCE_CHAIN, BINFO_SUBVTT_INDEX and BINFO_VPTR_INDEX.
(hash_tree): Do not hash DECL_DEFER_OUTPUT, BINFO_INHERITANCE_CHAIN,
BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX, DECL_IN_TEXT_SECTION.
* tree-streamer-in.c (unpack_ts_decl_common_value_fields):
Do not read DECL_ERROR_ISSUED.
(unpack_ts_decl_with_vis_value_fields): Do not read
DECL_DEFER_OUTPUT.
(lto_input_ts_binfo_tree_pointers): Do not read BINFO_INHERITANCE_CHAIN,
        BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX
* tree-streamer-out.c (pack_ts_decl_common_value_fields): Do not
write DECL_ERROR_ISSUED..
(pack_ts_decl_with_vis_value_fields): Do not write
DECL_DEFER_OUTPUT.
(write_ts_binfo_tree_pointers): Do not read BINFO_INHERITANCE_CHAIN,
        BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX
* print-tree.c (print_node): Do not print DECL_ERROR_ISSUED.
* tree.h (tree_decl_common): Update comment.
(DECL_ERROR_ISSUED): Remove.

From-SVN: r202052

11 years agoPR spam/58261
Jakub Jelinek [Wed, 28 Aug 2013 14:41:27 +0000 (16:41 +0200)]
PR spam/58261
PR spam/58262
Fix up ChangeLog entry whitespace.

From-SVN: r202051

11 years agore PR middle-end/58257 (Bogus warning with OpenMP collapsed loops)
Jakub Jelinek [Wed, 28 Aug 2013 10:08:59 +0000 (12:08 +0200)]
re PR middle-end/58257 (Bogus warning with OpenMP collapsed loops)

PR middle-end/58257
* omp-low.c (copy_var_decl): Copy over TREE_NO_WARNING flag.

* c-c++-common/gomp/pr58257.c: New test.

From-SVN: r202049

11 years agoChangeLog: Fix whitespace.
Uros Bizjak [Wed, 28 Aug 2013 09:34:15 +0000 (11:34 +0200)]
ChangeLog: Fix whitespace.

* ChangeLog: Fix whitespace.
* testsuite/ChangeLog: Ditto.

From-SVN: r202048

11 years agore PR tree-optimization/56933 (Vectorizer missing read-write dependency for interleav...
Richard Biener [Wed, 28 Aug 2013 07:51:10 +0000 (07:51 +0000)]
re PR tree-optimization/56933 (Vectorizer missing read-write dependency for interleaved accesses)

2013-08-28  Richard Biener  <rguenther@suse.de>

PR tree-optimization/56933
* gcc.dg/vect/pr56933.c: Properly guard runtime with check_vect ().

From-SVN: r202044

11 years ago* builtins.def (free): Declare leaf.
Jan Hubicka [Wed, 28 Aug 2013 07:10:47 +0000 (09:10 +0200)]
* builtins.def (free): Declare leaf.

From-SVN: r202043

11 years agolto-partition.c (lto_balanced_map): Always base order on source file order.
Jan Hubicka [Wed, 28 Aug 2013 06:51:27 +0000 (08:51 +0200)]
lto-partition.c (lto_balanced_map): Always base order on source file order.

* lto-partition.c (lto_balanced_map): Always base order on
source file order.

Co-Authored-By: Martin Liska <marxin.liska@gmail.com>
From-SVN: r202041

11 years agoInitial version of gdb hooks
David Malcolm [Wed, 28 Aug 2013 03:01:20 +0000 (03:01 +0000)]
Initial version of gdb hooks

     * MAINTAINERS (gdbhooks.py): Add myself as maintainer

    gcc/
     * gdbhooks.py: New.
     * configure.ac (gdbinit.in): Add import of gcc/gdbhooks.py.
     * configure: Regenerate.

From-SVN: r202040

11 years agoDaily bump.
GCC Administrator [Wed, 28 Aug 2013 00:16:44 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r202039

11 years agoipa-prop.h (ipa_pass_through_data): New field type_preserved.
Martin Jambor [Tue, 27 Aug 2013 21:41:15 +0000 (23:41 +0200)]
ipa-prop.h (ipa_pass_through_data): New field type_preserved.

2013-08-27  Martin Jambor  <mjambor@suse.cz>

* ipa-prop.h (ipa_pass_through_data): New field type_preserved.
(ipa_ancestor_jf_data): Likewise.
(ipa_get_jf_pass_through_agg_preserved): Fix comment typo.
(ipa_get_jf_pass_through_type_preserved): New function.
(ipa_get_jf_ancestor_agg_preserved): Fix comment typo.
(ipa_get_jf_ancestor_type_preserved): New function.
* ipa-cp.c (ipa_get_jf_pass_through_result): Honor type_preserved
flag.
(ipa_get_jf_ancestor_result): Likewise.
(propagate_vals_accross_pass_through): Use
ipa_get_jf_pass_through_result to do all the value mappings.
* ipa-prop.c (ipa_print_node_jump_functions_for_edge): Dump the
type_preserved flag.
(ipa_set_jf_cst_copy): New function.
(ipa_set_jf_simple_pass_through): Set the type_preserved flag.
(ipa_set_jf_arith_pass_through): Likewise.
(ipa_set_ancestor_jf): Likewise.
(compute_complex_assign_jump_func): Set type_preserved instead of
punting.
(ipa_compute_jump_functions_for_edge): Likewise.
(combine_known_type_and_ancestor_jfs): Honor type_preserved.
(update_jump_functions_after_inlining): Update type_preserved.
Explicitely create jump functions when combining one with
pass_through.
(ipa_write_jump_function): Stream the type_preserved flags.
(ipa_read_jump_function): Likewise.

From-SVN: r202036

11 years agoMakefile.in (omp-low.o): Depend on $(TARGET_H).
Jakub Jelinek [Tue, 27 Aug 2013 18:38:00 +0000 (20:38 +0200)]
Makefile.in (omp-low.o): Depend on $(TARGET_H).

* Makefile.in (omp-low.o): Depend on $(TARGET_H).
* cfgloop.h (struct loop): Add safelen, force_vect, simduid.
* function.h (struct function): Add has_force_vect_loops and
has_simduid_loops.
* gimple-pretty-print.c (dump_gimple_omp_for): Handle
GF_OMP_FOR_KIND*.
* gimple.c (gimple_build_omp_critical): Add KIND argument and
handle it.
* gimple.def: Update CLAUSES comments.
* gimple.h (enum gf_mask): Add GF_OMP_FOR_KIND_{FOR,SIMD}.
(gimple_build_omp_for): Add argument to prototype.
(gimple_omp_for_kind): New.
(gimple_omp_for_set_kind): New.
* gimplify.c (enum gimplify_omp_var_data): Add GOVD_LINEAR to
GOVD_DATA_SHARE_CLASS.
(enum omp_region_type): Add ORT_SIMD.
(gimple_add_tmp_var): Handle ORT_SIMD.
(gimplify_var_or_parm_decl): Same.
(is_gimple_stmt): Same.
(omp_firstprivatize_variable): Same.
(omp_add_variable): Only use splay_tree_insert if lookup failed.
(omp_notice_variable): Handle ORT_SIMD.
(omp_is_private): Add SIMD argument and handle it as well as
ORT_SIMD.
(omp_check_private): Handle ORT_SIMD.
(gimplify_scan_omp_clauses): Handle OMP_CLAUSE_LINEAR and
OMP_CLAUSE_SAFELEN.
(gimplify_adjust_omp_clauses_1): Handle GOVD_LINEAR.
Handle OMP_CLAUSE_LASTPRIVATE.
(gimplify_adjust_omp_clauses): Handle OMP_CLAUSE_LINEAR and
OMP_CLAUSE_SAFELEN.
(gimplify_omp_for): Handle OMP_SIMD and OMP_CLAUSE_LINEAR.
(gimplify_expr): Handle OMP_SIMD.
* internal-fn.c (expand_GOMP_SIMD_LANE): New.
(expand_GOMP_SIMD_VF): New.
(expand_GOMP_SIMD_LAST_LANE): New.
* internal-fn.def (GOMP_SIMD_LANE): New.
(GOMP_SIMD_VF): New.
(GOMP_SIMD_LAST_LANE): New.
* omp-low.c: Include target.h.
(extract_omp_for_data): Handle OMP_SIMD, OMP_CLAUSE_LINEAR,
OMP_CLAUSE_SAFELEN.
(check_omp_nesting_restrictions): Same.
(omp_max_vf): New.
(lower_rec_simd_input_clauses): New.
(lower_rec_input_clauses): Handle OMP_SIMD, GF_OMP_FOR_KIND_SIMD,
OMP_CLAUSE_LINEAR.
(lower_lastprivate_clauses): Handle OMP_CLAUSE_LINEAR,
GF_OMP_FOR_KIND_SIMD, OMP_SIMD.
(expand_omp_build_assign): New.
(expand_omp_for_init_counts): New.
(expand_omp_for_init_vars): New.
(extract_omp_for_update_vars): New.
(expand_omp_for_generic): Use expand_omp_for_{init,update}_vars
and rewrite accordingly.
(expand_omp_simd): New.
(expand_omp_for): Use expand_omp_simd.
(lower_omp_for_lastprivate): Unshare vinit when appropriate.
(lower_omp_for): Do not lower the body.
* tree-data-ref (get_references_in_stmt): Allow IFN_GOMP_SIMD_LANE
in their own loops.
* tree-flow.h (find_omp_clause): Remove prototype.
* tree-if-conv.c (main_tree_if_conversion): Run if doing if
conversion, forcing vectorization of the loop, or if
flag_tree_vectorize.
(gate_tree_if_conversion): Similarly.
* tree-inline.c (remap_gimple_stmt): Pass for kind argument to
gimple_build_omp_for.
(copy_cfg_body): set has_force_vect_loops and has_simduid_loops.
* tree-parloops (create_parallel_loop): Pass kind argument to
gimple_build_omp_for.
* tree-pretty-print.c (dump_omp_clause): Add cases for
OMP_CLAUSE_UNIFORM, OMP_CLAUSE_LINEAR, OMP_CLAUSE_SAFELEN,
OMP_CLAUSE__SIMDUID_.
(dump_generic_node): Handle OMP_SIMD.
* tree-ssa-ccp.c (likely_value): Handle IFN_GOMP_SIMD*.
* tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely_1): Do not
unroll OMP_SIMD loops here.
* tree-ssa-loop.c (gate_tree_vectorize): Run if
has_force_vect_loops.
* tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Handle
loop->safelen
(vect_analyze_data_refs): Handle simd loops.
* tree-vect-loop.c (vectorizable_live_operation): Handle
IFN_GOMP_SIMD*.
* tree-vect-stmts.c (vectorizable_call): Handle
IFN_GOMP_SIMD_LANE.
(vectorizable_store): Handle STMT_VINFO_SIMD_LANE_ACCESS_P.
(vectorizable_load): Same.
* tree-vectorizer.c: Include hash-table.h and
tree-ssa-propagate.h.
(struct simduid_to_vf): New.
(simduid_to_vf::hash): New.
(simduid_to-vf::equal): New.
(struct simd_array_to_simduid): New.
(simd_array_to_simduid::hash): New.
(simd_array_to_simduid::equal): New.
(adjust_simduid_builtins): New.
(struct note_simd_array_uses_struct): New.
(note_simd_array_uses_cb): New.
(note_simd_array_uses): New.
(vectorize_loops): Handle simd hints and adjust simd builtins
accordingly.
* tree-vectorizer.h (struct _stmt_vec_info): Add
simd_lane_access_p field.
(STMT_VINFO_SIMD_LANE_ACCESS_P): New macro.
* tree.c (omp_clause_num_ops): Add entries for OMP_CLAUSE_LINEAR,
OMP_CLAUSE_SAFELEN, OMP_CLAUSE__SIMDUID_, OMP_CLAUSE_UNIFORM.
(omp_clause_code_name): Same.
(walk_tree_1): Handle OMP_CLAUSE_UNIFORM, OMP_CLAUSE_SAFELEN,
OMP_CLAUSE__SIMDUID_, OMP_CLAUSE_LINEAR.
* tree.def (OMP_SIMD): New entry.
* tree.h (enum omp_clause_code): Add entries for
OMP_CLAUSE_LINEAR, OMP_CLAUSE_UNIFORM, OMP_CLAUSE_SAFELEN,
OMP_CLAUSE__SIMDUID_.
(OMP_CLAUSE_DECL): Adjust range for new clauses.
(OMP_CLAUSE_LINEAR_NO_COPYIN): New.
(OMP_CLAUSE_LINEAR_NO_COPYOUT): New.
(OMP_CLAUSE_LINEAR_STEP): New.
(OMP_CLAUSE_SAFELEN_EXPR): New.
(OMP_CLAUSE__SIMDUID__DECL): New.
(find_omp_clause): New prototype.
cp/
* cp-tree.h (CP_OMP_CLAUSE_INFO): Adjust range for new clauses.

Co-Authored-By: Aldy Hernandez <aldyh@redhat.com>
From-SVN: r202029

11 years agoUpdate Haswell processor detection
H.J. Lu [Tue, 27 Aug 2013 18:11:23 +0000 (18:11 +0000)]
Update Haswell processor detection

* config/i386/driver-i386.c (host_detect_local_cpu): Update
Haswell processor detection.

From-SVN: r202028

11 years agore PR target/57927 (-march=core-avx2 different than -march=native on INTEL Haswell...
Christian Widmer [Tue, 27 Aug 2013 17:24:37 +0000 (17:24 +0000)]
re PR target/57927 (-march=core-avx2  different than -march=native on INTEL Haswell (i7-4700K))

PR target/57927
* config/i386/driver-i386.c (host_detect_local_cpu): Add detection
of Ivy Bridge and Haswell processors.  Assume core-avx2 for unknown
AVX2 capable processors.

From-SVN: r202026

11 years agoarm_neon.h: Replace all inline asm implementations of vget_low_* with implementations...
Tejas Belagod [Tue, 27 Aug 2013 15:22:10 +0000 (16:22 +0100)]
arm_neon.h: Replace all inline asm implementations of vget_low_* with implementations in...

2013-08-27  Tejas Belagod  <tejas.belagod@arm.com>

        * config/aarch64/arm_neon.h: Replace all inline asm implementations
        of vget_low_* with implementations in terms of other intrinsics.

From-SVN: r202023

11 years agoRemove experimental LRA test
Nick Clifton [Tue, 27 Aug 2013 15:22:07 +0000 (15:22 +0000)]
Remove experimental LRA test

From-SVN: r202022

11 years agore PR middle-end/57219 (__builtin_isinf_sign source comments more restrictive than...
Marc Glisse [Tue, 27 Aug 2013 12:39:21 +0000 (14:39 +0200)]
re PR middle-end/57219 (__builtin_isinf_sign source comments more restrictive than documentation)

2013-08-27  Marc Glisse  <marc.glisse@inria.fr>

PR middle-end/57219
* doc/extend.texi (__builtin_isinf_sign): Restrict the return
values to -1, 0 and 1.

From-SVN: r202021

11 years agoaarch64.md (unspec): Add UNSPEC_SISD_SSHL...
Vidya Praveen [Tue, 27 Aug 2013 10:50:26 +0000 (11:50 +0100)]
aarch64.md (unspec): Add UNSPEC_SISD_SSHL...

gcc/

2013-08-27  Vidya Praveen  <vidyapraveen@arm.com>

* config/aarch64/aarch64.md (unspec): Add UNSPEC_SISD_SSHL,
UNSPEC_SISD_USHL, UNSPEC_USHL_2S, UNSPEC_SSHL_2S, UNSPEC_SISD_NEG.
(<optab><mode>3_insn): Remove.
(aarch64_ashl_sisd_or_int_<mode>3): New Pattern.
(aarch64_lshr_sisd_or_int_<mode>3): Likewise.
(aarch64_ashr_sisd_or_int_<mode>3): Likewise.
(define_split for aarch64_lshr_sisd_or_int_di3): Likewise.
(define_split for aarch64_lshr_sisd_or_int_si3): Likewise.
(define_split for aarch64_ashr_sisd_or_int_di3): Likewise.
(define_split for aarch64_ashr_sisd_or_int_si3): Likewise.
(aarch64_sisd_ushl, aarch64_sisd_sshl): Likewise.
(aarch64_ushl_2s, aarch64_sshl_2s, aarch64_sisd_neg_qi): Likewise.
(ror<mode>3_insn): Likewise.
* config/aarch64/predicates.md (aarch64_simd_register): New.

gcc/testsuite/

2013-08-27  Vidya Praveen  <vidyapraveen@arm.com>

* gcc.target/aarch64/scalar_shift_1.c: New.

From-SVN: r202020

11 years agore PR tree-optimization/57521 (wrong code for expressions in loop at -O3)
Richard Biener [Tue, 27 Aug 2013 10:10:34 +0000 (10:10 +0000)]
re PR tree-optimization/57521 (wrong code for expressions in loop at -O3)

2013-08-27  Richard Biener  <rguenther@suse.de>

PR tree-optimization/57521
* tree-if-conv.c (if_convertible_bb_p): Verify that at least
one edge is non-critical.
(find_phi_replacement_condition): Make sure to use a non-critical
edge.  Cleanup and remove old bug workarounds.
(bb_postdominates_preds): Remove.
(if_convertible_loop_p_1): Do not compute post-dominators.
(combine_blocks): Do not free post-dominators.
(main_tree_if_conversion): Likewise.
(pass_data_if_conversion): Add TODO_verify_ssa.

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

From-SVN: r202019

11 years agore PR rtl-optimization/57860 (wrong code for bitwise ops with long long literal on...
Jakub Jelinek [Tue, 27 Aug 2013 09:24:52 +0000 (11:24 +0200)]
re PR rtl-optimization/57860 (wrong code for bitwise ops with long long literal on x86_64-linux (32-bit mode))

PR rtl-optimization/57860
PR rtl-optimization/57861
PR rtl-optimization/57875
PR rtl-optimization/57876
PR rtl-optimization/57877
* gcc.c-torture/execute/pr57860.c: New test.
* gcc.c-torture/execute/pr57861.c: New test.
* gcc.c-torture/execute/pr57875.c: New test.
* gcc.c-torture/execute/pr57876.c: New test.
* gcc.c-torture/execute/pr57877.c: New test.

From-SVN: r202018

11 years agodecl.c (grokfndecl): Remove old bison hack.
Paolo Carlini [Tue, 27 Aug 2013 08:41:09 +0000 (08:41 +0000)]
decl.c (grokfndecl): Remove old bison hack.

2013-08-27  Paolo Carlini  <paolo.carlini@oracle.com>

* decl.c (grokfndecl): Remove old bison hack.

From-SVN: r202017

11 years ago* config/i386/djgpp.h (ASM_DECLARE_FUNCTION_NAME): New.
DJ Delorie [Tue, 27 Aug 2013 04:22:05 +0000 (00:22 -0400)]
* config/i386/djgpp.h (ASM_DECLARE_FUNCTION_NAME): New.

From-SVN: r202016

11 years agoMakefile.am: Add regex_scanner.{h,tcc}.
Tim Shen [Tue, 27 Aug 2013 02:49:22 +0000 (02:49 +0000)]
Makefile.am: Add regex_scanner.{h,tcc}.

2013-08-26  Tim Shen  <timshen91@gmail.com>

* include/Makefile.am: Add regex_scanner.{h,tcc}.
* include/Makefile.in: Regenerate.
* include/bits/regex.h (match_search): Handle the `__first == __last`
  situation correctly.
* include/bits/regex_compiler.h: Move _Scanner...
* include/bits/regex_scanner.h: ...to here. New.
* include/bits/regex_compiler.tcc: Move _Scanner...
* include/bits/regex_scanner.tcc: ...to here, too. New.
* include/bits/regex_executor.tcc: Use value instead of reference for
  submatch.
* include/std/regex: Add regex_scanner.h
* testsuite/28_regex/algorithms/regex_match/awk/cstring_01.cc: New.
* testsuite/28_regex/algorithms/regex_match/basic/empty_range.cc: New.
* testsuite/28_regex/algorithms/regex_match/ecma/cstring_hex.cc: New.
* testsuite/28_regex/algorithms/regex_match/ecma/empty_range.cc: New.
* testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc: New.

From-SVN: r202015

11 years agofunction.c (assign_parm_find_data_types): Set passed_mode and nominal_mode to the...
Yufeng Zhang [Tue, 27 Aug 2013 02:45:17 +0000 (02:45 +0000)]
function.c (assign_parm_find_data_types): Set passed_mode and nominal_mode to the TYPE_MODE of nominal_type for the built...

gcc/
* function.c (assign_parm_find_data_types): Set passed_mode and
nominal_mode to the TYPE_MODE of nominal_type for the built
pointer type in case of the struct-pass-by-reference.

From-SVN: r202014

11 years agoDaily bump.
GCC Administrator [Tue, 27 Aug 2013 00:17:02 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r202013

11 years agoMove myself from libvtv "Various Reviewers" to libvtv
Caroline Tice [Mon, 26 Aug 2013 22:27:56 +0000 (15:27 -0700)]
Move myself from libvtv "Various Reviewers" to libvtv
"Various Maintainers".

From-SVN: r202010

11 years agoavr.opt (mfract-convert-truncate): New option.
Joern Rennecke [Mon, 26 Aug 2013 16:57:28 +0000 (16:57 +0000)]
avr.opt (mfract-convert-truncate): New option.

        * config/avr/avr.opt (mfract-convert-truncate): New option.
        * config/avr/avr.c (avr_out_fract): Unless TARGET_FRACT_CONV_TRUNC
        is set, round negative fractional integers according to n1169
        when converting to integer types.

From-SVN: r202008

11 years agoAdd PR marker to PR id in ChangeLog.
Joern Rennecke [Mon, 26 Aug 2013 16:54:29 +0000 (17:54 +0100)]
Add PR marker to PR id in ChangeLog.

From-SVN: r202007

11 years agore PR c/35649 (Incorrect printf warning: expect double has float)
Joern Rennecke [Mon, 26 Aug 2013 16:52:19 +0000 (16:52 +0000)]
re PR c/35649 (Incorrect printf warning: expect double has float)

2013-08-26  Joern Rennecke  <joern.rennecke@embecosm.com>
            Joseph Myers  <joseph@codesourcery.com>

        c/35649
        * c-typeck.c (c_common_type): Prefer double_type_node over
        other REAL_TYPE types with the same precision.
        (convert_arguments): Likewise.

Amend patch as suggested:
From:   "Joseph S. Myers" <joseph@codesourcery.com>
In convert_arguments I think you should be comparing TYPE_MAIN_VARIANT
(valtype) against double_type_node and long_double_type_node, rather than
just valtype.

This is PR c/35649 (so include that number in your ChangeLog entry and
close that bug as fixed).

Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
From-SVN: r202006

11 years agoavr-stdint.h (INT16_TYPE): Change default to "int".
Joern Rennecke [Mon, 26 Aug 2013 16:39:25 +0000 (16:39 +0000)]
avr-stdint.h (INT16_TYPE): Change default to "int".

        * config/avr/avr-stdint.h (INT16_TYPE): Change default to "int".
        (UINT16_TYPE): Change default to "unsigned int".

From-SVN: r202005

11 years agoc-typeck.c (c_common_type): Prefer double_type_node over other REAL_TYPE types with...
Joern Rennecke [Mon, 26 Aug 2013 16:22:37 +0000 (16:22 +0000)]
c-typeck.c (c_common_type): Prefer double_type_node over other REAL_TYPE types with the same precision.

        * c-typeck.c (c_common_type): Prefer double_type_node over
        other REAL_TYPE types with the same precision.
        (convert_arguments): Likewise.

From-SVN: r202004

11 years agocgraph.c (cgraph_propagate_frequency): Do not assume that virtual methods can not...
Jan Hubicka [Mon, 26 Aug 2013 15:42:10 +0000 (17:42 +0200)]
cgraph.c (cgraph_propagate_frequency): Do not assume that virtual methods can not be called indirectly when...

* cgraph.c (cgraph_propagate_frequency): Do not assume that virtual
methods can not be called indirectly when their address is not taken.

From-SVN: r202003

11 years ago* gimple-fold.c (gimple_get_virt_method_for_binfo): Use ctor_for_folding.
Jan Hubicka [Mon, 26 Aug 2013 15:40:40 +0000 (17:40 +0200)]
* gimple-fold.c (gimple_get_virt_method_for_binfo): Use ctor_for_folding.

From-SVN: r202002

11 years agoipa.c (comdat_can_be_unshared_p_1): C++ constructors and destructors can be unshared.
Jan Hubicka [Mon, 26 Aug 2013 15:38:33 +0000 (17:38 +0200)]
ipa.c (comdat_can_be_unshared_p_1): C++ constructors and destructors can be unshared.

* ipa.c (comdat_can_be_unshared_p_1): C++ constructors and destructors
can be unshared.

From-SVN: r202001

11 years agoreload.c (find_valid_class): Allow classes that do not include FIRST_PSEUDO_REGISTER...
Joern Rennecke [Mon, 26 Aug 2013 15:32:55 +0000 (15:32 +0000)]
reload.c (find_valid_class): Allow classes that do not include FIRST_PSEUDO_REGISTER - 1.

* reload.c (find_valid_class): Allow classes that do not include
FIRST_PSEUDO_REGISTER - 1.

From-SVN: r202000

11 years agocgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Fix formatting...
Jan Hubicka [Mon, 26 Aug 2013 15:29:28 +0000 (17:29 +0200)]
cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Fix formatting...

* cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Fix formatting;
fix edge count/frequency when speculation failed; fix type check
for the direct call.

From-SVN: r201999

11 years ago* ipa-prop.c (ipa_print_node_params): Do not ICE during WPA.
Jan Hubicka [Mon, 26 Aug 2013 15:24:41 +0000 (17:24 +0200)]
* ipa-prop.c (ipa_print_node_params): Do not ICE during WPA.

From-SVN: r201998

11 years agoipa-inline-transform.c (inline_transform): Be ready for basic block to be changed...
Jan Hubicka [Mon, 26 Aug 2013 15:23:48 +0000 (17:23 +0200)]
ipa-inline-transform.c (inline_transform): Be ready for basic block to be changed by edge redirection.

* ipa-inline-transform.c (inline_transform): Be ready for basic block
to be changed by edge redirection.

From-SVN: r201997

11 years agocgraph.c (cgraph_speculative_call_info): Fix parameter order and formating; add sanit...
Jan Hubicka [Mon, 26 Aug 2013 13:02:39 +0000 (15:02 +0200)]
cgraph.c (cgraph_speculative_call_info): Fix parameter order and formating; add sanity check.

* cgraph.c (cgraph_speculative_call_info): Fix parameter order and formating;
add sanity check.
(cgraph_resolve_speculation): Add FIXME about scaling profiles.
(cgraph_redirect_edge_call_stmt_to_callee): Fix ICE in debug dump.
* ipa-inline.c (heap_edge_removal_hook): Reset node growth cache.
(resolve_noninline_speculation): Update callee keys, too.

From-SVN: r201996

11 years agotree.h (tree_decl_with_vis): Add cxx_constructor, cxx_destructor.
Jan Hubicka [Mon, 26 Aug 2013 11:42:03 +0000 (13:42 +0200)]
tree.h (tree_decl_with_vis): Add cxx_constructor, cxx_destructor.

* tree.h (tree_decl_with_vis): Add cxx_constructor, cxx_destructor.
(DECL_CXX_CONSTRUCTOR_P, DECL_CXX_DESTRUCTOR_P): New macros.
* cp-tree.h (DECL_CONSTRUCTOR_P, DECL_DESTRUCTOR_P): Use
middle-end flag.

From-SVN: r201994

11 years agoi386.c (x86_64_elf_select_section): Put ATTRIBUTE_UNUSED into proper place.
Joern Rennecke [Mon, 26 Aug 2013 11:04:08 +0000 (11:04 +0000)]
i386.c (x86_64_elf_select_section): Put ATTRIBUTE_UNUSED into proper place.

        * config/i386/i386.c (x86_64_elf_select_section): Put ATTRIBUTE_UNUSED
        into proper place.

From-SVN: r201993

11 years agoi386.c (ix86_return_in_memory): Do not remove ATTRIBUTE_UNUSED on function argument.
Uros Bizjak [Mon, 26 Aug 2013 09:21:51 +0000 (11:21 +0200)]
i386.c (ix86_return_in_memory): Do not remove ATTRIBUTE_UNUSED on function argument.

* config/i386/i386.c (ix86_return_in_memory): Do not
remove ATTRIBUTE_UNUSED on function argument.

From-SVN: r201990

11 years agoReally commit all changes
Gabriel Dos Reis [Mon, 26 Aug 2013 09:15:22 +0000 (09:15 +0000)]
Really commit all changes

From-SVN: r201989

11 years agoi386.c (ix86_debug_options): Remove prototype.
Uros Bizjak [Mon, 26 Aug 2013 09:02:04 +0000 (11:02 +0200)]
i386.c (ix86_debug_options): Remove prototype.

* config/i386/i386.c (ix86_debug_options): Remove prototype.
(x86_64_elf_select_section): Ditto.
(ix86_handle_tm_regparm_attribute): Remove ATTRIBUTE_UNUSED on used
arguments.
(ix86_pass_by_reference): Ditto.
(ix86_return_in_memory): Ditto.
(output_set_got): Ditto.
(ix86_unary_operator_ok): Ditto.
(ix86_expand_builtin): Ditto.

From-SVN: r201988

11 years agoc-pretty-print.h (c_pretty_printer::unary_expression): Now a virtual member function.
Gabriel Dos Reis [Mon, 26 Aug 2013 08:37:24 +0000 (08:37 +0000)]
c-pretty-print.h (c_pretty_printer::unary_expression): Now a virtual member function.

c-family/
* c-pretty-print.h (c_pretty_printer::unary_expression): Now a
virtual member function.
(c_pretty_printer::multiplicative_expression): Likewise.
(c_pretty_printer::conditional_expression): Likewise.
(c_pretty_printer::assignment_expression): Likewise.
(c_pretty_printer::expression): Likewise.
(pp_unary_expression): Adjust.
(pp_multiplicative_expression): Likewise.
(pp_assignment_expression): Likewise.
(pp_conditional_expression): Likewise.
(pp_expression): Likewise.
* c-pretty-print.c (c_pretty_printer::unary_expression): Rename
from pp_c_unary_expression.  Adjust.
(c_pretty_printer::multiplicative_expression): Rename from
pp_c_multiplicative_expression.  Adjust.
(c_pretty_printer::conditional_expression): Rename from
pp_c_conditional_expression.  Adjust.
(c_pretty_printer::assignment_expression): Rename from
pp_c_assignment_expression.  Adjust.
(c_pretty_printer::expression): Rename from pp_c_expression.  Adjust.
(c_pretty_printer::c_pretty_printer): Do not assign to
unary_expression, multiplicative_expression,
conditional_expression, expression.

cp/
* cxx-pretty-print.h (cxx_pretty_printer::unary_expression):
Declare as overrider.
(cxx_pretty_printer::multiplicative_expression): Likewise.
(cxx_pretty_printer::conditional_expression): Likewise.
(cxx_pretty_printer::assignment_expression): Likewise.
(cxx_pretty_printer::expression): Likewise.
* cxx-pretty-print.c (cxx_pretty_printer::unary_expression):
Rename from pp_cxx_unary_expression.  Adjust.
(cxx_pretty_printer::multiplicative_expression): Rename from
pp_cxx_multiplicative_expression.  Adjust.
(cxx_pretty_printer::conditional_expression): Rename from
pp_cxx_conditional_expression.  Adjust.
(cxx_pretty_printer::assignment_expression): Rename from
pp_cxx_assignment_expression.  Adjust.
(cxx_pretty_printer::expression): Rename from pp_cxx_expression.
Adjust.
(cxx_pretty_printer::cxx_pretty_printer): Dot not assign to
unary_expression, multiplicative_expression,
conditional_expression, assignment_expression, expression.

From-SVN: r201987

11 years agoc-pretty-print.h (c_pretty_printer::postfix_expression): Now a virtual member function.
Gabriel Dos Reis [Mon, 26 Aug 2013 03:12:38 +0000 (03:12 +0000)]
c-pretty-print.h (c_pretty_printer::postfix_expression): Now a virtual member function.

c-family/
* c-pretty-print.h (c_pretty_printer::postfix_expression): Now a
virtual member function.
(pp_postfix_expression): Adjust.
(pp_c_postfix_expression): Remove.
* c-pretty-print.c (c_pretty_printer::postfix_expression): Rename
from pp_c_postfix_expression.  Adjust.
(c_pretty_printer::c_pretty_printer): Do not assign to
postfix_expression.

cp/
* cxx-pretty-print.h (cxx_pretty_printer::postfix_expression):
Declare as overrider.
* cxx-pretty-print.c (cxx_pretty_printer::postfix_expression):
Rename from pp_cxx_postfix_expression.  Adjust.
(pp_cxx_expression): Use pp_postfix_expression.
(cxx_pretty_printer::cxx_pretty_printer): Do not assign to
postfix_expression.

From-SVN: r201985

11 years agoDaily bump.
GCC Administrator [Mon, 26 Aug 2013 00:16:54 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r201984

11 years agore PR fortran/58146 (Array slice bounds checking)
Thomas Koenig [Sun, 25 Aug 2013 22:55:12 +0000 (22:55 +0000)]
re PR fortran/58146 (Array slice bounds checking)

2013-08-26  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/58146
* array.c (gfc_ref_dimen_size):  If possible, use
gfc_dep_difference to calculate array refrence
sizes.  Fall back to integer code otherwise.
* dependency.c (discard_nops).  Move up.
Also discarde widening integer conversions.
(gfc_dep_compare_expr):  Use discard_nops.

2013-08-26  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/58146
* gfortran.dg/bounds_check_18.f90:  New test.

From-SVN: r201981

11 years agoc-pretty-print.h (c_pretty_printer::primary_expression): Now a virtua member function.
Gabriel Dos Reis [Sun, 25 Aug 2013 18:05:29 +0000 (18:05 +0000)]
c-pretty-print.h (c_pretty_printer::primary_expression): Now a virtua member function.

c-family/
* c-pretty-print.h (c_pretty_printer::primary_expression): Now a
virtua member function.
(pp_primary_expression): Adjust.
(pp_c_primary_expression): Remove.
* c-pretty-print.c (c_pretty_printer::primary_expression): Rename
from pp_c_primary_expression.  Adjust.
(pp_c_initializer_list): Use pp_primary_expression.
(c_pretty_printer::c_pretty_printer): Do not assign to
primary_expression.

cp/
* cxx-pretty-print.h (cxx_pretty_printer::primary_expression): Now
an overrider of c_pretty_printer::primary_expression.
* cxx-pretty-print.c (cxx_pretty_printer::primary_expression):
Rename from pp_cxx_primary_expression.  Adjust.
(pp_cxx_postfix_expression): Use pp_primary_expression.
(pp_cxx_ctor_initializer): Likewise.
(cxx_pretty_printer::cxx_pretty_printer): Do not assign to
primary_expression.

From-SVN: r201978

11 years agocgraph.c (cgraph_turn_edge_to_speculative): Fix debug output.
Jan Hubicka [Sun, 25 Aug 2013 09:47:00 +0000 (11:47 +0200)]
cgraph.c (cgraph_turn_edge_to_speculative): Fix debug output.

* cgraph.c (cgraph_turn_edge_to_speculative):
Fix debug output.

From-SVN: r201977

11 years ago* g++.dg/ipa/devirt-14.C: Fix typo.
Jan Hubicka [Sun, 25 Aug 2013 09:45:34 +0000 (11:45 +0200)]
* g++.dg/ipa/devirt-14.C: Fix typo.

From-SVN: r201976

11 years agotree.h (TYPE_FINAL_P, [...]): New macros.
Jan Hubicka [Sun, 25 Aug 2013 09:43:34 +0000 (11:43 +0200)]
tree.h (TYPE_FINAL_P, [...]): New macros.

* tree.h (TYPE_FINAL_P, DECL_FINAL_P): New macros.
(tree_decl_with_vis): Add FINAL field.

* cp-tree.h (struct lang_type_class): Free is_final bit.
(CLASSTYPE_FINAL): Define using TYPE_FINAL_P.
(DECL_FINAL_P): Remove.
* pt.c (instantiate_class_template_1): Guard that CLASSTYPE_FINAL
is called on CLASS_TYPE_P.

From-SVN: r201975

11 years agoc-pretty-print.h (c_pretty_printer::translate_string): Declare.
Gabriel Dos Reis [Sun, 25 Aug 2013 05:51:54 +0000 (05:51 +0000)]
c-pretty-print.h (c_pretty_printer::translate_string): Declare.

c-family/
* c-pretty-print.h (c_pretty_printer::translate_string): Declare.
* c-pretty-print.c (M_): Remove.
(c_pretty_printer::translate_string): Define.
(pp_c_type_specifier): Use it.
(pp_c_primary_expression): Likewise.
(pp_c_expression): Likewise.

cp/
* cxx-pretty-print.c (M_): Remove.
(pp_cxx_unqualified_id): Use translate_string instead of M_.
(pp_cxx_canonical_template_parameter): Likewise.

From-SVN: r201974

11 years agoc-pretty-print.h (c_pretty_printer::id_expression): Now a virtual function.
Gabriel Dos Reis [Sun, 25 Aug 2013 00:24:27 +0000 (00:24 +0000)]
c-pretty-print.h (c_pretty_printer::id_expression): Now a virtual function.

c-family/
* c-pretty-print.h (c_pretty_printer::id_expression): Now a
virtual function.
(pp_c_id_expression): Remove.
(pp_id_expression): Adjust.
* c-pretty-print.c (c_pretty_printer::id_expression): Rename from
pp_c_id_expression.  Adjust.
(pp_c_postfix_expression): Use pp_id_expression.
(c_pretty_printer::c_pretty_printer): Do not assign to id_expression.

cp/
* cxx-pretty-print.h (cxx_pretty_printer::id_expression): Declare.
* cxx-pretty-print.c (cxx_pretty_printer::id_expression): Rename
from pp_cxx_id_expression.  Adjust.
(pp_cxx_userdef_literal): Use pp_id_expression.
(pp_cxx_primary_expression): Likewise.
(pp_cxx_direct_declarator): Likewise.
(cxx_pretty_printer::cxx_pretty_printer): Do not assign to
id_expression.

From-SVN: r201973

11 years agoDaily bump.
GCC Administrator [Sun, 25 Aug 2013 00:16:46 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r201972

11 years agoc-pretty-print.h (c_pretty_printer::constant): Now a virtual member function.
Gabriel Dos Reis [Sat, 24 Aug 2013 22:29:37 +0000 (22:29 +0000)]
c-pretty-print.h (c_pretty_printer::constant): Now a virtual member function.

* c-pretty-print.h (c_pretty_printer::constant): Now a virtual
member function.
(pp_constant): Adjust.
(pp_c_constant): Remove.
* c-pretty-print.c (c_pretty_printer::constant): Rename from
pp_c_constant.  Adjust.
(pp_c_constant)
(pp_c_primary_expression): Call pp_constant in lieu of pp_c_constant.
(c_pretty_printer::c_pretty_printer): Remove assignment to constant.

cp/
* cxx-pretty-print.h (cxx_pretty_printer::constant): Now a member
function, overriding c_pretty_printer::constant.
* cxx-pretty-print.c (cxx_pretty_printer::constant): Rename from
pp_cxx_constant.  Adjust.
(cxx_pretty_printer::cxx_pretty_printer): Do not assign to constant.

From-SVN: r201969

11 years agotree-ssa-pre.c (do_regular_insertion): Include the expression in the debugging dump...
Jeff Law [Sat, 24 Aug 2013 04:48:19 +0000 (22:48 -0600)]
tree-ssa-pre.c (do_regular_insertion): Include the expression in the debugging dump when the expression is fully redundant.

        * tree-ssa-pre.c (do_regular_insertion): Include the expression
        in the debugging dump when the expression is fully redundant.

From-SVN: r201963

11 years agoDaily bump.
GCC Administrator [Sat, 24 Aug 2013 00:16:49 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r201959

11 years agodiagnostic.c (diagnostic_set_caret_max_width): Use pp_buffer.
Gabriel Dos Reis [Fri, 23 Aug 2013 23:58:55 +0000 (23:58 +0000)]
diagnostic.c (diagnostic_set_caret_max_width): Use pp_buffer.

* diagnostic.c (diagnostic_set_caret_max_width): Use pp_buffer.
* gimple-pretty-print.c (gimple_dump_bb_buff): Likewise.
* pretty-print.c (pp_formatted_text_data): Likewise.
(pp_write_text_to_stream): Likewise.
(pp_write_text_as_dot_label_to_stream): Likewise.
(pp_append_r): Likewise.
(pp_format): Likewise.
(pp_flush): Likewise.
(pp_clear_output_area): Likewise.
(pp_append_text): Likewise.
(pp_formatted_text): Likewise.
(pp_remaining_character_count_for_line): Likewise.
(pp_newline): Likewise.
(pp_character): Likewise.
(output_buffer::~output_buffer): Define.
(pretty_printer::~pretty_printer): Destruct output buffer.
* pretty-print.h (output_buffer::~output_buffer): Declare.
(pretty_printer::~pretty_printer): Declare virtual.

c/
* c-objc-common.c (c_tree_printer): Document the nature of the cast.
(c_initialize_diagnostics): Call a destructor for the early printer.

cp/
* cp-objcp-common.c (cxx_initialize_diagnostics): Call a
destructor for the early printer.
* error.c (type_to_string): Use pp_buffer.

From-SVN: r201956

11 years agore PR other/57324 (Undefined behavior issues found with clang's -fsanitize=undefined)
Marc Glisse [Fri, 23 Aug 2013 22:16:08 +0000 (00:16 +0200)]
re PR other/57324 (Undefined behavior issues found with clang's -fsanitize=undefined)

2013-08-24  Marc Glisse  <marc.glisse@inria.fr>

PR other/57324
* hwint.h (HOST_WIDE_INT_UC, HOST_WIDE_INT_1U, HOST_WIDE_INT_M1,
HOST_WIDE_INT_M1U): New macros.
* fold-const.c (sign_bit_p, build_range_check, fold_unary_loc,
fold_binary_loc, fold_ternary_loc): Use the new macros. Use an
unsigned -1 for lshift.
* cse.c (cse_insn): Likewise.
* double-int.c (rshift_double, lshift_double): Likewise.
* builtins.c (fold_builtin_bitop): Likewise.
* combine.c (force_to_mode): Likewise.
* tree.c (integer_pow2p, tree_log2, tree_floor_log2): Likewise.
* simplify-rtx.c (simplify_const_unary_operation,
simplify_const_binary_operation): Likewise.
* tree-stdarg.c (va_list_counter_bump, va_list_ptr_read,
check_va_list_escapes): Likewise.
* rtlanal.c (nonzero_bits1): Likewise.
* expmed.c (expand_smod_pow2): Likewise.
* tree-ssa-structalias.c (UNKNOWN_OFFSET): Use HOST_WIDE_INT_MIN.

From-SVN: r201953

11 years agocompiler: don't export embedded builtins.
Ian Lance Taylor [Fri, 23 Aug 2013 21:04:40 +0000 (21:04 +0000)]
compiler: don't export embedded builtins.

The panic in test/fixedbugs/bug461.go was caused by the fact that
reflect expects unexported fields in a struct to have a valid
package path. If a struct field is an embedded built-in type, it is
now given the package name of the currently compiling package, so it
remains unexported for purposes of reflect.

Fixed Issue 25.

From-SVN: r201951

11 years agocgraph.c (cgraph_turn_edge_to_speculative): Mark target node as having address taken.
Jan Hubicka [Fri, 23 Aug 2013 18:33:45 +0000 (20:33 +0200)]
cgraph.c (cgraph_turn_edge_to_speculative): Mark target node as having address taken.

* cgraph.c (cgraph_turn_edge_to_speculative): Mark target node
as having address taken.

From-SVN: r201948

11 years agore PR fortran/57798 (Incorrect handling of sum over first dimension of a product...
Mikael Morin [Fri, 23 Aug 2013 17:49:39 +0000 (17:49 +0000)]
re PR fortran/57798 (Incorrect handling of sum over first dimension of a product of automatic arrays)

fortran/
PR fortran/57798
* trans-array.c (gfc_conv_ss_startstride, set_loop_bounds,
gfc_set_delta): Generate preliminary code before the outermost loop.

testsuite/
PR fortran/57798
* gfortran.dg/inline_sum_5.f90: New.

From-SVN: r201947

11 years agore PR fortran/57843 ([OOP] Type-bound assignment is resolved to non-polymorphic proce...
Janus Weil [Fri, 23 Aug 2013 16:43:15 +0000 (18:43 +0200)]
re PR fortran/57843 ([OOP] Type-bound assignment is resolved to non-polymorphic procedure call)

2013-08-23  Janus Weil  <janus@gcc.gnu.org>

PR fortran/57843
* interface.c (gfc_extend_assign): Look for type-bound assignment
procedures before non-typebound.

2013-08-23  Janus Weil  <janus@gcc.gnu.org>

PR fortran/57843
* gfortran.dg/typebound_assignment_7.f90: New.

From-SVN: r201946

11 years agotrans-array.c (gfc_conv_section_startstride): Move &loop->pre access to the callers.
Mikael Morin [Fri, 23 Aug 2013 16:06:44 +0000 (16:06 +0000)]
trans-array.c (gfc_conv_section_startstride): Move &loop->pre access to the callers.

2013-08-23  Mikael Morin  <mikael@gcc.gnu.org>

* trans-array.c (gfc_conv_section_startstride): Move &loop->pre access
to the callers.
(gfc_conv_ss_startstride, gfc_conv_expr_descriptor): Update callers.

From-SVN: r201945

11 years agoipa-utils.h (method_class_type): Declare.
Jan Hubicka [Fri, 23 Aug 2013 15:55:22 +0000 (17:55 +0200)]
ipa-utils.h (method_class_type): Declare.

* ipa-utils.h (method_class_type): Declare.
* ipa-devirt.c (method_class_type): Export.

* cgraphunit.c (analyze_functions): Do basic devirtualization;
do not walk base classes of anonymous types.

From-SVN: r201944

11 years agodevirt-13.C: New testcase.
Jan Hubicka [Fri, 23 Aug 2013 15:29:04 +0000 (17:29 +0200)]
devirt-13.C: New testcase.

* g++.dg/ipa/devirt-13.C: New testcase.
* g++.dg/ipa/devirt-14.C: New testcase.
* cgraphunit.c (analyze_functions): Do basic devirtualization;
do not walk base classes of anonymous types.

From-SVN: r201942

11 years agore PR rtl-optimization/58220 (Many new failures for SH after rev. 201833)
Kaz Kojima [Fri, 23 Aug 2013 14:31:06 +0000 (14:31 +0000)]
re PR rtl-optimization/58220 (Many new failures for SH after rev. 201833)

2013-08-23  Kaz Kojima  <kkojima@gcc.gnu.org>

        PR rtl-optimization/58220
        PR regression/58221
* final.c (reemit_insn_block_notes): Use NEXT_INSN to
        handle SEQUENCE insns properly.

From-SVN: r201941

11 years agopretty-print.h (pp_newline_and_flush): Declare.
Gabriel Dos Reis [Fri, 23 Aug 2013 10:46:49 +0000 (10:46 +0000)]
pretty-print.h (pp_newline_and_flush): Declare.

* pretty-print.h (pp_newline_and_flush): Declare.  Remove macro
definition.
(pp_newline_and_indent): Likewise.
(pp_separate_with): Likewise.
* pretty-print.c (pp_newline_and_flush): Define.
(pp_newline_and_indent): Likewise.
(pp_separate_with): Likewise.

From-SVN: r201940

11 years agore PR target/58218 (-mcmodel=medium cause assembler warning "ignoring incorrect secti...
Jakub Jelinek [Fri, 23 Aug 2013 09:57:44 +0000 (11:57 +0200)]
re PR target/58218 (-mcmodel=medium cause assembler warning "ignoring incorrect section type for .lbss")

PR target/58218
* config/i386/x86-64.h (TARGET_SECTION_TYPE_FLAGS): Define.
* config/i386/i386.c (x86_64_elf_section_type_flags): New function.

* gcc.target/i386/pr58218.c: New test.

From-SVN: r201938

11 years agopredicates.md (ext_sse_reg_operand): New.
Kirill Yukhin [Fri, 23 Aug 2013 07:33:00 +0000 (07:33 +0000)]
predicates.md (ext_sse_reg_operand): New.

* gcc/config/i386/predicates.md (ext_sse_reg_operand): New.
* gcc/config/i386/i386.md (*movti_internal): Use
predicate to determine if EVEX is needed.
(*movsi_internal): Ditto.
(*movdf_internal): Ditto.
(*movsf_internal): Ditto.
* gcc/config/i386/mmx.md (*mov<mode>_internal): Ditto.

From-SVN: r201936

11 years agore PR tree-optimization/58209 (ICE in extract_range_from_binary_expr, at tree-vrp...
Jakub Jelinek [Fri, 23 Aug 2013 07:30:40 +0000 (09:30 +0200)]
re PR tree-optimization/58209 (ICE in extract_range_from_binary_expr, at tree-vrp.c:2294)

PR tree-optimization/58209
* tree-tailcall.c (process_assignment): Handle POINTER_PLUS_EXPR.
(find_tail_calls): Give up for pointer result types if m is non-NULL.
(adjust_return_value_with_ops): For PLUS_EXPR and pointer result type
emit POINTER_PLUS_EXPR.
(create_tailcall_accumulator): For pointer result type accumulate in
sizetype type.

* gcc.c-torture/execute/pr58209.c: New test.

From-SVN: r201935

11 years agolibgo: Update libtool.m4 from upstream to recognize powerpcle.
Ian Lance Taylor [Fri, 23 Aug 2013 01:08:25 +0000 (01:08 +0000)]
libgo: Update libtool.m4 from upstream to recognize powerpcle.

From-SVN: r201933

11 years agoDaily bump.
GCC Administrator [Fri, 23 Aug 2013 00:16:58 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r201932

11 years agopr57744.c: Declare abort.
Michael Meissner [Thu, 22 Aug 2013 18:16:59 +0000 (18:16 +0000)]
pr57744.c: Declare abort.

2013-08-22  Michael Meissner  <meissner@linux.vnet.ibm.com>

* gcc.target/powerpc/pr57744.c: Declare abort.

From-SVN: r201929

11 years agoconfigure.ac: Add backslashes missing from the last change.
Paolo Carlini [Thu, 22 Aug 2013 16:52:01 +0000 (16:52 +0000)]
configure.ac: Add backslashes missing from the last change.

2013-08-22  Paolo Carlini  <paolo.carlini@oracle.com>

* configure.ac: Add backslashes missing from the last change.
* configure: Regenerate.

From-SVN: r201927

11 years agore PR c++/56380 (Const/reference mutable members are not always rejected in class...
Paolo Carlini [Thu, 22 Aug 2013 16:30:08 +0000 (16:30 +0000)]
re PR c++/56380 (Const/reference mutable members are not always rejected in class templates)

/cp
2013-08-22  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/56380
* class.c (check_field_decls): Check for const mutable and const
reference data members.

/testsuite
2013-08-22  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/56380
* g++.dg/template/error54.C: New.

From-SVN: r201925

11 years agoipa.c (function_and_variable_visibility): First remember function was global and...
Jan Hubicka [Thu, 22 Aug 2013 15:56:01 +0000 (15:56 +0000)]
ipa.c (function_and_variable_visibility): First remember function was global and then make it local.

* ipa.c (function_and_variable_visibility): First remember function was global
and then make it local.

From-SVN: r201924

11 years agoconfigure.ac: Add aarch64 to list of arches which use "nop" in debug_line test.
Julian Brown [Thu, 22 Aug 2013 15:36:53 +0000 (15:36 +0000)]
configure.ac: Add aarch64 to list of arches which use "nop" in debug_line test.

* configure.ac: Add aarch64 to list of arches which use "nop" in
debug_line test.
* configure: Regenerate.

From-SVN: r201923

11 years agolinux.h (TARGET_LIBC_HAS_FUNCTION): Define as gnu_libc_has_function.
Andreas Krebbel [Thu, 22 Aug 2013 15:28:15 +0000 (15:28 +0000)]
linux.h (TARGET_LIBC_HAS_FUNCTION): Define as gnu_libc_has_function.

2013-08-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/linux.h (TARGET_LIBC_HAS_FUNCTION): Define as
gnu_libc_has_function.
* config/s390/tpf.h: Likewise.

From-SVN: r201922

11 years ago* timevar.c (validate_phases): Add cast.
Jan Hubicka [Thu, 22 Aug 2013 15:25:53 +0000 (15:25 +0000)]
* timevar.c (validate_phases): Add cast.

From-SVN: r201921

11 years agotimevar.c (validate_phases): Use size_t for memory.
Jan Hubicka [Thu, 22 Aug 2013 14:58:17 +0000 (14:58 +0000)]
timevar.c (validate_phases): Use size_t for memory.

* timevar.c (validate_phases): Use size_t for memory.
* timevar.h (struct timevar_time_def): Use size_t for ggc_mem.

From-SVN: r201920

11 years agore PR fortran/58185 ([OOP] ICE when selector in SELECT TYPE is non-polymorphic)
Janus Weil [Thu, 22 Aug 2013 11:49:46 +0000 (13:49 +0200)]
re PR fortran/58185 ([OOP] ICE when selector in SELECT TYPE is non-polymorphic)

2013-08-22  Janus Weil  <janus@gcc.gnu.org>

PR fortran/58185
* match.c (copy_ts_from_selector_to_associate): Only build class
container for polymorphic selector. Some cleanup.

2013-08-22  Janus Weil  <janus@gcc.gnu.org>

PR fortran/58185
* gfortran.dg/select_type_34.f90: New.

From-SVN: r201919

11 years agopretty-print.h (output_buffer::output_buffer): Declare.
Gabriel Dos Reis [Thu, 22 Aug 2013 10:14:46 +0000 (10:14 +0000)]
pretty-print.h (output_buffer::output_buffer): Declare.

* pretty-print.h (output_buffer::output_buffer): Declare.
(pretty_printer::pretty_printer): Likewise.
(pp_construct): Remove.
* pretty-print.c (output_buffer::output_buffer): Define.
(pretty_printer::pretty_printer): Rename from pp_construct.  Simplify.
* gimple-pretty-print.c (print_gimple_stmt): Do not call pp_construct.
(print_gimple_expr): Likewise.
(print_gimple_seq): Likewise.
(gimple_dump_bb): Likewise.
* sched-vis.c (dump_value_slim): Likewise.
(dump_insn_slim): Likewise.
(dump_rtl_slim): Likewise.
(str_pattern_slim): Likewise.
* tree-mudflap.c (mf_varname_tree): Likewise.
* graph.c (print_graph_cfg): Likewise.
(start_graph_dump): Likewise.
* tree-pretty-print.c (maybe_init_pretty_print): Likewise.  Use
placement-new.
* diagnostic.c (diagnostic_initialize): Simplify early diagnostic
pretty printer initialization.
* coretypes.h (diagnostic_context): Remove superflous type alias
declaration.
(pretty_printer): Likewise.  Declare directly as a class.
(pretty_print_info): Remove declaration as class.
* asan.c (asan_emit_stack_protection): Remove call to pp_construct
and pp_clear_output_area.
(asan_add_global): Likewise.

c/
* c-objc-common.c (c_initialize_diagnostics): Simplify C pretty
printer initialization.

c-family/
* c-pretty-print.h (pp_c_pretty_printer_init): Remove.
(c_pretty_printer::c_pretty_printer): Declare.
* c-pretty-print.c (pretty_printer::c_pretty_printer): Rename from
c_pretty_printer_init.  Adjust.
(print_c_tree): Do not call c_pretty_printer_init.
* c-ada-spec.c (dump_ads): Remove call to pp_construct.

cp/
* error.c (init_error): Remove calls to pp_construct and
pp_cxx_pretty_printer_init.  Initialize cxx_pp with placement-new.
* cxx-pretty-print.h (cxx_pretty_printer::cxx_pretty_printer): Declare.
(cxx_pretty_printer_init): Remove.
* cxx-pretty-print.c (cxx_pretty_printer::cxx_pretty_printer):
Rename from cxx_pretty_printer_init.  Adjust.
* cp-objcp-common.c (cxx_initialize_diagnostics): Simplify
initialization of C++ diagnostics pretty printer.

From-SVN: r201918

11 years ago* cgraphunit.c (analyze_functions) Use update_type_inheritance_graph.
Jan Hubicka [Thu, 22 Aug 2013 09:32:07 +0000 (11:32 +0200)]
* cgraphunit.c (analyze_functions) Use update_type_inheritance_graph.

* ipa-utils.h (update_type_inheritance_graph): Declare.
(possible_polymorphic_call_target_p): Declare.
(possible_polymorphic_call_target_p): New.
* ipa-devirt.c: Update toplevel comments.
(cached_polymorphic_call_targets): Move up.
(odr_type_d): Move ID down.
(polymorphic_type_binfo_p): Update comment.
(odr_hasher::remove): Likewise;
(get_odr_type): Set anonymous_namespace.
(dump_odr_type): Dump it.
(dump_type_inheritance_graph): Do not ICE when there are no ODR types.
(maybe_record_node): Record node in cached_polymorphic_call_targets.
(record_binfo): Add comment.
(free_polymorphic_call_targets_hash): Do not ICE when cache is not built.
(devirt_node_removal_hook): Do not iCE when cache is freed.
(possible_polymorphic_call_target_p): New predicate.
(update_type_inheritance_graph): New function.

From-SVN: r201917

11 years agoregex.h: Replace 8 spaces in indentation with a tab.
Tim Shen [Thu, 22 Aug 2013 09:01:38 +0000 (09:01 +0000)]
regex.h: Replace 8 spaces in indentation with a tab.

2013-08-22  Tim Shen  <timshen91@gmail.com>

* include/bits/regex.h: Replace 8 spaces in indentation with a tab.
* include/bits/regex_automaton.h: Same.
* include/bits/regex_automaton.tcc: Same.
* include/bits/regex_compiler.h: Same.
* include/bits/regex_compiler.tcc: Same.
* include/bits/regex_constants.h: Same.
* include/bits/regex_executor.h: Same.
* include/bits/regex_executor.tcc: Same.

From-SVN: r201916

11 years agoi386-common.c (OPTION_MASK_ISA_AVX512F_SET): New.
Alexander Ivchenko [Thu, 22 Aug 2013 06:06:03 +0000 (06:06 +0000)]
i386-common.c (OPTION_MASK_ISA_AVX512F_SET): New.

* common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512F_SET): New.
(OPTION_MASK_ISA_AVX512CD_SET): Ditto.
(OPTION_MASK_ISA_AVX512PF_SET): Ditto.
(OPTION_MASK_ISA_AVX512ER_SET): Ditto.
(OPTION_MASK_ISA_AVX2_UNSET): Update.
(OPTION_MASK_ISA_AVX512F_UNSET): New.
(OPTION_MASK_ISA_AVX512CD_UNSET): Ditto.
(OPTION_MASK_ISA_AVX512PF_UNSET): Ditto.
(OPTION_MASK_ISA_AVX512ER_UNSET): Ditto.
(ix86_handle_option): Handle OPT_mavx512f, OPT_mavx512cd,
OPT_mavx512pf, OPT_mavx512er cases.
* config/i386/constraints.md (v): New constraint.
(Yi, Yj): Replace SSE_REGS with ALL_SSE_REGS.
* config/i386/cpuid.h (bit_AVX512F, bit_AVX512PF, bit_AVX512ER)
(bit_AVX512CD): New.
* config/i386/driver-i386.c (host_detect_local_cpu): Detect
AVX512F, AVX512ER, AVX512PF, AVX512CD features.
* config/i386/i386-c.c (ix86_target_macros_internal):
Conditionally define __AVX512F__, __AVX512ER__, __AVX512CD__,
__AVX512PF__.
* config/i386/i386-modes.def (VECTOR_MODES (INT, 128))
(VECTOR_MODES (FLOAT, 128), INT_MODE (XI, 64)): New modes.
* config/i386/i386.c (regclass_map, dbx_register_map)
(dbx64_register_map, svr4_dbx_register_map): Add new SSE registers.
(gate_insert_vzeroupper): Disable vzeroupper for TARGET_AVX512F.
(ix86_target_string): Define -mavx512f, -mavx512er, -mavx512cd,
-mavx512pf options.
(ix86_option_override_internal): Define PTA_AVX512F, PTA_AVX512ER,
PTA_AVX512PF, PTA_AVX512CD.  Handle -mavx512f, -mavx512er, -mavx512cd,
-mavx512pf options.  Fix formatting.
(ix86_conditional_register_usage): Squash EXT_REX_SSE_REGs for 32-bit
targets.  Squash EVEX_SSE_REGS if AVX512F is disabled.
(ix86_valid_target_attribute_inner_p): Handle -mavx512f, -mavx512er,
-mavx512cd, -mavx512pf options.
(standard_sse_constant_opcode): Add vpternlogd for 512-bit modes.
(print_reg, ix86_print_operand): Handle 'g' to output 512-bit operands.
(ix86_preferred_output_reload_class): Replace SSE_REGS with
ALL_SSE_REGS.
(ix86_hard_regno_mode_ok): Support 512-bit registers.
(ix86_set_reg_reg_cost): Ditto.
(x86_order_regs_for_local_alloc): Ditto.
(MAX_VECT_LEN): Extend to 64-byte.
(ix86_spill_class): Replace SSE_REGS with ALL_SSE_REGS.
* config/i386/i386.h (TARGET_AVX512F, TARGET_AVX512PF)
(TARGET_AVX512ER, TARGET_AVX512CD): New.
(BIGGEST_ALIGNMENT): Extend to 512-bits.
(FIRST_PSEUDO_REGISTER, FIXED_REGISTERS): Add new registers.
(CALL_USED_REGISTERS, REG_ALLOC_ORDER): Likewise.
(VALID_AVX512F_SCALAR_MODE, VALID_AVX512F_REG_MODE): New.
(SSE_REG_MODE_P): Support new modes.
(FIRST_MMX_REG, FIRST_REX_INT_REG, FIRST_REX_SSE_REG): Add comments.
(FIRST_EXT_REX_SSE_REG, LAST_EXT_REX_SSE_REG): New.
(reg_class, REG_CLASS_NAMES): Add EVEX_SSE_REGS, ALL_SSE_REGS.
(SSE_CLASS_P, MAYBE_SSE_CLASS_P): Replace SSE_REGS with ALL_SSE_REGS.
(REG_CLASS_CONTENTS): Add new registers.
(SSE_REGNO_P, SSE_REGNO, HARD_REGNO_RENAME_OK): Support new registers.
(EXT_REX_SSE_REGNO_P): New.
(HI_REGISTER_NAMES): Add new registers.
* config/i386/i386.md: Define constants for new registers.
(mode): Add new 512-bit modes.
(prefix): Support evex prefix.
(isa): Support avx512f, noavx512f, fma_avx512f.
(ssemodesuffix): Add new 512-bit modes.
(movxi): New.
(*movxi_internal_avx512f): Ditto.
(*movdi_internal): Replace constraint "x" with the new constraint "v".
Support MODE_XI.
(*movsi_internal): Likewise.
(*movdf_internal): Likewise.
(*movsf_internal): Likewise.
(*fop_<mode>_comm_sse): Replace constraint "x" with new constraint "v".
(<code><mode>3): Likewise.
* config/i386/i386.opt (mavx512f, mavx512pf, mavx512er, mavx512cd): New.
* config/i386/mmx.md (*mov<mode>_internal): Replace constraint "x"
with the new constraint "v".
* config/i386/sse.md (*mov<mode>_internal): Support new registers and
modes.
(<sse>_loadu<ssemodesuffix><avxsizesuffix>): Replace constraint "x"
with the new constraint "v".
(<sse2>_loaddqu<avxsizesuffix>): Likewise.
(<sse2>_storedqu<avxsizesuffix>): Likewise.
(*<plusminus_insn><mode>3): Likewise.
(<sse>_vm<plusminus_insn><mode>3): Likewise.
(*mul<mode>3): Likewise.
(<sse>_vmmul<mode>3): Likewise.
(<sse>_div<mode>3): Likewise.
(<sse>_vmdiv<mode>3): Likewise.
(<sse>_sqrt<mode>2): Likewise.
(<sse>_vmsqrt<mode>2): Likewise.
(*<code><mode>3_finite): Likewise.
(*<code><mode>3) <smaxmin>: Likewise.
(<sse>_vm<code><mode>3): Likewise.
(*<code><mode>3) <any_logic>: Likewise.
(*fma_fmadd_<mode>): Likewise.
(*fma_fmsub_<mode>): Likewise.
(*fma_fnmadd_<mode>): Likewise.
(*fma_fnmsub_<mode>): Likewise.
(*fma_fmaddsub_<mode>): Likewise.
(*fma_fmsubadd_<mode>): Likewise.
(*fmai_fmadd_<mode>): Likewise.
(*fmai_fmsub_<mode>): Likewise.
(*fmai_fnmadd_<mode>): Likewise.
(*fmai_fnmsub_<mode>): Likewise.
(sse_cvtsi2ss): Likewise.
(sse_cvtsi2ssq): Likewise.
(sse_cvtss2si): Likewise.
(sse_cvtss2si_2): Likewise.
(sse_cvtss2siq): Likewise.
(sse_cvtss2siq_2): Likewise.
(sse_cvttss2si): Likewise.
(sse_cvtss2siq_2): Likewise.
(float<sseintvecmodelower><mode>2): Likewise.
(sse2_cvtsd2si_2): Likewise.
(sse2_cvtsd2siq_2): Likewise.
(*<plusminus_insn><mode>3): Likewise.
(*<sse2_avx2>_<plusminus_insn><mode>3): Likewise.
(*<sse4_1_avx2>_mul<mode>3): Likewise.
(ashr<mode>3): Likewise.
(<shift_insn><mode>3): Likewise.
(avx2_<code><mode>3): Likewise.
(*avx2_<code><mode>3): Likewise.
(*andnot<mode>3): Likewise.
(*<code><mode>3) <any_logic>: Likewise.
(abs<mode>2): Likewise.
(avx2_permvar<mode>): Likewise.
(avx2_perm<mode>_1): Likewise.
(*avx_vpermilp<mode>): Likewise.
(avx_vpermilvar<mode>3): Likewise.
(avx2_ashrv<mode>): Likewise.
(avx2_<shift_insn>v<mode>): Likewise.
* doc/invoke.texi: Document -mavx512f, -mavx512pf, -mavx512er,
-mavx512cd.
* doc/rtl.texi: Document XImode.

Co-Authored-By: Andrey Turetskiy <andrey.turetskiy@intel.com>
Co-Authored-By: Anna Tikhonova <anna.tikhonova@intel.com>
Co-Authored-By: Ilya Tocar <ilya.tocar@intel.com>
Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com>
Co-Authored-By: Kirill Yukhin <kirill.yukhin@intel.com>
Co-Authored-By: Maxim Kuznetsov <maxim.kuznetsov@intel.com>
Co-Authored-By: Michael Zolotukhin <michael.v.zolotukhin@intel.com>
Co-Authored-By: Sergey Lega <sergey.s.lega@intel.com>
From-SVN: r201915

11 years agoregex.h: Executor caller.
Tim Shen [Thu, 22 Aug 2013 00:58:28 +0000 (00:58 +0000)]
regex.h: Executor caller.

2013-08-22  Tim Shen  <timshen91@gmail.com>

* include/bits/regex.h: Executor caller.
* include/bits/regex_executor.h: Fix empty grouping problem.
* include/bits/regex_executor.tcc: Same.
* testsuite/28_regex/algorithms/regex_match/ecma/cstring_emptygroup.cc:
  New.

From-SVN: r201914

11 years agoDaily bump.
GCC Administrator [Thu, 22 Aug 2013 00:16:22 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r201913