OSDN Git Service

pf3gnuchains/gcc-fork.git
9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 years agoDaily bump.
gccadmin [Fri, 17 Aug 2012 00:17:45 +0000 (00:17 +0000)]
Daily bump.

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

9 years agoAdd a stub header file "feedback.h," needed to compile glibc and
walt [Thu, 16 Aug 2012 20:08:44 +0000 (20:08 +0000)]
Add a stub header file "feedback.h," needed to compile glibc and
linux.
       Backport from mainline
       2012-08-16  Walter Lee  <walt@tilera.com>

       * config.gcc (tilegx-*-linux*): Add feedback.h.
       (tilepro-*-linux*): Likewise.
       * config/tilegx/feedback.h: New file.
       * config/tilepro/feedback.h: New file.

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

9 years agoDaily bump.
gccadmin [Thu, 16 Aug 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@190425 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Wed, 15 Aug 2012 00:17:48 +0000 (00:17 +0000)]
Daily bump.

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

9 years ago Backport from mainline r189840 and r187586:
kyukhin [Tue, 14 Aug 2012 13:59:04 +0000 (13:59 +0000)]
    Backport from mainline r189840 and r187586:

        2012-07-25 Sergey Melnikov <sergey.melnikov@intel.com>

        * config/i386/i386.md (stack_protect_set): Disable the pattern
        for Android since Android libc (bionic) does not provide random
        value for stack protection guard at gs:0x14. Guard value
        will be provided from external symbol (default implementation).
        (stack_protect_set_<mode>): Likewise.
        (stack_protect_test): Likewise.
        (stack_protect_test_<mode>): Likewise.
        * gcc/defaults.h: Define macro TARGET_HAS_BIONIC to 0 - target does
        not have Bionic by default
        * config/linux.h: Redefine macro TARGET_HAS_BIONIC to (OPTION_BIONIC)
        Macro OPTION_BIONIC is defined in this file and provides Bionic
        accessibility status

        2012-05-16  Igor Zamyatin  <igor.zamyatin@intel.com>

        * configure.ac: Stack protector enabling for Android targets.
        * configure: Regenerate.

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

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

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

9 years ago2012-08-13 David Adler <d.adler.s@gmail.com>
redi [Mon, 13 Aug 2012 19:57:31 +0000 (19:57 +0000)]
2012-08-13  David Adler  <d.adler.s@gmail.com>

PR libstdc++/54185
* src/c++11/condition_variable.cc (condition_variable): Always
destroy native type in destructor.
* testsuite/30_threads/condition_variable/54185.cc: New.

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

9 years ago Backported from trunk
jakub [Mon, 13 Aug 2012 07:35:03 +0000 (07:35 +0000)]
Backported from trunk
2012-07-19  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/53942
* function.c (assign_parm_setup_reg): Avoid zero/sign extension
directly from likely spilled non-fixed hard registers, move them
to pseudo first.

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

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

9 years agoDaily bump.
gccadmin [Mon, 13 Aug 2012 00:17:09 +0000 (00:17 +0000)]
Daily bump.

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

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

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

9 years ago * config/i386/sse.md (xop_phaddbq): Fix vec_select selectors.
uros [Sat, 11 Aug 2012 13:08:16 +0000 (13:08 +0000)]
* config/i386/sse.md (xop_phaddbq):  Fix vec_select selectors.
(xop_phaddubq): Ditto.

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

9 years agocompiler: Reject type switch using non-interface type.
ian [Sat, 11 Aug 2012 04:09:31 +0000 (04:09 +0000)]
compiler: Reject type switch using non-interface type.

Fixes issue 16.

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

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

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

9 years agoChangeLog:
uweigand [Fri, 10 Aug 2012 13:21:31 +0000 (13:21 +0000)]
ChangeLog:

Backport from mainline
2012-07-30  Ulrich Weigand  <ulrich.weigand@linaro.org>
    Richard Earnshaw  <rearnsha@arm.com>

* target.def (vector_alignment): New target hook.
* doc/tm.texi.in (TARGET_VECTOR_ALIGNMENT): Document new hook.
* doc/tm.texi: Regenerate.
* targhooks.c (default_vector_alignment): New function.
* targhooks.h (default_vector_alignment): Add prototype.
* stor-layout.c (layout_type): Use targetm.vector_alignment.
* config/arm/arm.c (arm_vector_alignment): New function.
(TARGET_VECTOR_ALIGNMENT): Define.

* tree-vect-data-refs.c (vect_update_misalignment_for_peel): Use
vector type alignment instead of size.
* tree-vect-loop-manip.c (vect_do_peeling_for_loop_bound): Use
element type size directly instead of computing it from alignment.
Fix variable naming and comment.

testsuite/ChangeLog:

Backport from mainline
2012-07-30  Ulrich Weigand  <ulrich.weigand@linaro.org>

* lib/target-supports.exp
(check_effective_target_vect_natural_alignment): New function.
* gcc.dg/align-2.c: Only run on targets with natural alignment
of vector types.
* gcc.dg/vect/slp-25.c: Adjust tests for targets without natural
alignment of vector types.

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

9 years agoDaily bump.
gccadmin [Fri, 10 Aug 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@190276 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * config/alpha/alpha.c (alpha_pad_noreturn): Rename to ...
uros [Thu, 9 Aug 2012 18:44:40 +0000 (18:44 +0000)]
* config/alpha/alpha.c (alpha_pad_noreturn): Rename to ...
(alpha_pad_function_end): ... this.  Also insert NOP between
sibling call and GP load.
(alpha_reorg): Update call to alpha_pad_function_end.  Expand comment.

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

9 years agoDon't return identity for CONST or symbolic reference
hjl [Thu, 9 Aug 2012 15:33:28 +0000 (15:33 +0000)]
Don't return identity for CONST or symbolic reference

gcc/

2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>

Backport from mainline
2012-08-08  Richard Sandiford  <rdsandiford@googlemail.com>
    H.J. Lu  <hongjiu.lu@intel.com>

PR rtl-optimization/54157
* combine.c (gen_lowpart_for_combine): Don't return identity
for CONST or symbolic reference.

gcc/testsuite/

2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>

Backport from mainline
2012-08-08  H.J. Lu  <hongjiu.lu@intel.com>

PR rtl-optimization/54157
* gcc.target/i386/pr54157.c: New file.

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

9 years agoDaily bump.
gccadmin [Thu, 9 Aug 2012 00:17:42 +0000 (00:17 +0000)]
Daily bump.

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

9 years agoDaily bump.
gccadmin [Wed, 8 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@190218 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Tue, 7 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@190193 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2012-08-06 Peter Bergner <bergner@vnet.ibm.com>
paolo [Mon, 6 Aug 2012 18:00:00 +0000 (18:00 +0000)]
2012-08-06  Peter Bergner  <bergner@vnet.ibm.com>

PR libstdc++/54036
* include/decimal/decimal.h (_DEFINE_DECIMAL_UNARY_OP): Use _Op as
a unary operator.
* testsuite/decimal/pr54036-1.cc: New test.
* testsuite/decimal/pr54036-2.cc: Likewise.
* testsuite/decimal/pr54036-3.cc: Likewise.

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

9 years ago Backport from mainline
uros [Mon, 6 Aug 2012 16:28:42 +0000 (16:28 +0000)]
Backport from mainline
2012-07-23  Uros Bizjak  <ubizjak@gmail.com>

* config/i386/i386-protos.h (ix86_lea_outperforms): Remove prototype.
* config/i386/i386.c (ix86_lea_outperforms): Make static.  Make
split_cost argument signed.
(ix86_use_lea_for_mov): Use INVALID_REGNUM instead of -1.
(ix86_avoid_lea_for_addr): Ditto.

2012-07-27  Uros Bizjak  <ubizjak@gmail.com>

* config/i386/i386.c (ix86_avoid_lea_for_addr): Return false if
the address has less than two components.

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

9 years agoRevert delta 190174
nickc [Mon, 6 Aug 2012 14:34:27 +0000 (14:34 +0000)]
Revert delta 190174

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

9 years agoLatest updates from FSF 4.7 branch
nickc [Mon, 6 Aug 2012 09:24:36 +0000 (09:24 +0000)]
Latest updates from FSF 4.7 branch

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