OSDN Git Service

pf3gnuchains/gcc-fork.git
11 years ago[gcc]
meissner [Fri, 4 May 2012 00:28:17 +0000 (00:28 +0000)]
[gcc]
2012-05-03  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/53199
* config/rs6000/rs6000.md (bswapdi splitters): If
-mavoid-indexed-addresses (or -mcpu=power6 which sets it by
default) is used, generate an alternate sequence that does not
depend on using indexed addressing.

[gcc/testsuite]
2012-05-03  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/53199
* gcc.target/powwerpc/pr53199.c: New file.

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

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

11 years agoFix long double float miscompilations on sparc 64-bit.
davem [Thu, 3 May 2012 22:34:34 +0000 (22:34 +0000)]
Fix long double float miscompilations on sparc 64-bit.

PR target/52684
* config/sparc/sparc.c (emit_soft_tfmode_libcall): If we pass a
MEM directly into a libcall, mark it's MEM_EXPR as addressable.
(sparc_emit_float_lib_cmp): Likewise.

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

11 years agocompiler: Build import tables as needed for imported interfaces.
ian [Thu, 3 May 2012 17:42:14 +0000 (17:42 +0000)]
compiler: Build import tables as needed for imported interfaces.

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

11 years ago2012-05-03 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 3 May 2012 17:00:32 +0000 (17:00 +0000)]
2012-05-03  Martin Jambor  <mjambor@suse.cz>

PR lto/52605
* dwarf2out.c (dwarf2out_decl): Only lookup die representing context
of a variable when the contect is a function.

* gcc/testsuite/g++.dg/lto/pr52605_0.C: New test.

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

11 years agocompiler: Fix order of initialization bug with global var a, b = f().
ian [Thu, 3 May 2012 16:09:44 +0000 (16:09 +0000)]
compiler: Fix order of initialization bug with global var a, b = f().

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

11 years ago/cp
paolo [Thu, 3 May 2012 14:32:15 +0000 (14:32 +0000)]
/cp
2012-05-03  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53186
* call.c (build_over_call): Handle final member functions
and class types.
(build_new_method_call_1): Do not handle here.

/testsuite
2012-05-03  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53186
* g++.dg/other/final2.C: New.

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

11 years ago PR plugins/53126
jakub [Thu, 3 May 2012 11:09:46 +0000 (11:09 +0000)]
PR plugins/53126
* gcc-ar.c (main): If GCC_EXEC_PREFIX is set in env,
append program name to it and pass that as first argument
to make_relative_prefix.  Always pass standard_libexec_prefix
as last argument to make_relative_prefix.  If
make_relative_prefix returns NULL, fall back to
standard_libexec_prefix.

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

11 years ago PR debug/53174
jakub [Thu, 3 May 2012 10:19:29 +0000 (10:19 +0000)]
PR debug/53174
* tree-predcom.c (remove_stmt): Call reset_debug_uses on stmts being
removed.

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

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

11 years ago PR target/53187
jakub [Thu, 3 May 2012 10:17:02 +0000 (10:17 +0000)]
PR target/53187
* config/arm/arm.c (arm_select_cc_mode): If x has MODE_CC class
mode, return that mode.

* gcc.target/arm/pr53187.c: New test.
* gcc.c-torture/compile/pr53187.c: New test.

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

11 years ago2012-05-03 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 3 May 2012 08:49:03 +0000 (08:49 +0000)]
2012-05-03  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/53144
* tree-ssa-sccvn.c (vn_reference_lookup_or_insert_constant_for_pieces):
Rename to ...
(vn_reference_lookup_or_insert_for_pieces): ... this.  Properly deal
with SSA name values.
(vn_reference_lookup_3): Adjust callers.

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

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

11 years agoDaily bump.
gccadmin [Thu, 3 May 2012 00:17:57 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago2012-05-02 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Wed, 2 May 2012 17:16:33 +0000 (17:16 +0000)]
2012-05-02  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/53193
* testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
dg-error line number.

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

11 years ago2012-05-02 Tobias Burnus <burnus@net-b.de>
burnus [Wed, 2 May 2012 12:51:49 +0000 (12:51 +0000)]
2012-05-02  Tobias Burnus  <burnus@net-b.de>

        Backport from mainline
        2012-04-12  Tobias Burnus  <burnus@net-b.de>

        PR fortran/52864
        * expr.c (gfc_check_vardef_context): Fix assignment check for
        pointer components.

2012-05-02  Tobias Burnus  <burnus@net-b.de>

        Backport from mainline
        2012-04-16  Tobias Burnus  <burnus@net-b.de>

        PR fortran/52864
        * gfortran.dg/pointer_intent_6.f90: New.

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

11 years ago PR tree-optimization/53163
jakub [Wed, 2 May 2012 09:56:39 +0000 (09:56 +0000)]
PR tree-optimization/53163
* tree-ssa-phiopt.c (cond_if_else_store_replacement): Don't ignore
return value from compute_all_dependences.

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

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

11 years ago PR rtl-optimization/53160
jakub [Wed, 2 May 2012 07:19:41 +0000 (07:19 +0000)]
PR rtl-optimization/53160
* ree.c (combine_reaching_defs): Handle the case where cand->insn
has been modified by ree pass already.

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

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

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

11 years ago2012-05-01 François Dumont <fdumont@gcc.gnu.org>
fdumont [Tue, 1 May 2012 19:38:28 +0000 (19:38 +0000)]
2012-05-01  François Dumont  <fdumont@gcc.gnu.org>

PR libstdc++/53115
* include/bits/hashtable.h
(_Hashtable<>::_M_rehash_aux(size_type, false_type)): Fix buckets
after insertion of several equivalent elements.
* testsuite/23_containers/unordered_multiset/insert/53115.cc: New.
* testsuite/23_containers/unordered_multimap/insert/53115.cc: New.

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

11 years ago Backport from mainline
uros [Tue, 1 May 2012 06:23:13 +0000 (06:23 +0000)]
Backport from mainline
2012-04-30  Uros Bizjak  <ubizjak@gmail.com>

PR middle-end/53136
* ipa-prop.c (ipa_print_node_jump_functions): Wrap multiple
calls to cgraph_node_name in xstrdup.
(ipa_make_edge_direct_to_target): Ditto.
* tree-sra.c (convert_callers_for_node): Ditto.
* lto-symtab.c (lto_cgraph_replace_node): Ditto.
* ipa-cp.c (perhaps_add_new_callers): Ditto.
* cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Ditto.
(cgraph_materialize_all_clones): Ditto.
* ipa-inline.c (report_inline_failed_reason): Ditto.
(want_early_inline_function_p): Ditto.
(edge_badness): Ditto.
(update_edge_key): Ditto.
(flatten_function): Ditto.
(ipa_inline): Ditto.
(inline_always_inline_functions): Ditto.
(early_inline_small_functions): Ditto.

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

11 years agoDaily bump.
gccadmin [Tue, 1 May 2012 00:18:49 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago2012-04-30 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Mon, 30 Apr 2012 19:31:13 +0000 (19:31 +0000)]
2012-04-30  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/53148
Backport from trunk
* frontend-passes.c (create_var):  If the statement has a label,
put the label around the block.

2012-04-30  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/53148
Backport from trunk
* gfortran.dg/function_optimize_12.f90:  New test.

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

11 years ago2012-04-30 Andreas Tobler <andreast@fgznet.ch>
andreast [Mon, 30 Apr 2012 17:40:34 +0000 (17:40 +0000)]
2012-04-30  Andreas Tobler  <andreast@fgznet.ch>

Backport from mainline
2012-03-21  Andreas Tobler  <andreast@fgznet.ch>

* testsuite/23_containers/vector/bool/modifiers/insert/31370.cc:
Skip this test on powerpc64-*-freebsd*.

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

11 years ago2012-04-30 Andreas Tobler <andreast@fgznet.ch>
andreast [Mon, 30 Apr 2012 17:39:57 +0000 (17:39 +0000)]
2012-04-30  Andreas Tobler  <andreast@fgznet.ch>

Backport from mainline
2012-03-21  Andreas Tobler  <andreast@fgznet.ch>

* config.host: Add bits to support powerpc64-*-freebsd*.
* config/rs6000/freebsd-unwind.h: New file.
* config/rs6000/t-freebsd64: New file.

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

11 years ago2012-04-30 Andreas Tobler <andreast@fgznet.ch>
andreast [Mon, 30 Apr 2012 17:39:01 +0000 (17:39 +0000)]
2012-04-30  Andreas Tobler  <andreast@fgznet.ch>

Backport from mainline
2012-03-21  Andreas Tobler  <andreast@fgznet.ch>

* configure.ac (HAVE_LD_NO_DOT_SYMBOLS): Add powerpc64-*-freebsd*.
Introduce emul_name to select the right linker emulation for
powerpc64-*-freebsd*.
* configure: Regenerate.
* config.gcc: Add bits to support powerpc64-*-freebsd*.
* config/rs6000/freebsd.h (POWERPC_FREEBSD): Define.
* config/rs6000/freebsd64.h: New file.
* config/rs6000/rs6000.c (rs6000_option_override_internal): Use
POWERPC_FREEBSD.
(rs6000_savres_strategy): Likewise.
(rs6000_savres_routine_name): Likewise.
(rs6000_elf_file_end): Likewise.
* config/rs6000/t-freebsd64: New file.
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set the
rs6000_current_abi for 64-bit FreeBSD to ABI_AIX.

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

11 years ago PR go/52586
ian [Mon, 30 Apr 2012 16:04:33 +0000 (16:04 +0000)]
PR go/52586
mksysinfo, syscall: Make sure SYS_GETDENTS64 is defined.

Fixes build on MIPS GNU/Linux.

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

11 years ago Backport from mainline
uros [Mon, 30 Apr 2012 08:57:41 +0000 (08:57 +0000)]
Backport from mainline
2012-04-27  Paolo Bonzini  <bonzini@gnu.org>

PR target/53138
* config/i386/i386.md (x86_mov<mode>cc_0_m1_neg): Add clobber.

testsuite/ChangeLog:

Backport from mainline
2012-04-27  Paolo Bonzini  <bonzini@gnu.org>

PR target/53138
* gcc.c-torture/execute/20120427-1.c: New testcase.

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

11 years ago * config/i386/i386.c (ix86_handle_struct_attribute): Use the proper
ebotcazou [Mon, 30 Apr 2012 08:11:57 +0000 (08:11 +0000)]
* config/i386/i386.c (ix86_handle_struct_attribute): Use the proper
predicate to discriminate types.
ada/
* gcc-interface/utils.c (finish_record_type): Force the traditional GCC
layout for bitfields on the type if it is packed or has a representation
clause and an alternate layout is available.

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

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

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

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

11 years agolibgcc/
rsandifo [Sat, 28 Apr 2012 08:07:03 +0000 (08:07 +0000)]
libgcc/
2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>

* config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
(mips*-*-linux*): Include mips/t-tpbit when long double is
16 bytes long.

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

11 years agocompiler: Fix some crashes on invalid code.
ian [Sat, 28 Apr 2012 04:57:11 +0000 (04:57 +0000)]
compiler: Fix some crashes on invalid code.

Fixes issue 7.

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

11 years agocompiler: Use less memory for array/slice literals.
ian [Sat, 28 Apr 2012 00:29:34 +0000 (00:29 +0000)]
compiler: Use less memory for array/slice literals.

Fixes issue 8 in gofrontend issues list.

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

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

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

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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