OSDN Git Service

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

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

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

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

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

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

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

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

9 years ago2012-08-02 Steve Ellcey <sellcey@mips.com>
sje [Thu, 2 Aug 2012 18:24:09 +0000 (18:24 +0000)]
2012-08-02  Steve Ellcey  <sellcey@mips.com>

Backport from Mainline
2012-07-19  Steve Ellcey  <sellcey@mips.com>

* config/mips/mips.c (mips_set_mips16_mode): Clear SYNCI_MASK in
MIPS16 mode.

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

9 years ago Backport from mainline
uros [Thu, 2 Aug 2012 16:24:25 +0000 (16:24 +0000)]
Backport from mainline
2012-07-24  Uros Bizjak  <ubizjak@gmail.com>

PR target/53961
* config/i386/i386.c (ix86_legitimate_address_p): Move check for
negative constant address for TARGET_X32 ...
(ix86_decompose_address): ... here.  Reject constant addresses
that don't satisfy x86_64_immediate_operand predicate.

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

PR target/53961
* config/i386/i386.md (*lea): Add asserts to detect invalid addresses.
* config/i386/i386.c (ix86_print_operand_address): Ditto.
(ix86_decompose_address): Allow (zero_extend:DI (subreg:SI (...)))
addresses.  Prevent zero extensions of CONST_INT operands.

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

PR target/53961
* config/i386/i386.md (*lea): New insn pattern.
(*lea_1): Remove.
(*lea<mode>_2): Ditto.
(*lea_{3,4,5,6}_zext): Ditto.
* config/i386/predicates.md (lea_address_operand): Do not reject
zero-extended address operands.
* config/i386/constraints.md (j): Remove address constraint.
* config/i386/i386.c (ix86_decompose_address): Allow SImode subreg
of an address.
(ix86_print_operand_address): Handle SImode subreg of an address.
(ix86_avoid_lea_for_addr): Reject zero-extended addresses for now.

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

9 years ago2012-08-02 Michael Hope <michael.hope@linaro.org>
michaelh [Thu, 2 Aug 2012 04:14:13 +0000 (04:14 +0000)]
2012-08-02  Michael Hope  <michael.hope@linaro.org>

Backport from mainline r186389:
2012-04-12  Andreas Schwab  <schwab@linux-m68k.org>

* testsuite/Makefile.am (check_DEJAGNUnormal0): Run
prettyprinters.exp.
* testsuite/Makefile.in: Regenerated.

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

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

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

9 years ago Backport from mainline
uros [Wed, 1 Aug 2012 19:14:59 +0000 (19:14 +0000)]
Backport from mainline
2012-03-09  Uros Bizjak  <ubizjak@gmail.com>

PR target/52530
* config/i386/i386.c (ix86_print_operand): Handle 'E' operand modifier.
(ix86_print_operand_address): Handle UNSPEC_LEA_ADDR. Do not fallback
to set code to 'q'.
* config/i386/i386.md (UNSPEC_LEA_ADDR): New unspec.
(*movdi_internal_rex64): Use %E operand modifier for lea.
(*movsi_internal): Ditto.
(*lea_1): Ditto.
(*lea<mode>_2): Ditto.
(*lea_{3,4,5,6}_zext): Ditto.
(*tls_global_dynamic_32_gnu): Ditto.
(*tls_global_dynamic_64): Ditto.
(*tls_dynamic_gnu2_lea_32): Ditto.
(*tls_dynamic_gnu2_lea_64): Ditto.
(pro_epilogue_adjust_stack_<mode>_add): Ditto.

testsuite/ChangeLog:

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

PR target/52530
* gcc.dg/torture/pr52530.c: New test.

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

9 years ago Backport from mainline
uros [Wed, 1 Aug 2012 17:03:34 +0000 (17:03 +0000)]
Backport from mainline
2012-08-01  Uros Bizjak  <ubizjak@gmail.com>

* config/i386/i386.c (ix86_address_subreg_operand): Reject
stack pointer.
(ix86_print_operand_address): Assert that parts.base and parts.index
are non-NULL after call to simplify_subreg.

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

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

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

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

9 years agoDaily bump.
gccadmin [Mon, 30 Jul 2012 00:17:06 +0000 (00:17 +0000)]
Daily bump.

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

9 years ago2012-07-29 François Dumont <fdumont@gcc.gnu.org>
fdumont [Sun, 29 Jul 2012 17:06:21 +0000 (17:06 +0000)]
2012-07-29  François Dumont  <fdumont@gcc.gnu.org>

PR libstdc++/54075
* include/bits/hashtable_policy.h
(_Prime_rehash_policy::_M_next_bkt): Add a growth factor set to 2
to boost growth in the number of buckets.
* testsuite/performance/23_containers/insert/unordered_set.cc: New.

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

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

9 years agoDaily bump.
gccadmin [Sat, 28 Jul 2012 00:18:14 +0000 (00:18 +0000)]
Daily bump.

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

9 years ago * gcc.dg/20020201-1.c: Remove declarations for exit, abort,
kyukhin [Fri, 27 Jul 2012 09:56:24 +0000 (09:56 +0000)]
    * gcc.dg/20020201-1.c: Remove declarations for exit, abort,
        rand, srand. Include <stdlib.h>.

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

9 years agoDaily bump.
gccadmin [Fri, 27 Jul 2012 00:18:04 +0000 (00:18 +0000)]
Daily bump.

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

9 years ago2012-07-26 François Dumont <fdumont@gcc.gnu.org>
fdumont [Thu, 26 Jul 2012 12:31:50 +0000 (12:31 +0000)]
2012-07-26  François Dumont  <fdumont@gcc.gnu.org>

PR libstdc++/54075
* include/bits/hashtable.h
(_Hashtable<>::_Hashtable(_InputIterator, _InputIterator,
size_type, ...): Remove std::max usage to guarantee that hashtable
state is consistent with hash policy state.
(_Hashtable<>::rehash): Likewise. Set _M_prev_resize to 0 to avoid
the hashtable shrinking on next insertion.
* testsuite/23_containers/unordered_set/modifiers/reserve.cc: New.
* testsuite/23_containers/unordered_multiset/modifiers/reserve.cc: New.
* testsuite/23_containers/unordered_map/modifiers/reserve.cc: New.
* testsuite/23_containers/unordered_multimap/modifiers/reserve.cc: New.

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

9 years agoruntime, runtime/pprof: Fix runtime/pprof test to pass, enable it.
ian [Thu, 26 Jul 2012 01:57:22 +0000 (01:57 +0000)]
runtime, runtime/pprof: Fix runtime/pprof test to pass, enable it.

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