OSDN Git Service

pf3gnuchains/gcc-fork.git
11 years ago PR go/52358
ian [Fri, 27 Apr 2012 16:38:31 +0000 (16:38 +0000)]
PR go/52358
configure, runtime: Provide i386 long double math functions if needed.

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

11 years ago PR go/52358
ian [Fri, 27 Apr 2012 16:33:01 +0000 (16:33 +0000)]
PR go/52358
math: Work around bug in Solaris 9 implementation of ldexp.

The bug is that ldexp(-1, -1075) should return -0, but the
Solaris 9 implementation returns +0.

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

11 years agoruntime: Correct syscall.Setenv for systems that don't have setenv.
ian [Fri, 27 Apr 2012 16:28:43 +0000 (16:28 +0000)]
runtime: Correct syscall.Setenv for systems that don't have setenv.

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

11 years agofix typo
gjl [Fri, 27 Apr 2012 11:00:44 +0000 (11:00 +0000)]
fix typo

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

11 years ago PR c/51527
gjl [Fri, 27 Apr 2012 10:51:58 +0000 (10:51 +0000)]
PR c/51527
* convert.c (convert_to_integer): Avoid infinte recursion for
target-defined built-in types.

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

11 years agoDaily bump.
gccadmin [Fri, 27 Apr 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@186891 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agomksysinfo, net: Always define syscall.SO_REUSEPORT.
ian [Thu, 26 Apr 2012 04:26:17 +0000 (04:26 +0000)]
mksysinfo, net: Always define syscall.SO_REUSEPORT.

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

11 years agoDaily bump.
gccadmin [Thu, 26 Apr 2012 00:18:05 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago PR target/53120
hp [Wed, 25 Apr 2012 23:24:48 +0000 (23:24 +0000)]
PR target/53120
* gcc.dg/torture/pr53120.c: New test.

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

11 years ago PR target/53120
hp [Wed, 25 Apr 2012 23:23:34 +0000 (23:23 +0000)]
PR target/53120
* config/cris/cris.md ("*andhi_lowpart_v32")
("*andqi_lowpart_v32"): Change first input-only operand from
a (match_operand ...) to (match_dup 0).  Drop alternatives with
const_int-matching constraints for redundancy.
("*andhi_lowpart_non_v32", "*andqi_lowpart_non_v32"): Ditto.  Drop
three-operand alternative.

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

11 years ago Backport from mainline
uros [Wed, 25 Apr 2012 22:10:17 +0000 (22:10 +0000)]
Backport from mainline
2012-04-23  Uros Bizjak  <ubizjak@gmail.com>

* config/i386/i386.md (*add<mode>_2): Add r/r/0 alternative.
(*addsi_2_zext): Ditto.
(*add<mode>_3): Ditto.
(*addsi_3_zext): Ditto.
(*add<mode>_5): Ditto.

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

11 years ago * include/std/scoped_allocator (scoped_allocator::__outermost): Do
redi [Wed, 25 Apr 2012 21:53:20 +0000 (21:53 +0000)]
* include/std/scoped_allocator (scoped_allocator::__outermost): Do
not pass non-POD to varargs function.
* testsuite/20_util/scoped_allocator/1.cc: Fix test.

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

11 years ago2012-04-23 Andrew Haley <aph@redhat.com>
aph [Wed, 25 Apr 2012 10:18:38 +0000 (10:18 +0000)]
2012-04-23  Andrew Haley  <aph@redhat.com>

* defineclass.cc (MAJOR_1_7,  MINOR_1_7): New.
(parse): Allow MAJOR_1_7 classfile version.

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

11 years ago PR c/52880
jakub [Wed, 25 Apr 2012 09:18:49 +0000 (09:18 +0000)]
PR c/52880
* c-typeck.c (set_nonincremental_init,
set_nonincremental_init_from_string): Pass true instead of false
as IMPLICIT to add_pending_init.

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

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

11 years ago PR go/52341
ian [Wed, 25 Apr 2012 04:41:13 +0000 (04:41 +0000)]
PR go/52341

crypto/rand: Use io.ReadFull when reading from /dev/urandom.

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

11 years ago PR go/52583
ian [Wed, 25 Apr 2012 04:26:31 +0000 (04:26 +0000)]
PR go/52583

net: Solaris fixes.

In particular fix fd_select.go to handle the case where a file
descriptor is closed by one goroutine while another goroutine
is waiting for it.

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

11 years agoDaily bump.
gccadmin [Wed, 25 Apr 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@186792 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * vi.po: Update.
jsm28 [Tue, 24 Apr 2012 22:16:46 +0000 (22:16 +0000)]
* vi.po: Update.

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

11 years ago * sv.po: Update.
jsm28 [Tue, 24 Apr 2012 22:15:15 +0000 (22:15 +0000)]
* sv.po: Update.

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

11 years agogotest: Remove race in use of ../testdata.
ian [Tue, 24 Apr 2012 20:13:22 +0000 (20:13 +0000)]
gotest: Remove race in use of ../testdata.

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

11 years agomksysinfo: Only define PathMax if PATH_MAX is defined.
ian [Tue, 24 Apr 2012 19:12:38 +0000 (19:12 +0000)]
mksysinfo: Only define PathMax if PATH_MAX is defined.

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

11 years ago PR testsuite/52641
gjl [Tue, 24 Apr 2012 17:08:20 +0000 (17:08 +0000)]
PR testsuite/52641
PR tree-optimizations/52891
* gcc.c-torture/compile/pr52891-2.c: Fix test for 16-bit int.

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

11 years agocompiler: Fix order of evalation for m[0] = len(m) when m is a map.
ian [Tue, 24 Apr 2012 16:25:06 +0000 (16:25 +0000)]
compiler: Fix order of evalation for m[0] = len(m) when m is a map.

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

11 years ago Backport from 2012-04-24 mainline r186768.
gjl [Tue, 24 Apr 2012 15:23:46 +0000 (15:23 +0000)]
Backport from 2012-04-24 mainline r186768.
PR target/53065
* config/avr/avr.h (HARD_REGNO_CALL_PART_CLOBBERED): New hook define.

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

11 years agocompiler: Reject invalid composite literals.
ian [Tue, 24 Apr 2012 14:54:32 +0000 (14:54 +0000)]
compiler: Reject invalid composite literals.

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

11 years ago2012-04-24 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 24 Apr 2012 14:42:53 +0000 (14:42 +0000)]
2012-04-24  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/53085
* tree-ssa-pre.c (eliminate): Do not eliminate volatile redundant
stores.

* g++.dg/torture/pr53085.C: New testcase.

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

11 years ago PR middle-end/53084
jakub [Tue, 24 Apr 2012 06:10:53 +0000 (06:10 +0000)]
PR middle-end/53084
* varasm.c (compute_reloc_for_constant): Handle ADDR_EXPR
of MEM_REF.
(output_addressed_constants): Likewise.

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

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

11 years ago PR middle-end/52999
jakub [Tue, 24 Apr 2012 06:08:55 +0000 (06:08 +0000)]
PR middle-end/52999
* varasm.c (get_section): Don't ICE for section conflicts with
built-in section kinds.

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

11 years agocompiler: Error for invalid use of ... in call.
ian [Tue, 24 Apr 2012 05:55:42 +0000 (05:55 +0000)]
compiler: Error for invalid use of ... in call.

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

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

11 years ago * go-lang.c (go_langhook_init): Set MPFR precision to 256.
ian [Mon, 23 Apr 2012 21:39:25 +0000 (21:39 +0000)]
* go-lang.c (go_langhook_init): Set MPFR precision to 256.

time: Adjust float expression so that it first integer context.

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

11 years agocompiler: Correct handling of negative zero floating constant.
ian [Mon, 23 Apr 2012 20:49:47 +0000 (20:49 +0000)]
compiler: Correct handling of negative zero floating constant.

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

11 years ago * config/rs6000/sync.md (fetchop_name): Change ior attribute to "or".
dje [Mon, 23 Apr 2012 17:12:55 +0000 (17:12 +0000)]
    * config/rs6000/sync.md (fetchop_name): Change ior attribute to "or".

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

11 years agolibgo: Make sure log/syslog subdirectory exists before using it.
ian [Mon, 23 Apr 2012 17:03:11 +0000 (17:03 +0000)]
libgo: Make sure log/syslog subdirectory exists before using it.

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

11 years ago2012-04-23 Chris Jefferson <chris@bubblescope.net>
paolo [Mon, 23 Apr 2012 15:24:44 +0000 (15:24 +0000)]
2012-04-23  Chris Jefferson  <chris@bubblescope.net>

PR testsuite/53046
* testsuite/25_algorithms/stable_partition/mem_check.cc: Fix size
of array A.
* testsuite/25_algorithms/stable_sort/mem_check.cc: Likewise.

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

11 years ago * doc/extend.texi (AVR Named Address Spaces): Fix typos.
gjl [Mon, 23 Apr 2012 10:25:52 +0000 (10:25 +0000)]
* doc/extend.texi (AVR Named Address Spaces): Fix typos.

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

11 years ago2012-04-23 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 23 Apr 2012 10:24:14 +0000 (10:24 +0000)]
2012-04-23  Richard Guenther  <rguenther@suse.de>

PR c/53060
* c-typeck.c (build_binary_op): Fix typo.

* gcc.dg/pr53060.c: New testcase.

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

11 years ago PR tree-optimizations/52891
jakub [Mon, 23 Apr 2012 10:16:57 +0000 (10:16 +0000)]
PR tree-optimizations/52891
* tree-vect-patterns.c (adjust_bool_pattern): Use
build_nonstandard_type even if rhs1 has unsigned INTEGER_TYPE,
but with non-standard precision.

* gcc.c-torture/compile/pr52891-1.c: New test.
* gcc.c-torture/compile/pr52891-2.c: New test.

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

11 years agoDaily bump.
gccadmin [Mon, 23 Apr 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@186691 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agomksysinfo: More fixes to emulate master Go library.
ian [Sun, 22 Apr 2012 20:07:35 +0000 (20:07 +0000)]
mksysinfo: More fixes to emulate master Go library.

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

11 years agomksysinfo: Define more structs.
ian [Sun, 22 Apr 2012 19:26:15 +0000 (19:26 +0000)]
mksysinfo: Define more structs.

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

11 years ago * godump.c (go_output_typedef): Dump size of structs.
ian [Sun, 22 Apr 2012 18:53:47 +0000 (18:53 +0000)]
* godump.c (go_output_typedef): Dump size of structs.

mksysinfo, syscall: Change Sizeof names from var to const.

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

11 years ago2012-04-22 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 22 Apr 2012 17:38:11 +0000 (17:38 +0000)]
2012-04-22  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/53067
* include/bits/hashtable_policy.h: Change inheritances to public.
* testsuite/23_containers/unordered_map/requirements/53067.cc: New.
* testsuite/23_containers/unordered_set/requirements/53067.cc: Likewise.

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

11 years ago PR libstdc++/53027
redi [Sun, 22 Apr 2012 14:14:15 +0000 (14:14 +0000)]
PR libstdc++/53027
* include/bits/ptr_traits.h (pointer_traits::rebind): Make public.
* testsuite/20_util/pointer_traits/requirements/typedefs.cc: Check
rebind works.

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

11 years agoDaily bump.
gccadmin [Sun, 22 Apr 2012 00:18:09 +0000 (00:18 +0000)]
Daily bump.

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

11 years agosyscall: Additional constants, some type corrections.
ian [Sat, 21 Apr 2012 18:50:13 +0000 (18:50 +0000)]
syscall: Additional constants, some type corrections.

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

11 years ago PR libstdc++/52839
amodra [Sat, 21 Apr 2012 13:28:53 +0000 (13:28 +0000)]
PR libstdc++/52839
missed from last delta

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

11 years ago PR libstdc++/52839
amodra [Sat, 21 Apr 2012 13:27:44 +0000 (13:27 +0000)]
PR libstdc++/52839
* acinclude.m4 (_GLIBCXX_ATOMIC_BUILTINS): Do not depend on
glibcxx_cv_atomic_long_long.
* configure: Regenerate.

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

11 years agoDaily bump.
gccadmin [Sat, 21 Apr 2012 00:18:30 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago * go.test/go-test.exp (go-set-goarch): Recognize powerpc*-*-*.
ian [Fri, 20 Apr 2012 20:19:16 +0000 (20:19 +0000)]
* go.test/go-test.exp (go-set-goarch): Recognize powerpc*-*-*.
(go-gc-tests): Skip nilptr.go on powerpc*-*-*.

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

11 years agonet, syscall: Use native endianness for GNU/Linux netlink code.
ian [Fri, 20 Apr 2012 20:11:45 +0000 (20:11 +0000)]
net, syscall: Use native endianness for GNU/Linux netlink code.

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

11 years agocompiler, runtime: Add explicit checks for zero and overflow division.
ian [Fri, 20 Apr 2012 19:22:40 +0000 (19:22 +0000)]
compiler, runtime: Add explicit checks for zero and overflow division.

* lang.opt: Add -fgo-check-divide-zero and
-fgo-check-divide-overflow.
* gccgo.texi (Invoking gccgo): Document new options.

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

11 years agonet/http: Ignore sigaltstack when running strace in test.
ian [Fri, 20 Apr 2012 18:51:53 +0000 (18:51 +0000)]
net/http: Ignore sigaltstack when running strace in test.

Avoids bug in strace 4.5.20 on powerpc-unknown-linux-gnu.

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

11 years agodebug/dwarf: Fix address lookups for different types of lines.
ian [Fri, 20 Apr 2012 18:44:26 +0000 (18:44 +0000)]
debug/dwarf: Fix address lookups for different types of lines.

This fixes the lookup when, e.g., discriminators force adding
new line arrays.

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

11 years agoruntime: Disable memory profiling in gc_test.
ian [Fri, 20 Apr 2012 18:40:29 +0000 (18:40 +0000)]
runtime: Disable memory profiling in gc_test.

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

11 years ago * config/arm/arm.c (arm_print_operand): Fix invalid alignment
uweigand [Fri, 20 Apr 2012 16:53:57 +0000 (16:53 +0000)]
* config/arm/arm.c (arm_print_operand): Fix invalid alignment
hints for 'A' operand types.

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

11 years ago struct siginfo vs. siginfo_t
tschwinge [Fri, 20 Apr 2012 07:51:30 +0000 (07:51 +0000)]
struct siginfo vs. siginfo_t

Backport from trunk:

libgcc/
2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>

* config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
siginfo_t instead of struct siginfo.
* config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
* config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
* config/ia64/linux-unwind.h (ia64_fallback_frame_state)
(ia64_handle_unwabi): Likewise.
* config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
* config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
* config/sh/linux-unwind.h (shmedia_fallback_frame_state)
(sh_fallback_frame_state): Likewise.
* config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
* config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.

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

11 years agoruntime: Ignore stack sizes when deciding when to GC.
ian [Fri, 20 Apr 2012 04:58:41 +0000 (04:58 +0000)]
runtime: Ignore stack sizes when deciding when to GC.

Also allocate heap bitmaps bit in page size units and clear
context when putting G structures on free list.

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

11 years agogotest: Don't get confused by data tables named Test on PPC.
ian [Fri, 20 Apr 2012 04:49:37 +0000 (04:49 +0000)]
gotest: Don't get confused by data tables named Test on PPC.

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

11 years agoDaily bump.
gccadmin [Fri, 20 Apr 2012 00:19:09 +0000 (00:19 +0000)]
Daily bump.

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

12 years ago Backport from 2012-04-19 mainline r186588.
gjl [Thu, 19 Apr 2012 11:33:01 +0000 (11:33 +0000)]
Backport from 2012-04-19 mainline r186588.
PR target/53033
* config/avr/avr.c (avr_out_load_psi): Fix assembler template for
the case *(X+const).

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

12 years agoDaily bump.
gccadmin [Thu, 19 Apr 2012 00:18:19 +0000 (00:18 +0000)]
Daily bump.

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

12 years ago * config/alpha/sync.md (fetchop_name): Change ior attribute to "or".
uros [Wed, 18 Apr 2012 15:08:55 +0000 (15:08 +0000)]
* config/alpha/sync.md (fetchop_name): Change ior attribute to "or".

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

12 years agoDaily bump.
gccadmin [Wed, 18 Apr 2012 00:18:48 +0000 (00:18 +0000)]
Daily bump.

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

12 years ago/cp
paolo [Tue, 17 Apr 2012 17:45:25 +0000 (17:45 +0000)]
/cp
2012-04-17  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53003
* parser.c (cp_parser_member_declaration): Check that
initializer_token_start is non null before dereferencing it.

/testsuite
2012-04-17  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53003
* g++.dg/parse/crash59.C: New.

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

12 years ago PR target/53020
uros [Tue, 17 Apr 2012 17:39:06 +0000 (17:39 +0000)]
PR target/53020
* config/i386/sync.md (atomic_<code><mode>): Rename to
atomic_<logic><mode>.

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

12 years ago PR c++/38543
jason [Tue, 17 Apr 2012 14:11:34 +0000 (14:11 +0000)]
PR c++/38543
* pt.c (determine_specialization): Instead of comparing the number
of parms, check that tsubst gives the right answer.

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

12 years ago PR c++/50830
jason [Tue, 17 Apr 2012 14:11:13 +0000 (14:11 +0000)]
PR c++/50830
* pt.c (convert_template_argument): Handle template template
argument packs.

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

12 years ago PR c++/50303
jason [Tue, 17 Apr 2012 14:10:54 +0000 (14:10 +0000)]
PR c++/50303
* pt.c (tsubst_pack_expansion): Use tsubst_expr for template
template parameters.

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

12 years ago2012-04-16 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
bkoz [Tue, 17 Apr 2012 00:19:12 +0000 (00:19 +0000)]
2012-04-16  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>

PR bootstrap/52840
* src/Makefile.am (build-debug): Do not adjust vpath dir, remove
Makefile.tmp
* src/Makefile.in: Adjust as per above.

2012-04-16  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/52689
* libsupc++/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
* libsupc++/Makefile.in: Regenerated.
* src/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
(libstdc___la_SOURCES): Add in compatiblity files, with content
that varies with -DPIC.
* src/Makefile.in: Regenerated.
* src/c++11/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
* src/c++11/Makefile.in: Regenerated.
* src/c++11/compatibility-atomic-c++0x.cc: Guard with PIC.
* src/c++11/compatibility-c++0x.cc: Same.
* src/c++11/future.cc: Consolidate compatibility bits into..
* src/c++11/mutex.cc: Consolidate compatibility bits into..
* src/c++11/compatibility-thread-cxx0x.cc: ...here. New.
* src/c++98/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
* src/c++98/Makefile.in: Regenerated.
* src/c++98/compatibility-list-2.cc: Guard with PIC.
* src/c++98/compatibility.cc: Tweak comments.

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

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

12 years agocompiler: fix infinite recursion in string constant evaluation.
ian [Mon, 16 Apr 2012 23:06:08 +0000 (23:06 +0000)]
compiler: fix infinite recursion in string constant evaluation.

Fixes compilation of incorrect code:
    const f, g = g, f
    func S() []byte { return []byte(f) }

The problem was already handled for numerical constants.

Part of issue 3186 (go).

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

12 years ago2012-04-16 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 16 Apr 2012 22:43:10 +0000 (22:43 +0000)]
2012-04-16  Benjamin Kosnik  <bkoz@redhat.com>

    * include/ext/pb_ds/detail/pat_trie_/
    constructors_destructor_fn_imps.hpp: Increment after recursion.
    * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: Convert
    node_type markup from brief.

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

12 years ago2012-04-16 Uros Bizjak <ubizjak@gmail.com>
uros [Mon, 16 Apr 2012 16:03:51 +0000 (16:03 +0000)]
2012-04-16  Uros Bizjak  <ubizjak@gmail.com>

Backport from mainline
2012-04-12  Uros Bizjak  <ubizjak@gmail.com>

PR target/52932
* config/i386/avx2intrin.h (_mm256_permutevar8x32_ps): Change second
argument type to __m256i.  Update call to __builtin_ia32_permvarsf256.
* config/i386/sse.md (avx2_permvarv8sf): Change operand 1 to V8SI.
(avx2_permvarv8sf, avx2_permvarv8si): Switch operands 1 and 2.
* config/i386/i386.c (bdesc_args) <__builtin_ia32_permvarsf256>:
Update builtin type to V8SF_FTYPE_V8SF_V8SI.
(ix86_expand_vec_perm): Update calls to gen_avx2_permvarv8si and
gen_avx2_permvarv8sf.

testsuite/ChangeLog:

2012-04-16  Uros Bizjak  <ubizjak@gmail.com>

Backport from mainline
2012-04-12  Uros Bizjak  <ubizjak@gmail.com>

PR target/52932
* gcc.target/i386/avx2-vpermps-1.c (avx2_test): Use __m256i type for
second function argument.
* gcc.target/i386/avx2-vpermps-2.c (init_permps): Update declaration.
(calc_permps): Update declaration.  Calculate result correctly.
(avx2_test): Change src2 type to union256i_d.
* gcc.target/i386/avx2-vpermd-2.c (calc_permd): Calculate result
correctly.

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

12 years ago2012-04-16 Martin Jambor <mjambor@suse.cz>
jamborm [Mon, 16 Apr 2012 10:02:04 +0000 (10:02 +0000)]
2012-04-16  Martin Jambor  <mjambor@suse.cz>

PR middle-end/52939
* gimple-fold.c (gimple_get_virt_method_for_binfo): Bail out if
fold_ctor_reference returns a zero constant.

* testsuite/g++.dg/ipa/pr52939.C: New test.

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

12 years ago PR c++/52292
jason [Mon, 16 Apr 2012 03:40:34 +0000 (03:40 +0000)]
PR c++/52292
PR c++/52380
* pt.c (coerce_template_parms): Even if we aren't converting we
want to expand argument packs.

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

12 years agoDaily bump.
gccadmin [Mon, 16 Apr 2012 00:18:11 +0000 (00:18 +0000)]
Daily bump.

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

12 years ago2012-04-15 Fabien Chêne <fabien@gcc.gnu.org>
fabien [Sun, 15 Apr 2012 20:22:44 +0000 (20:22 +0000)]
2012-04-15  Fabien Chêne  <fabien@gcc.gnu.org>

    PR c++/52465
    * g++.dg/lookup/using52.C: New.

gcc/cp/ChangeLog

2012-04-15  Fabien Chêne  <fabien@gcc.gnu.org>

    PR c++/52465
    * parser.c (cp_parser_class_name): Call strip_using_decl and
    return the target decl.
    * name-lookup.c (strip_using_decl): Returns NULL_TREE if the decl
    to be stripped is NULL_TREE.
    (qualify_lookup): Call strip_using_decl and perform some checks on
    the target decl.

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

12 years ago2012-04-14 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 15 Apr 2012 02:14:39 +0000 (02:14 +0000)]
2012-04-14  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/52699
* include/bits/random.tcc (independent_bits_engine<>::operator()())
Avoid various overflows; use common_type on result_type and
_RandomNumberEngine::result_type; avoid floating point computations;
other smaller tweaks.

* include/bits/random.tcc (uniform_int_distribution<>::operator())
Use common_type; assume _UniformRandomNumberGenerator::result_type
unsigned; tidy.

* include/bits/stl_algobase.h (__lg(unsigned), __lg(unsigned long),
__lg(unsigned long long)): Add.

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

12 years agoDaily bump.
gccadmin [Sun, 15 Apr 2012 00:18:03 +0000 (00:18 +0000)]
Daily bump.

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

12 years agoDaily bump.
gccadmin [Sat, 14 Apr 2012 00:20:03 +0000 (00:20 +0000)]
Daily bump.

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

12 years ago PR c++/52824
jason [Fri, 13 Apr 2012 19:44:27 +0000 (19:44 +0000)]
PR c++/52824
* pt.c (any_pack_expanson_args_p): New.
(coerce_template_parms): Use it.

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

12 years ago PR c++/52906
jason [Fri, 13 Apr 2012 19:44:15 +0000 (19:44 +0000)]
PR c++/52906
* decl.c (check_tag_decl): Don't complain about attributes if we
don't even have a type.

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

12 years agoDefine _ILP32 and __ILP32__ for x32
hjl [Fri, 13 Apr 2012 18:22:54 +0000 (18:22 +0000)]
Define _ILP32 and __ILP32__ for x32

Backported from mainline
* config/i386/i386-c.c (ix86_target_macros): Define _ILP32
and __ILP32__ for x32.

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

12 years ago2012-04-13 Tom de Vries <tom@codesourcery.com>
vries [Fri, 13 Apr 2012 16:45:16 +0000 (16:45 +0000)]
2012-04-13  Tom de Vries  <tom@codesourcery.com>

Backport from mainline r186419.

2012-04-13  Tom de Vries  <tom@codesourcery.com>

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

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

12 years ago2012-04-13 Tom de Vries <tom@codesourcery.com>
vries [Fri, 13 Apr 2012 16:44:18 +0000 (16:44 +0000)]
2012-04-13  Tom de Vries  <tom@codesourcery.com>

Backport from mainline r186418.

2012-04-13  Tom de Vries  <tom@codesourcery.com>

* tree-ssa-tail-merge.c (gsi_advance_bw_nondebug_nonlocal): Add
parameters vuse and vuse_escaped.
(find_duplicate): Init vuse1, vuse2 and vuse_escaped.  Pass to
gsi_advance_bw_nondebug_nonlocal.  Return if vuse_escaped and
vuse1 != vuse2.

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

12 years ago2012-04-13 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 13 Apr 2012 12:27:02 +0000 (12:27 +0000)]
2012-04-13  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/52969
* tree-if-conv.c (predicate_mem_writes): Properly gimplify
the condition for the COND_EXPR and handle predicate negation
by swapping the COND_EXPR arms.

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

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

12 years ago2012-04-13 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 13 Apr 2012 10:49:16 +0000 (10:49 +0000)]
2012-04-13  Paolo Carlini  <paolo.carlini@oracle.com>

* include/debug/safe_iterator.h (_BeforeBeginHelper<>::
_S_Is_Beginnest): Add.
* include/debug/forward_list (_BeforeBeginHelper<>::
_S_Is_Beginnest): Likewise.
(_Safe_iterator<>::_M_is_beginnest): Add.
* include/debug/safe_iterator.tcc (_Safe_iterator<>::_M_valid_range):
Use the latter.
* testsuite/23_containers/forward_list/debug/splice_after.cc:
Add test.

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

12 years ago2012-04-13 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 13 Apr 2012 09:26:45 +0000 (09:26 +0000)]
2012-04-13  Richard Guenther  <rguenther@suse.de>

PR c/52862
* convert.c (convert_to_pointer): Remove special-casing of
zero.

* gcc.dg/pr52862.c: New testcase.

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

12 years ago2012-04-12 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 13 Apr 2012 01:34:57 +0000 (01:34 +0000)]
2012-04-12  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/forward_list.h (splice_after(const_iterator,
forward_list&), splice_after(const_iterator, forward_list&,
consst_iterator), splice_after(const_iterator, forward_list&,
const_iterator, const_iterator), merge(forward_list&),
merge(forward_list&, _Comp)): Add per C++11 as published (and
LWG 1310).
* include/debug/forward_list: Adjust.

* include/bits/forward_list.h (splice_after(const_iterator,
forward_list&&, const_iterator)): Only declare.
(_M_transfer_after): Remove.
(_M_splice_after(const_iterator, forward_list&&)): Change signature.
(splice_after(const_iterator, forward_list&&, const_iterator,
const_iterator)): Use the latter.
* include/bits/forward_list.tcc (splice_after(const_iterator,
forward_list&&, const_iterator)): Define here.
(_M_splice_after): Define, use throughout.

* include/bits/forward_list.h (insert_after(const_iterator,
std::initializer_list<_Tp>)): Forward to insert_after(const_iterator,
_InputIterator, _InputIterator).
* include/bits/forward_list.tcc: Remove definition.

* testsuite/23_containers/forward_list/modifiers/6.cc: New.
* testsuite/23_containers/forward_list/operations/1.cc: Adjust.

* testsuite/23_containers/forward_list/requirements/dr438/
assign_neg.cc: Adjust dg-error line number.
* testsuite/23_containers/forward_list/requirements/dr438/
insert_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_2_neg.cc: Likewise.

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

12 years agoDaily bump.
gccadmin [Fri, 13 Apr 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@186401 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoFix PR52822 (stable_partition move-assigns object to itself) by
jyasskin [Thu, 12 Apr 2012 21:41:55 +0000 (21:41 +0000)]
Fix PR52822 (stable_partition move-assigns object to itself) by
scanning for the first value that doesn't match the predicate before
starting to rearrange values.

2012-04-03   Jeffrey Yasskin  <jyasskin@google.com>

PR libstdc++/52822
* include/bits/stl_algo.h (__find_if_not): Expose in
C++98 mode.
(__find_if_not_n): Like __find_if_not, but works on and updates a
counted range instead of a bounded range.
(stable_partition): Guarantee !__pred(*__first) in call to
__stable_partition_adaptive() or __inplace_stable_partition().
(__stable_partition_adaptive): Use new precondition to avoid
moving/copying objects onto themselves.  Guarantee new
precondition to recursive calls.
(__inplace_stable_partition): Use new precondition to simplify
base case, remove __last parameter.  Guarantee new precondition to
recursive calls.
* testsuite/25_algorithms/stable_partition/moveable.cc (test02):
Test a sequence that starts with a value matching the predicate.
* testsuite/25_algorithms/stable_partition/pr52822.cc:
Test vectors, which have a destructive self-move-assignment.

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

12 years ago[gcc]
meissner [Thu, 12 Apr 2012 21:00:07 +0000 (21:00 +0000)]
[gcc]
2012-04-12  Michael Meissner  <meissner@linux.vnet.ibm.com>

Backport from mainline
2012-04-12  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/52775
* config/rs6000/rs6000.h (TARGET_FCFID): Add TARGET_PPC_GPOPT to
the list of options to enable the FCFID instruction.
(TARGET_EXTRA_BUILTINS): Adjust comment.

[gcc/testsuite]
012-04-12  Michael Meissner  <meissner@linux.vnet.ibm.com>

Backport from mainline
2012-04-12  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/52775
* gcc.target/powerpc/pr52775.c: New file.

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

12 years ago2012-04-12 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 12 Apr 2012 12:50:22 +0000 (12:50 +0000)]
2012-04-12  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/52943
* tree-chrec.h (chrec_is_positive): Remove.
* tree-scalar-evolution.c (chrec_is_positive): Move ...
* tree-data-ref.c (chrec_is_positive): ... here.  Make static.
Return false for a constant zero instead of negative.
(analyze_siv_subscript_cst_affine): Handle zero difference
in the initial condition explicitely.

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

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

12 years ago2012-04-12 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 12 Apr 2012 12:18:23 +0000 (12:18 +0000)]
2012-04-12  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/52942
* include/bits/stl_function.h (_Identity, _Select1st, _Select2nd):
In C++11 mode do not derive from std::unary_function.
* include/ext/functional (identity, select1st, select2nd): Adjust.
* testsuite/23_containers/unordered_map/requirements/52942.cc: New.
* testsuite/23_containers/unordered_set/requirements/52942.cc: Likewise.

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

12 years agoDaily bump.
gccadmin [Thu, 12 Apr 2012 00:19:03 +0000 (00:19 +0000)]
Daily bump.

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

12 years ago PR libstdc++/52924
redi [Wed, 11 Apr 2012 23:13:44 +0000 (23:13 +0000)]
PR libstdc++/52924
* include/bits/shared_ptr_base.h (_Sp_counted_deleter): Add
user-defined destructor.
(_Sp_counted_inplace): Likewise.
* testsuite/20_util/shared_ptr/cons/52924.cc: New.
* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error
line numbers.

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

12 years ago * testsuite/performance/30_threads/future/polling.cc: Adjust.
redi [Wed, 11 Apr 2012 21:47:44 +0000 (21:47 +0000)]
* testsuite/performance/30_threads/future/polling.cc: Adjust.

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

12 years ago PR libstdc++/52591
redi [Wed, 11 Apr 2012 21:13:45 +0000 (21:13 +0000)]
PR libstdc++/52591
* include/bits/stl_vector.h (vector::operator=(vector&&)): Dispatch
to _M_move_assign depending on whether allocator is moved.
(vector::_M_move_assign): Add overloaded functions.
* testsuite/23_containers/vector/52591.cc: New.
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
Adjust dg-error line number.
* testsuite/23_containers/vector/requirements/dr438/
        constructor_1_neg.cc: Likewise.
* testsuite/23_containers/vector/requirements/dr438/
        constructor_2_neg.cc: Likewise.
* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
Likewise.

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

12 years agoDaily bump.
gccadmin [Wed, 11 Apr 2012 00:18:25 +0000 (00:18 +0000)]
Daily bump.

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