OSDN Git Service

pf3gnuchains/gcc-fork.git
11 years agoDaily bump.
gccadmin [Fri, 14 Sep 2012 00:17:35 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191287 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-09-13 Tobias Burnus <burnus@net-b.de>
burnus [Thu, 13 Sep 2012 18:10:04 +0000 (18:10 +0000)]
2012-09-13  Tobias Burnus  <burnus@net-b.de>

        PR fortran/54556
        * resolve.c (resolve_formal_arglist): Allow VALUE arguments
        with implicit_pure.
        (gfc_impure_variable): Don't check gfc_pure such that the
        function also works for gfc_implicit_pure procedures.

2012-09-13  Tobias Burnus  <burnus@net-b.de>

        PR fortran/54556
        * gfortran.dg/implicit_pure_3.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191275 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/i386/i386.h (x86_prefetchw): New global variable.
uros [Thu, 13 Sep 2012 17:32:23 +0000 (17:32 +0000)]
* config/i386/i386.h (x86_prefetchw): New global variable.
(TARGET_PREFETCHW): New macro.
* config/i386/i386.c (PTA_PREFETCHW): Ditto.
(processor_alias_table): Add PTA_PREFETCHW to
bdver1, bdver2 and btver1.
(ix86_option_override_internal): Set x86_prefetchw for
PTA_PREFETCHW targets.
* config/i386/i386.md (prefetch): Expand to prefetchw
for TARGET_PREFETCHW.
(*prefetch_3dnow_<mode>): Also enable for TARGET_PREFETCHW.

Backport from mainline
2012-08-13  Uros Bizjak  <ubizjak@gmail.com>

* config/i386/i386.md (prefetch): Do not assert mode of operand 0.
(*prefetch_sse_<mode>): Do not set mode of address_operand predicate.
Rename to ...
(*prefetch_sse): ... this.
(*prefetch_3dnow_<mode>): Do not set mode of address_operand predicate.
Rename to ...
(*prefetch_3dnow): ... this.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191272 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c/54559
jakub [Thu, 13 Sep 2012 17:04:44 +0000 (17:04 +0000)]
PR c/54559
* c-typeck.c (c_finish_return): Do convert to BOOLEAN_TYPE or
COMPLEX_TYPE with in_late_binary_op set temporarily to true.

* gcc.c-torture/compile/pr54559.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191271 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/53839
jason [Thu, 13 Sep 2012 15:15:06 +0000 (15:15 +0000)]
PR c++/53839
* semantics.c (cxx_eval_indirect_ref): If we aren't looking for an
address, make sure the value is constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191266 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/54511
jason [Thu, 13 Sep 2012 15:14:49 +0000 (15:14 +0000)]
PR c++/54511
* pt.c (tsubst_decl) [VAR_DECL]: Handle DECL_ANON_UNION_VAR_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191265 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/53836
jason [Thu, 13 Sep 2012 15:14:27 +0000 (15:14 +0000)]
PR c++/53836
* pt.c (value_dependent_expression_p): A TREE_LIST initializer must
be dependent.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191264 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-09-12 Teresa Johnson <tejohnson@google.com>
tejohnson [Thu, 13 Sep 2012 13:32:31 +0000 (13:32 +0000)]
2012-09-12  Teresa Johnson  <tejohnson@google.com>

Backport from mainline.
2012-09-12  Teresa Johnson  <tejohnson@google.com>

        PR gcov-profile/54487
        * configure.ac (HOST_HAS_F_SETLKW): Set based on compile
        test using F_SETLKW with fcntl.
        * configure, config.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191254 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Thu, 13 Sep 2012 00:17:17 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191236 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backport from mainline
uros [Wed, 12 Sep 2012 16:06:42 +0000 (16:06 +0000)]
Backport from mainline
2012-09-12  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>

* config/i386/i386.md : Comments on fma4 instruction selection
reflect requirement on register pressure based cost model.

* config/i386/driver-i386.c (host_detect_local_cpu): fma4
flag is set-reset as informed by the cpuid flag.

* config/i386/i386.c (processor_alias_table): fma4
flag is enabled for bdver2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191227 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago* config/sh/newlib.h (NO_IMPLICIT_EXTERN_C): Define.
chrbr [Wed, 12 Sep 2012 13:11:20 +0000 (13:11 +0000)]
* config/sh/newlib.h (NO_IMPLICIT_EXTERN_C): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191221 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-09-12 Tobias Burnus <burnus@net-b.de>
burnus [Wed, 12 Sep 2012 12:15:44 +0000 (12:15 +0000)]
2012-09-12  Tobias Burnus  <burnus@net-b.de>

        PR fortran/54225
        PR fortran/53306
        * array.c (match_subscript, gfc_match_array_ref): Fix
        diagnostic of coarray's '*'.

2012-09-12  Tobias Burnus  <burnus@net-b.de>

        PR fortran/54225
        PR fortran/53306
        * gfortran.dg/coarray_10.f90: Update dg-error.
        * gfortran.dg/coarray_28.f90: New.
        * gfortran.dg/array_section_3.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191216 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config.gcc: Obsolete picochip-*.
jakub [Wed, 12 Sep 2012 09:03:54 +0000 (09:03 +0000)]
* config.gcc: Obsolete picochip-*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191211 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Wed, 12 Sep 2012 00:17:50 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191205 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR libstdc++/54172
jakub [Tue, 11 Sep 2012 15:24:06 +0000 (15:24 +0000)]
PR libstdc++/54172
* libsupc++/guard.cc (__cxa_guard_acquire): Fix up the last
argument of the first __atomic_compare_exchange_n.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191191 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-09-11 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 11 Sep 2012 10:43:13 +0000 (10:43 +0000)]
2012-09-11  Richard Guenther  <rguenther@suse.de>

PR debug/54534
* cgraph.h (varpool_can_remove_if_no_refs): Restore dependence
on flag_toplevel_reorder.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191176 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Tue, 11 Sep 2012 00:17:56 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191168 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/54506
jason [Mon, 10 Sep 2012 14:24:19 +0000 (14:24 +0000)]
PR c++/54506
* decl.c (move_signature_fn_p): Split out from move_fn_p.
* method.c (process_subob_fn): Use it.
* cp-tree.h: Declare it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191146 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/54341
jason [Mon, 10 Sep 2012 14:24:07 +0000 (14:24 +0000)]
PR c++/54341
PR c++/54253
* semantics.c (sort_constexpr_mem_initializers): New.
(build_constexpr_constructor_member_initializers): Use it.
(cx_check_missing_mem_inits): Skip artificial fields.
* init.c (expand_aggr_init_1): Don't zero out a class
with no data.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191145 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/54086
jason [Mon, 10 Sep 2012 14:23:54 +0000 (14:23 +0000)]
PR c++/54086
* decl.c (grokdeclarator): Allow const and constexpr together.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191144 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago* config/alpha/predicates.md (small_symbolic_operand): Disallow large offsets.
rth [Mon, 10 Sep 2012 13:07:22 +0000 (13:07 +0000)]
* config/alpha/predicates.md (small_symbolic_operand): Disallow large offsets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191137 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-09-10 Janus Weil <janus@gcc.gnu.org>
janus [Mon, 10 Sep 2012 12:10:12 +0000 (12:10 +0000)]
2012-09-10  Janus Weil  <janus@gcc.gnu.org>

PR fortran/54435
PR fortran/54443
* match.c (gfc_match_select_type): Make sure to only access CLASS_DATA
for BT_CLASS.

2012-09-10  Janus Weil  <janus@gcc.gnu.org>

PR fortran/54435
PR fortran/54443
* gfortran.dg/select_type_29.f03: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191135 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backport from 2012-09-10 mainline r191132.
gjl [Mon, 10 Sep 2012 10:46:27 +0000 (10:46 +0000)]
Backport from 2012-09-10 mainline r191132.

PR target/54536
* config/avr/avr-mcus.def (at90usb1287): Set LIBRARY_NAME to "usb1287".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191133 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-09-07 Markus Trippelsdorf <markus@trippelsdorf.de>
rguenth [Mon, 10 Sep 2012 09:48:28 +0000 (09:48 +0000)]
2012-09-07  Markus Trippelsdorf  <markus@trippelsdorf.de>

PR middle-end/54515
* tree-sra.c (disqualify_base_of_expr): Check for possible
NULL_TREE returned by get_base_address()

* g++.dg/tree-ssa/pr54515.C: new testcase

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191130 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-09-09 Thiago Macieira <thiago.macieira@intel.com>
bkoz [Mon, 10 Sep 2012 05:08:07 +0000 (05:08 +0000)]
2012-09-09  Thiago Macieira  <thiago.macieira@intel.com>

PR libstdc++/54172
        * libsupc++/guard.cc (__cxa_guard_acquire): Exit the loop earlier if
        we detect that another thread has had success. Don't compare_exchange
        from a finished state back to a waiting state. Comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191125 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Mon, 10 Sep 2012 00:17:14 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191123 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR libstdc++/54388
redi [Sun, 9 Sep 2012 18:40:46 +0000 (18:40 +0000)]
PR libstdc++/54388
* include/std/array (array::at() const): Ensure lvalue result.
* testsuite/23_containers/array/element_access/54388.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191117 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Sun, 9 Sep 2012 00:18:08 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191104 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agofortran/
mikael [Sat, 8 Sep 2012 09:22:54 +0000 (09:22 +0000)]
fortran/
PR fortran/54208
* simplify.c (simplify_bound_dim): Resolve array spec before
proceeding with simplification.

testsuite/
PR fortran/54208
* gfortran.dg/bound_simplification_3.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191090 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Sat, 8 Sep 2012 00:17:34 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191086 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-09-07 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 7 Sep 2012 13:05:18 +0000 (13:05 +0000)]
2012-09-07  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2012-06-26  Jan Hubicka  <jh@suse.cz>

PR lto/53572
* cgraph.h (varpool_can_remove_if_no_refs): Fix handling of
used symbols.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191073 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-09-07 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 7 Sep 2012 13:04:38 +0000 (13:04 +0000)]
2012-09-07  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2012-07-13  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/53922
* tree-vrp.c (value_inside_range): Change prototype to take
min/max instead of value-range.
(range_includes_zero_p): Likewise.  Return the result from
value_inside_range.
(extract_range_from_binary_expr_1): Adjust to handle dont-know
return value from range_includes_zero_p.
(extract_range_from_unary_expr_1): Likewise.
(compare_range_with_value): Likewise.
(vrp_meet_1): Likewise.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191072 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * gcc-interface/trans.c (Loop_Statement_to_gnu): Revert to using
ebotcazou [Fri, 7 Sep 2012 11:55:44 +0000 (11:55 +0000)]
* gcc-interface/trans.c (Loop_Statement_to_gnu): Revert to using
size_type_node instead of sizetype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191070 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-09-07 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 7 Sep 2012 10:29:56 +0000 (10:29 +0000)]
2012-09-07  Richard Guenther  <rguenther@suse.de>

PR middle-end/53667
* tree-ssa-structalias.c (handle_rhs_call): Properly clobber
EAF_NOESCAPED arguments.  Transitively close non-EAF_DIRECT
arguments separately.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191065 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * gcc.dg/pr44194-1.c: Skip on Alpha and adjust regexp for SPARC64.
ebotcazou [Fri, 7 Sep 2012 10:05:21 +0000 (10:05 +0000)]
* gcc.dg/pr44194-1.c: Skip on Alpha and adjust regexp for SPARC64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191062 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-09-07 Jakub Jelinek <jakub@redhat.com>
jakub [Fri, 7 Sep 2012 09:35:21 +0000 (09:35 +0000)]
2012-09-07  Jakub Jelinek  <jakub@redhat.com>

Backported from mainline
2012-09-06  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/54455
* sel-sched-ir.c (maybe_tidy_empty_bb): Give up if previous fallthru
bb ends up with asm goto referencing bb's label.

* gcc.dg/54455.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191060 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoFix PR target/54252
ramana [Fri, 7 Sep 2012 09:31:54 +0000 (09:31 +0000)]
Fix PR target/54252

2012-09-07  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

Backport from mainline.
2012-08-29  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
                   Richard Earnshaw  <richard.earnshaw@arm.com>

PR target/54252
* config/arm/arm.c (neon_dereference_pointer): Adjust nelems by
element size. Use elem_type from the formal parameter. New parameter
fcode.
(neon_expand_args): Adjust call to neon_dereference_pointer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191059 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Fri, 7 Sep 2012 00:17:54 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191049 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-09-06 Uros Bizjak <ubizjak@gmail.com>
uros [Thu, 6 Sep 2012 15:45:11 +0000 (15:45 +0000)]
2012-09-06  Uros Bizjak  <ubizjak@gmail.com>

* config/i386/sse.md (<sse4_1_avx2>_pblendvb): Use
reg_not_xmm0_operand_maybe_avx as operand 0 constraint.

2012-09-06  Uros Bizjak  <ubizjak@gmail.com>

Backport from mainline
2012-08-11  Uros Bizjak  <ubizjak@gmail.com>

* config/i386/i386.md (isa): Add fma and fma4.
(enabled): Handle fma and fma4.
* config/i386/sse.md (*fma_fmadd_<mode>): Merge *fma4_fmadd_<mode>.
(*fma_fmsub_<mode>): Merge *fma4_fmsub_<mode>.
(*fma_fnmadd_<mode>): Merge *fma4_fnmadd_<mode>.
(*fma_fnmsub_<mode>): Merge *fma4_fnmsub_<mode>.
(*fma_fmaddsub_<mode>): Merge *fma4_fmaddsub_<mode>.
(*fma_fmsubadd_<mode>): Merge *fma4_fmsubadd_<mode>.

2012-08-10  Uros Bizjak  <ubizjak@gmail.com>

* config/i386/sse.md (*fma_fmadd_<mode>, *fma_fmsub_<mode>,
*fma_fnmadd_<mode>, *fma_fnmsub_<mode>, *fma_fmaddsub_<mode>,
*fma_fmsubadd_<mode>): Move FMA3 insn patterns before FMA4 patterns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191032 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-09-06 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 6 Sep 2012 15:20:24 +0000 (15:20 +0000)]
2012-09-06  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/54498
* tree-ssa-alias.h (get_continuation_for_phi): Add flag to
abort when reaching an already visited region.
* tree-ssa-alias.c (maybe_skip_until): Likewise.  And do it.
(get_continuation_for_phi_1): Likewise.
(walk_non_aliased_vuses): When we translated the reference,
abort when we re-visit a region.
* tree-ssa-pre.c (translate_vuse_through_block): Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191031 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-09-06 Andrew Pinski <apinski@cavium.com>
pinskia [Thu, 6 Sep 2012 13:51:37 +0000 (13:51 +0000)]
2012-09-06  Andrew Pinski  <apinski@cavium.com>

        PR tree-opt/54494
        * tree-inline.c (remap_gimple_op_r): Copy TREE_SIDE_EFFECTS also.
2012-09-06  Andrew Pinski  <apinski@cavium.com>

        PR tree-opt/54494
        * gcc.dg/tree-ssa/strlen-1.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191025 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-08-26 Marc Glisse <marc.glisse@inria.fr>
paolo [Thu, 6 Sep 2012 09:27:10 +0000 (09:27 +0000)]
2012-08-26  Marc Glisse  <marc.glisse@inria.fr>
    Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/54376
* include/bits/random.h (lognormal_distribution<>::operator==,
gamma_distribution<>::operator==,
chi_squared_distribution<>::operator==,
fisher_f_distribution<>::operator==,
student_t_distribution<>::operator==,
binomial_distribution<>::operator==,
negative_binomial_distribution<>::operator==,
poisson_distribution<>::operator==): Change inline friend definition
to non-template.
* testsuite/26_numerics/random/binomial_distribution/requirements/
explicit_instantiation/1.cc: New.
* testsuite/26_numerics/random/cauchy_distribution/requirements/
explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/chi_squared_distribution/
requirements/explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/discrete_distribution/requirements/
explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/exponential_distribution/
requirements/explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/extreme_value_distribution/
requirements/explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/fisher_f_distribution/requirements/
explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/gamma_distribution/requirements/
explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/geometric_distribution/requirements/
explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/lognormal_distribution/requirements/
explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/negative_binomial_distribution/
requirements/explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/normal_distribution/requirements/
explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/piecewise_constant_distribution/
requirements/explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/piecewise_linear_distribution/
requirements/explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/poisson_distribution/requirements/
explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/student_t_distribution/requirements/
explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/uniform_int_distribution/
requirements/explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/uniform_real_distribution/
requirements/explicit_instantiation/1.cc: Likewise.
* testsuite/26_numerics/random/weibull_distribution/requirements/
explicit_instantiation/1.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191016 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agodebug/elf, debug/dwarf: DWARF line number fixes.
ian [Thu, 6 Sep 2012 05:28:19 +0000 (05:28 +0000)]
debug/elf, debug/dwarf: DWARF line number fixes.

Support DW_AT_high_pc as a constant.
Support DW_AT_ranges.

PR gcc/52583

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191009 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Thu, 6 Sep 2012 00:17:27 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191001 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/fpu-387.h (set_fpu): Prefix stmxcsr and ldmxcsr with %v.
uros [Wed, 5 Sep 2012 21:48:15 +0000 (21:48 +0000)]
* config/fpu-387.h (set_fpu): Prefix stmxcsr and ldmxcsr with %v.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190998 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/fpu-387.h (set_fpu): Use __builtin_ia32_stmxcsr and
uros [Wed, 5 Sep 2012 21:01:30 +0000 (21:01 +0000)]
* config/fpu-387.h (set_fpu): Use __builtin_ia32_stmxcsr and
__builtin_ia32_ldmxcsr intrinsics.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190995 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR middle-end/54486
jakub [Wed, 5 Sep 2012 16:29:42 +0000 (16:29 +0000)]
PR middle-end/54486
* builtins.c (fold_builtin_strspn, fold_builtin_strcspn): Use
build_int_cst with size_type_node instead of size_int.

* c-c++-common/pr54486.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190987 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backport from 2012-09-05 mainline r190697.
gjl [Wed, 5 Sep 2012 12:19:47 +0000 (12:19 +0000)]
Backport from 2012-09-05 mainline r190697.

PR target/54461
* configure.ac (noconfigdirs,target=avr-*-*): Add target-newlib,
target-libgloss if configured --with-avrlibc.
* configure: Regenerate.

libgcc/
Backport from 2012-09-05 mainline r190697.

PR target/54461
* config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
configured --with-avrlibc.
* Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
(DPBIT_FUNCS): Ditto.
(TPBIT_FUNCS): Ditto.
* config/avr/t-avrlibc: New file.

gcc/
Backport from 2012-09-05 mainline r190697.

PR target/54461
* config.gcc (tm_file,target=avr-*-*): Add avr/avrlibc.h if
configured --with-avrlibc.
(tm_defines,target=avr-*-*): Add WITH_AVRLIBC if configured
--with-avrlibc.
* config/avr/avrlibc.h: New file.
* config/avr/avr-c.c: Build-in define __WITH_AVRLIBC__ if
configured --with-avrlibc.
* doc/invoke.texi (AVR Built-in Macros): Document __WITH_AVRLIBC__

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190973 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backport from 2012-09-04 mainline r190919
amker [Wed, 5 Sep 2012 10:49:56 +0000 (10:49 +0000)]
Backport from 2012-09-04 mainline r190919

PR target/45070
* config/arm/arm.c (thumb1_extra_regs_pushed): Handle return value of size
less than 4 bytes by using macro ARM_NUM_INTS.
(thumb1_unexpanded_epilogue): Use macro ARM_NUM_INTS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190970 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from trunk
jye2 [Wed, 5 Sep 2012 08:22:55 +0000 (08:22 +0000)]
Backported from trunk
2012-08-28  Joey Ye  <joey.ye@arm.com>

* gcc.dg/tree-ssa/ssa-dom-thread-3.c: Add -fno-short-enums.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190966 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Wed, 5 Sep 2012 00:17:44 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190956 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago* alias.c (read_dependence): Return true for ALIAS_SET_MEMORY_BARRIER.
rth [Tue, 4 Sep 2012 18:17:54 +0000 (18:17 +0000)]
* alias.c (read_dependence): Return true for ALIAS_SET_MEMORY_BARRIER.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190942 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backport from 2012-09-04 mainline r190920
gjl [Tue, 4 Sep 2012 09:38:42 +0000 (09:38 +0000)]
Backport from 2012-09-04 mainline r190920
PR target/54476
* config/avr/avr.c (avr_expand_delay_cycles): Mask operand with
SImode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190921 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backport from 2012-09-04 mainline r190914
gjl [Tue, 4 Sep 2012 09:14:36 +0000 (09:14 +0000)]
Backport from 2012-09-04 mainline r190914
PR target/54220
* config/avr/avr.c (TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS): New
define to...
(avr_allocate_stack_slots_for_args): ...this new static function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190916 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Tue, 4 Sep 2012 00:17:44 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190907 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoAdd -da and remove -dm in GCC manual
hjl [Mon, 3 Sep 2012 19:07:34 +0000 (19:07 +0000)]
Add -da and remove -dm in GCC manual

Backported from mainline
PR driver/54335
* doc/invoke.texi: Add -da and remove -dm.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190902 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Mon, 3 Sep 2012 16:05:44 +0000 (16:05 +0000)]
Backported from mainline
2012-09-01  Jakub Jelinek  <jakub@redhat.com>

PR target/54436
* config/i386/i386.md (*mov<mode>_insv_1_rex64, *movsi_insv_1): If
operands[1] is CONST_INT_P, convert it to QImode before printing.

* gcc.dg/torture/pr54436.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190900 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Mon, 3 Sep 2012 16:04:19 +0000 (16:04 +0000)]
Backported from mainline
2012-08-31  Jakub Jelinek  <jakub@redhat.com>

PR c/54428
* c-convert.c (convert): Don't call fold_convert_loc if
TYPE_MAIN_VARIANT of a COMPLEX_TYPE is the same, unless e
is a COMPLEX_EXPR.  Remove TYPE_MAIN_VARIANT check from
COMPLEX_TYPE -> COMPLEX_TYPE conversion.

* gcc.c-torture/compile/pr54428.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190899 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backported from mainline
jakub [Mon, 3 Sep 2012 16:02:52 +0000 (16:02 +0000)]
Backported from mainline
2012-08-24  Jakub Jelinek  <jakub@redhat.com>

PR c/54363
* gimplify.c (optimize_compound_literals_in_ctor): Only recurse
if init is a CONSTRUCTOR.

* gcc.dg/pr54363.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190898 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Mon, 3 Sep 2012 00:17:08 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190867 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR rtl-optimization/54369
ebotcazou [Sun, 2 Sep 2012 10:36:54 +0000 (10:36 +0000)]
PR rtl-optimization/54369
* config/mips/mips.c (mips_reorg): Invoke cleanup_barriers before
calling dbr_schedule.
* config/sparc/sparc.c (sparc_reorg): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190859 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Sun, 2 Sep 2012 00:17:24 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190851 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Sat, 1 Sep 2012 00:17:28 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190844 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoBackport from mainline
aaw [Fri, 31 Aug 2012 17:16:39 +0000 (17:16 +0000)]
Backport from mainline
2012-08-31  Ollie Wild  <aaw@google.com>

PR c++/54197
* gcc/cp/call.c (extend_ref_init_temps_1): Handle COMPOUND_EXPR trees.
* gcc/testsuite/g++.dg/init/lifetime3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190839 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backport from mainline
kyukhin [Fri, 31 Aug 2012 16:23:33 +0000 (16:23 +0000)]
    Backport from mainline
        2012-08-23  Yuri Rumyantsev  <ysrumyan@gmail.com>

        * config/i386/i386.c (ia32_multipass_dfa_lookahead) : Add
        case for Atom processor.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190837 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Fri, 31 Aug 2012 00:17:37 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190821 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Thu, 30 Aug 2012 00:17:55 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190792 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Wed, 29 Aug 2012 00:18:22 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190764 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backport from mainline
uros [Tue, 28 Aug 2012 17:22:13 +0000 (17:22 +0000)]
Backport from mainline
2012-08-27  Uros Bizjak  <ubizjak@gmail.com>

PR target/46254
* config/i386/predicates.md (cmpxchg8b_pic_memory_operand): Return
true for TARGET_64BIT or !flag_pic.
* config/i386/sync.md (*atomic_compare_and_swap_doubledi_pic): Remove.
(atomic_compare_and_swap_double<mode>): Change operand 2 predicate
to cmpxchg8b_pic_memory_operand.  Use DWIH mode iterator.
Add insn constraint.  Conditionally emit xchg asm insns.
(atomic_compare_and_swap<mode>): Update calls.  Check only
cmpxchg8b_pic_memory_operand in memory address fixup.
(DCASMODE): Remove.
(CASHMODE): Rename from DCASHMODE.
(doublemodesuffix): Update modes.
(regprefix): New mode attribute.

(unspecv) <UNSPECV_CMPXCHG_{1,2,3,4}>: Remove.
<UNSPECV_CMPXCHG>: New constant.
(atomic_compare_and_swap<mode>_1): Rename from
atomic_compare_and_swap_single<mode>.  Update calls and
unspec_volatile constants.
(atomic_compare_and_swap<mode>_doubleword): Rename from
atomic_compare_and_swap_double<mode>.  Update calls and
unspec_volatile constants.

testsuite/ChangeLog:

Backport from mainline
2012-08-27  Uros Bizjak  <ubizjak@gmail.com>

PR target/46254
* gcc.target/i386/pr46254.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190754 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoFix ChangeLog formatting.
walt [Tue, 28 Aug 2012 07:01:02 +0000 (07:01 +0000)]
Fix ChangeLog formatting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190742 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoFix some typos and coding style violations.
walt [Tue, 28 Aug 2012 06:11:09 +0000 (06:11 +0000)]
Fix some typos and coding style violations.
Backport from mainline
2012-08-28  Walter Lee  <walt@tilera.com>

* confg/tilegx/tilegx.md: Fix code style.
(*zero_extendsidi_truncdisi): Fix typo.
* config/tilegx/tilegx.c: Fix code style.
(tilegx_function_profiler): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190740 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Tue, 28 Aug 2012 00:16:55 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190735 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoFix doc typo.
walt [Mon, 27 Aug 2012 18:51:44 +0000 (18:51 +0000)]
Fix doc typo.
Backport from mainline
2012-08-27  Walter Lee  <walt@tilera.com>

* doc/md.texi (TILE-Gx): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190730 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoFix a typo in the mcount function_profiler.
walt [Mon, 27 Aug 2012 18:36:39 +0000 (18:36 +0000)]
Fix a typo in the mcount function_profiler.
Backport from mainline
2012-08-27  Walter Lee  <walt@tilera.com>

* config/tilegx/tilegx.c (tilegx_function_profiler): Fix typo.
config/tilepro/tilepro.c (tilepro_function_profiler): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190727 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoStop trying to represent the bfins instruction with the insv pattern,
walt [Mon, 27 Aug 2012 18:18:43 +0000 (18:18 +0000)]
Stop trying to represent the bfins instruction with the insv pattern,
because it causes an extra copy when bfins reuses one of its inputs.
Backport from mainline
2012-08-27  Walter Lee  <walt@tilera.com>

* config/tilegx/tilegx.md (*bfins): Rename to insn_bfins.
(insn_bfins): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190725 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoProperly set the latency of atomic ops to the approximate latency of a
walt [Mon, 27 Aug 2012 17:39:19 +0000 (17:39 +0000)]
Properly set the latency of atomic ops to the approximate latency of a
remote memory operation.
Backport from mainline
2012-08-27  Walter Lee  <walt@tilera.com>

* config/tilegx/sync.md (atomic_compare_and_swap_bare<mode>,
atomic_exchange_bare<mode>,
atomic_fetch_<fetchop_name>_bare<mode>): Set type to X1_remote.
* config/tilegx/tilegx-generic.md (X1_remote): New
insn_reservation.
* config/tilegx/tilegx.md (type): Add X1_remove.
(insn_cmpexch<four_if_si>, insn_exch<four_if_si>,
insn_fetchadd<four_if_si>, insn_fetchaddgez<four_if_si>,
insn_fetchand<four_if_si>, insn_fetchor<four_if_si>): Set type to
X1_remote.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190723 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Mon, 27 Aug 2012 00:17:15 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190705 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * testsuite/30_threads/async/54297.cc: Add dg-require-nanosleep.
redi [Sun, 26 Aug 2012 14:58:42 +0000 (14:58 +0000)]
* testsuite/30_threads/async/54297.cc: Add dg-require-nanosleep.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190690 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR libstdc++/54297
redi [Sun, 26 Aug 2012 14:09:12 +0000 (14:09 +0000)]
PR libstdc++/54297
* src/c++11/future.cc (~_Async_state_common): Move to...
* src/c++11/compatibility-thread-c++0x.cc (~_Async_state_common):
Here.
(_GLIBCXX_ABI_COMPAT_ASYNC): Rename to _GLIBCXX_ASYNC_ABI_COMPAT.
* include/std/future (_GLIBCXX_ABI_COMPAT_ASYNC): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190687 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-08-26 Jonathan Wakely <jwakely.gcc@gmail.com>
redi [Sun, 26 Aug 2012 00:29:41 +0000 (00:29 +0000)]
2012-08-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
    Geoff Romer  <gromer@google.com>

PR libstdc++/54351
* include/bits/unique_ptr.h (unique_ptr<T>::~unique_ptr): Do not use
reset().
(unique_ptr<T[]>::~unique_ptr()): Likewise.
* testsuite/20_util/unique_ptr/54351.cc: New.
* testsuite/20_util/unique_ptr/assign/48635_neg.cc: Adjust dg-error
line numbers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190681 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Sun, 26 Aug 2012 00:17:26 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190679 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR rtl-optimization/54088
ebotcazou [Sat, 25 Aug 2012 23:22:21 +0000 (23:22 +0000)]
PR rtl-optimization/54088
* jump.c (delete_related_insns): Robustify latest change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190675 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR libstdc++/54297
redi [Sat, 25 Aug 2012 23:06:07 +0000 (23:06 +0000)]
PR libstdc++/54297
* include/std/future (~_Async_state_impl): Join thread before
derived class members are destroyed.
(~_Async_state_common): Only define non-trivial destructor when
included from future.cc for ABI compatibility reasons.
* src/c++11/future.cc (_GLIBCXX_ABI_COMPAT_ASYNC): Define.
* testsuite/30_threads/async/54297.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190673 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Sat, 25 Aug 2012 00:17:05 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190660 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Fri, 24 Aug 2012 00:17:31 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190635 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agocompiler: Comparisons return untyped boolean value.
ian [Thu, 23 Aug 2012 04:58:50 +0000 (04:58 +0000)]
compiler: Comparisons return untyped boolean value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190613 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agocompiler: Remove old handling of unsafe.Pointer in type assertions.
ian [Thu, 23 Aug 2012 00:21:50 +0000 (00:21 +0000)]
compiler: Remove old handling of unsafe.Pointer in type assertions.

Fixes issue 17.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190609 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Thu, 23 Aug 2012 00:18:16 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190606 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Wed, 22 Aug 2012 00:17:24 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190582 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/i386/morestack.S (__morestack_non_split): Increase amount
ian [Tue, 21 Aug 2012 20:51:32 +0000 (20:51 +0000)]
* config/i386/morestack.S (__morestack_non_split): Increase amount
of space allocated for non-split code stack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190573 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-08-21 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 21 Aug 2012 13:34:19 +0000 (13:34 +0000)]
2012-08-21  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2012-08-16  Richard Guenther  <rguenther@suse.de>

PR middle-end/54146
* tree-ssa-loop-niter.c (find_loop_niter_by_eval): Free the
exit vector.
* ipa-pure-const.c (analyze_function): Use FOR_EACH_LOOP_BREAK.
* cfgloop.h (FOR_EACH_LOOP_BREAK): Fix.
* tree-ssa-structalias.c (handle_lhs_call): Properly free rhsc.
* tree-ssa-loop-im.c (analyze_memory_references): Adjust.
(tree_ssa_lim_finalize): Free all mem_refs.
* tree-ssa-sccvn.c (extract_and_process_scc_for_name): Free
scc when bailing out.
* modulo-sched.c (sms_schedule): Use FOR_EACH_LOOP_BREAK.
* ira-build.c (loop_with_complex_edge_p): Free loop exit vector.
* graphite-sese-to-poly.c (scop_ivs_can_be_represented): Use
FOR_EACH_LOOP_BREAK.

2012-08-17  Richard Guenther  <rguenther@suse.de>

* tree-sra.c (modify_function): Free redirect_callers vector.
* ipa-split.c (split_function): Free args_to_pass vector.
* tree-vect-stmts.c (vectorizable_operation): Do not pre-allocate
vec_oprnds.
(new_stmt_vec_info): Do not pre-allocate STMT_VINFO_SAME_ALIGN_REFS.
* tree-vect-slp.c (vect_free_slp_instance): Free the instance.
(vect_analyze_slp_instance): Free everything.
(destroy_bb_vec_info): Free the SLP instances.

2012-08-17  Richard Guenther  <rguenther@suse.de>

* params.def (integer-share-limit): Decrease from 256 to 251,
add rationale.

2012-08-21  Richard Guenther  <rguenther@suse.de>

* tree-ssa-loop-im.c (tree_ssa_lim_finalize): Properly free
the affine expansion cache.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190562 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agomksysinfo: Fix syscall.F_GETLK and friends for 32-bit x86.
ian [Tue, 21 Aug 2012 05:29:43 +0000 (05:29 +0000)]
mksysinfo: Fix syscall.F_GETLK and friends for 32-bit x86.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190555 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Tue, 21 Aug 2012 00:17:44 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190551 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agogcc/
pmarlier [Mon, 20 Aug 2012 16:25:21 +0000 (16:25 +0000)]
gcc/
2012-08-20  Patrick Marlier  <patrick.marlier@gmail.com>

Backported from trunk
2012-08-20  Patrick Marlier  <patrick.marlier@gmail.com>

PR middle-end/53992
* omp-low.c (lower_omp_1): Handle GIMPLE_TRANSACTION.

testsuite/
2012-08-20  Patrick Marlier  <patrick.marlier@gmail.com>

Backported from trunk
2012-08-20  Patrick Marlier  <patrick.marlier@gmail.com>

PR middle-end/53992
* gcc.dg/gomp/pr53992.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190537 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoFix PR target/54212
ramana [Mon, 20 Aug 2012 10:18:36 +0000 (10:18 +0000)]
Fix PR target/54212

2012-08-20  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>

Backport from mainline.
2012-08-15  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>

PR target/54212
* config/arm/neon.md (vec_set<mode>_internal VD,VQ): Do not
mark as predicable. Adjust asm template.
(vec_setv2di_internal): Likewise.
(vec_extract<mode> VD, VQ): Likewise.
(vec_extractv2di): Likewise.
(neon_vget_lane<mode>_sext_internal VD, VQ): Likewise.
(neon_vset_lane<mode>_sext_internal VD, VQ): Likewise.
(neon_vdup_n<mode> VX, V32): Likewise.
(neon_vdup_nv2di): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190527 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Mon, 20 Aug 2012 00:17:23 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190520 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Sun, 19 Aug 2012 00:17:32 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190507 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDefine stubs for feedback instrumentation.
walt [Sat, 18 Aug 2012 03:28:23 +0000 (03:28 +0000)]
Define stubs for feedback instrumentation.
Backport from mainline
2012-08-17  Walter Lee  <walt@tilera.com>

* config/tilegx/feedback.h (FEEDBACK_ENTER_EXPLICIT): Define.
(FEEDBACK_ENTER): Define.
(FEEDBACK_REENTER): Define.
(FEEDBACK_ENTRY): Define.
* config/tilepro/feedback.h: (FEEDBACK_ENTER_EXPLICIT): Define.
(FEEDBACK_ENTER): Define.
(FEEDBACK_REENTER): Define.
(FEEDBACK_ENTRY): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190500 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Sat, 18 Aug 2012 00:17:49 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190497 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
dje [Fri, 17 Aug 2012 02:33:24 +0000 (02:33 +0000)]
    * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
        rs6000/t-slibgcc-aix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190466 138bc75d-0d04-0410-961f-82ee72b054a4