OSDN Git Service

pf3gnuchains/gcc-fork.git
8 years agoBring over accumulated bug fixes from mainline.
ian [Thu, 14 Jun 2012 19:34:15 +0000 (19:34 +0000)]
Bring over accumulated bug fixes from mainline.

runtime: Fix printing of names in stack dumps.
compiler: Fix taking address of field of local variable.
compiler, reflect: Handle package path like gc compiler.
os: Use Entersyscall when reading directories.
os/user: Use Entersyscall.
compiler: Avoid unnecessary interface conversions.
libgo: Make the subdirectory in the CHECK target.

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

8 years ago PR tree-optimization/52558
aldyh [Thu, 14 Jun 2012 19:22:48 +0000 (19:22 +0000)]
    PR tree-optimization/52558
        Backport from mainline:
        2012-05-21  Aldy Hernandez  <aldyh@redhat.com>
        * gimple.h (gimple_set_in_transaction): Remove.
        (gimple_in_transaction): Look in BB instead.
        (gimple_statement_base): Remove in_transaction field.
        * basic-block.h (enum bb_flags): Add BB_IN_TRANSACTION.
        * trans-mem.c (compute_transaction_bits): Place transaction bit
        information into basic blocks.
        2012-05-31  Aldy Hernandez  <aldyh@redhat.com>
        PR tree-optimization/52558
        * cfg.c (alloc_aux_for_edge): Fix comment.
        (alloc_aux_for_edge): Remove static.
        * basic-block.h (alloc_aux_for_edge): Protoize.
        * tree-ssa-loop-im.c (execute_sm_if_changed): New.
        (execute_sm_if_changed_flag): New.
        (execute_sm_if_changed_flag_set): New.
        (execute_sm): Do not generate data races unless requested.
        (tree_ssa_lim_initialize): Call alloc_aux_for_edges.
        (tree_ssa_lim_finalize): Call free_aux_for_edges.
        * gimple.h (block_in_transaction): New.
        (gimple_in_transaction): Use block_in_transaction.

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

8 years ago Backported from mainline
jakub [Thu, 14 Jun 2012 17:49:49 +0000 (17:49 +0000)]
Backported from mainline
2012-06-12  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/53589
* cfgrtl.c (force_nonfallthru_and_redirect): Do asm_goto_edge
discovery even when e->dest != target.  If any LABEL_REF points
to e->dest label, redirect it to target's label.

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

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

8 years ago Backported from mainline
jakub [Thu, 14 Jun 2012 17:48:38 +0000 (17:48 +0000)]
Backported from mainline
2012-06-07  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/53580
* omp-low.c (scan_omp_1_stmt): If check_omp_nesting_restrictions
returns false, replace stmt with GIMPLE_NOP.
(check_omp_nesting_restrictions): Instead of issuing warnings,
issue errors and return false if any errors were reported.

* gcc.dg/gomp/nesting-1.c: Expect errors rather than warnings.
* gcc.dg/gomp/critical-4.c: Likewise.
* gfortran.dg/gomp/appendix-a/a.35.1.f90: Likewise.
* gfortran.dg/gomp/appendix-a/a.35.3.f90: Likewise.
* gfortran.dg/gomp/appendix-a/a.35.4.f90: Likewise.
* gfortran.dg/gomp/appendix-a/a.35.6.f90: Likewise.
* c-c++-common/gomp/pr53580.c: New test.

* testsuite/libgomp.c/pr26943-2.c: Remove #pragma omp barrier,
use GOMP_barrier () call instead.
* testsuite/libgomp.c/pr26943-3.c: Likewise.
* testsuite/libgomp.c/pr26943-4.c: Likewise.
* testsuite/libgomp.fortran/vla4.f90: Remove !$omp barrier,
call GOMP_barrier instead.
* testsuite/libgomp.fortran/vla5.f90: Likewise.

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

8 years ago Backported from mainline
jakub [Thu, 14 Jun 2012 17:46:53 +0000 (17:46 +0000)]
Backported from mainline
2012-06-06  Jakub Jelinek  <jakub@redhat.com>

PR libgomp/52993
* config/linux/lock.c (gomp_init_nest_lock_25): Fix up last
argument to memset call.

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

8 years ago * gcc-interface/Makefile.in (gnatlib-shared-default): Append
jakub [Thu, 14 Jun 2012 17:45:53 +0000 (17:45 +0000)]
* gcc-interface/Makefile.in (gnatlib-shared-default): Append
$(PICFLAG_FOR_TARGET) to GNATLIBCFLAGS_FOR_C passed to submake.

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

8 years ago2012-06-14 Tobias Burnus <burnus@net-b.de>
burnus [Thu, 14 Jun 2012 13:04:43 +0000 (13:04 +0000)]
2012-06-14  Tobias Burnus  <burnus@net-b.de>

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

        PR fortran/50619
        * resolve.c (build_default_init_expr): Don't initialize
        ASSOCIATE names.

2012-06-14  Tobias Burnus  <burnus@net-b.de>

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

        PR fortran/50619
        * gfortran.dg/init_flag_10.f90: New.

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

8 years ago2012-06-14 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 14 Jun 2012 13:02:06 +0000 (13:02 +0000)]
2012-06-14  Richard Guenther  <rguenther@suse.de>

        Backport from mainline
        2012-06-11  Richard Guenther  <rguenther@suse.de>

PR c++/53616
* mangle.c (write_array_type): Use double-ints for array domain
arithmetic.

* g++.dg/ext/pr53605.C: New testcase.

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

8 years ago2012-06-14 Tobias Burnus <burnus@net-b.de>
burnus [Thu, 14 Jun 2012 13:00:50 +0000 (13:00 +0000)]
2012-06-14  Tobias Burnus  <burnus@net-b.de>

        PR fortran/53597
        * decl.c (match_attr_spec): Only mark module variables
        as SAVE_IMPLICIT for Fortran 2008 and later.

2012-06-14  Tobias Burnus  <burnus@net-b.de>

        PR fortran/53597
        * gfortran.dg/save_4.f90: New.

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

8 years ago2012-06-14 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 14 Jun 2012 12:55:11 +0000 (12:55 +0000)]
2012-06-14  Richard Guenther  <rguenther@suse.de>

        Backport from mainline
        2012-06-06  Fabien Chene  <fabien@gcc.gnu.org>

PR c++/52841
* parser.c (cp_parser_alias_declaration): Return earlier
if an error occured.

* g++.dg/cpp0x/pr52841.C: New testcase.

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

8 years ago2012-06-14 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 14 Jun 2012 10:06:05 +0000 (10:06 +0000)]
2012-06-14  Richard Guenther  <rguenther@suse.de>

        * BASE-VER: Set to 4.7.2.
        * DEV-PHASE: Set to prerelease.

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

8 years agoPR target/53621
chrbr [Thu, 14 Jun 2012 08:43:20 +0000 (08:43 +0000)]
PR target/53621
* config/sh/sh.c (sh_option_override): Don't force
flag_omit_frame_pointer and maccumulate_outgoing_args.
* config/sh/sh.opt (maccumulate-outgoing-args): Init as Var.

* gcc.dg/stack-usage-1.c: Force -fomit-frame-pointer on SH.

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

8 years agoMark as release
rguenth [Thu, 14 Jun 2012 08:32:48 +0000 (08:32 +0000)]
Mark as release

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:32:42 +0000 (08:32 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:32:36 +0000 (08:32 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:32:30 +0000 (08:32 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:32:24 +0000 (08:32 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:32:18 +0000 (08:32 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:32:12 +0000 (08:32 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:32:06 +0000 (08:32 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:31:58 +0000 (08:31 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:31:52 +0000 (08:31 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:31:45 +0000 (08:31 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:31:37 +0000 (08:31 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:31:29 +0000 (08:31 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:31:21 +0000 (08:31 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:31:12 +0000 (08:31 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:31:05 +0000 (08:31 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:30:55 +0000 (08:30 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:30:48 +0000 (08:30 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:30:39 +0000 (08:30 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:30:27 +0000 (08:30 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:30:11 +0000 (08:30 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:30:02 +0000 (08:30 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:29:52 +0000 (08:29 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:29:42 +0000 (08:29 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:29:34 +0000 (08:29 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:29:24 +0000 (08:29 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:29:16 +0000 (08:29 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:29:06 +0000 (08:29 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:28:59 +0000 (08:28 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:28:51 +0000 (08:28 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:28:43 +0000 (08:28 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:28:35 +0000 (08:28 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:28:27 +0000 (08:28 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:28:20 +0000 (08:28 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:28:10 +0000 (08:28 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:28:02 +0000 (08:28 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:27:55 +0000 (08:27 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:27:49 +0000 (08:27 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:27:40 +0000 (08:27 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:27:32 +0000 (08:27 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:27:25 +0000 (08:27 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:27:16 +0000 (08:27 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:27:10 +0000 (08:27 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:27:04 +0000 (08:27 +0000)]
Mark ChangeLog

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

8 years agoMark ChangeLog
rguenth [Thu, 14 Jun 2012 08:26:57 +0000 (08:26 +0000)]
Mark ChangeLog

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

8 years agoDaily bump.
gccadmin [Thu, 14 Jun 2012 00:17:47 +0000 (00:17 +0000)]
Daily bump.

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

8 years ago * gcc.pot: Regenerate.
jsm28 [Wed, 13 Jun 2012 21:44:13 +0000 (21:44 +0000)]
* gcc.pot: Regenerate.

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

8 years ago * sr.po: New.
jsm28 [Wed, 13 Jun 2012 21:39:41 +0000 (21:39 +0000)]
* sr.po: New.

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

8 years ago * config/ia64/sync.md (fetchop_name): Change ior attribute to "or".
uros [Wed, 13 Jun 2012 17:46:58 +0000 (17:46 +0000)]
* config/ia64/sync.md (fetchop_name): Change ior attribute to "or".

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

8 years ago * config/rs6000/sync.md (atomic_load, atomic_store): Use INT1 mode
rth [Wed, 13 Jun 2012 15:29:37 +0000 (15:29 +0000)]
        * config/rs6000/sync.md (atomic_load, atomic_store): Use INT1 mode
            iterator instead of INT.

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

8 years ago Revert
ebotcazou [Wed, 13 Jun 2012 13:31:00 +0000 (13:31 +0000)]
Revert
2012-05-19  Eric Botcazou  <ebotcazou@adacore.com>

* gcc-interface/decl.c (Has_Thiscall_Convention): New macro.
(gnat_to_gnu_entity) <E_Subprogram_Type>: Test it to set the thiscall
calling convention
(get_minimal_subprog_decl): Likewise.
(gnat_first_param_is_class): New predicate.

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

8 years agoDaily bump.
gccadmin [Wed, 13 Jun 2012 00:17:46 +0000 (00:17 +0000)]
Daily bump.

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

8 years ago ada/
hainque [Tue, 12 Jun 2012 15:12:37 +0000 (15:12 +0000)]
    ada/
        * gcc-interface/Makefile.in (GNATLIBCFLAGS_FOR_C): Remove
        $(PIC_FLAG_FOR_TARGET).
        (gnatlib-shared-default): Add $(PIC_FLAG_FOR_TARGET) to
        GNATLIBCFLAGS_FOR_C passed to gnatlib.
        (gnatlib-shared-win32): Likewise.
        (gnatlib-shared-darwin): Likewise.
        (gnatlib-shared-dual-win32): Pass PIC_FLAG_FOR_TARGET to
        gnatlib-shared-win32.

        libada/
        * Makefile.in (GNATLIBCFLAGS_FOR_C): Remove $(PICFLAG).

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

8 years ago PR c++/53599
jason [Tue, 12 Jun 2012 15:01:17 +0000 (15:01 +0000)]
PR c++/53599
Revert:
PR c++/53137
* pt.c (instantiate_class_template_1): Set LAMBDA_EXPR_THIS_CAPTURE.
(instantiate_decl): Don't push_to_top_level for local class methods.
(instantiate_class_template_1): Or for local classes.

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

8 years agoSet property svn:mime-type, not mime-type, to application/octet-stream.
ian [Tue, 12 Jun 2012 05:10:45 +0000 (05:10 +0000)]
Set property svn:mime-type, not mime-type, to application/octet-stream.

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

8 years agoSet SVN property mime-type to application/octet-stream.
ian [Tue, 12 Jun 2012 05:08:23 +0000 (05:08 +0000)]
Set SVN property mime-type to application/octet-stream.

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

8 years agoDaily bump.
gccadmin [Tue, 12 Jun 2012 00:18:57 +0000 (00:18 +0000)]
Daily bump.

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

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

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

8 years agoDaily bump.
gccadmin [Sun, 10 Jun 2012 00:17:04 +0000 (00:17 +0000)]
Daily bump.

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

8 years agoPR c++/53602
rth [Sat, 9 Jun 2012 06:14:27 +0000 (06:14 +0000)]
PR c++/53602
        * combine-stack-adj.c (force_move_args_size_note): Add ARGS_SIZE
        note to a clobber insn when no other insn is available.

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

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

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

8 years agocompiler: Fix unsafe.Sizeof for named structs with named struct fields.
ian [Thu, 7 Jun 2012 05:49:54 +0000 (05:49 +0000)]
compiler: Fix unsafe.Sizeof for named structs with named struct fields.

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

8 years agoruntime: Use dl_iterate_phdr to get TLS size.
ian [Thu, 7 Jun 2012 00:55:28 +0000 (00:55 +0000)]
runtime: Use dl_iterate_phdr to get TLS size.

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

8 years agoDaily bump.
gccadmin [Thu, 7 Jun 2012 00:18:29 +0000 (00:18 +0000)]
Daily bump.

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

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

8 years agoruntime: Comment out code adding TLS size to stack size.
ian [Tue, 5 Jun 2012 13:12:38 +0000 (13:12 +0000)]
runtime: Comment out code adding TLS size to stack size.

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

8 years agoruntime: Fix call to _dl_get_tls_static_info for i386.
ian [Tue, 5 Jun 2012 06:19:37 +0000 (06:19 +0000)]
runtime: Fix call to _dl_get_tls_static_info for i386.

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

8 years agomksysinfo: Fix for recent change to glibc <sys/resource.h>.
ian [Tue, 5 Jun 2012 05:33:10 +0000 (05:33 +0000)]
mksysinfo: Fix for recent change to glibc <sys/resource.h>.

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

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

8 years ago2012-06-04 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 4 Jun 2012 20:30:59 +0000 (20:30 +0000)]
2012-06-04  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53524
* doc/invoke.texi (Wenum-compare): Update documentation.

/cp
2012-06-04  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53524
* call.c (build_conditional_expr_1): Use OPT_Wenum_compare
to control enumeral mismatch in conditional expression too.

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

PR c++/53524
* g++.dg/warn/Wenum-compare-no-2: New.

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

8 years ago2012-06-04 Edmar Wienskoski <edmar@freescale.com>
edmarwjr [Mon, 4 Jun 2012 18:15:46 +0000 (18:15 +0000)]
2012-06-04  Edmar Wienskoski  <edmar@freescale.com>

PR target/53559
* config/rs6000/altivec.md (altivec_stvlx): Change machine mode of
operands.
(altivec_stvlxl): Ditto.
(altivec_stvrx): Ditto.
(altivec_stvrxl): Ditto.

gcc/testsuite
2012-06-04  Edmar Wienskoski  <edmar@freescale.com>

PR target/53559
* gcc.target/powerpc/cell_builtin_1.c: New test case.
* gcc.target/powerpc/cell_builtin_2.c: Ditto.
* gcc.target/powerpc/cell_builtin_3.c: Ditto.
* gcc.target/powerpc/cell_builtin_4.c: Ditto.
* gcc.target/powerpc/cell_builtin_5.c: Ditto.
* gcc.target/powerpc/cell_builtin_6.c: Ditto.
* gcc.target/powerpc/cell_builtin_7.c: Ditto.
* gcc.target/powerpc/cell_builtin_8.c: Ditto.

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

8 years ago PR middle-end/47530
aldyh [Mon, 4 Jun 2012 16:52:47 +0000 (16:52 +0000)]
PR middle-end/47530
* trans-mem.c (expand_block_edges): Do not skip the first
statement when resetting the BB.

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

8 years ago2012-06-04 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 4 Jun 2012 13:24:24 +0000 (13:24 +0000)]
2012-06-04  Richard Guenther  <rguenther@suse.de>

PR middle-end/53471
* dwarf2out.c (dwarf2out_finish): If generating LTO do not
create new assembler names.

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

8 years ago2012-06-04 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 4 Jun 2012 10:19:44 +0000 (10:19 +0000)]
2012-06-04  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2012-04-25  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/52979
* stor-layout.c (get_best_mode): Don't return mode with bitsize
larger than maxbits.  Don't compute maxbits modulo align.
Also check that unit bytes long store at bitpos / unit * unit
doesn't affect bits beyond bitregion_end.
* expmed.c (store_bit_field_1): Avoid trying insv if OP_MODE MEM
would not fit into bitregion_start ... bitregion_end + 1 bit
region.
(store_split_bit_field): Decrease unit close to end of bitregion_end
if access is restricted in order to avoid mutual recursion.

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

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

8 years ago Backport from 2012-06-04 mainline r188172
gjl [Mon, 4 Jun 2012 09:51:00 +0000 (09:51 +0000)]
Backport from 2012-06-04 mainline r188172
PR target/46261
* config/avr/avr-stdint.h: New file.
* config.gcc (avr-*-*,tm_file): Use avr/avr-stdint.h instead of
newlib-stdint.h

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

8 years ago PR tree-optimization/53550
jakub [Mon, 4 Jun 2012 09:27:00 +0000 (09:27 +0000)]
PR tree-optimization/53550
* tree-ssa-loop-niter.c (number_of_iterations_cond): If type
is POINTER_TYPE_P, use sizetype as step type instead of type.

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

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

8 years ago2012-06-04 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 4 Jun 2012 08:43:23 +0000 (08:43 +0000)]
2012-06-04  Richard Guenther  <rguenther@suse.de>
Eric Botcazou  <ebotcazou@adacore.com>

Backport from mainline
2012-04-03  Eric Botcazou  <ebotcazou@adacore.com>

        * expr.c (get_bit_range): Add OFFSET parameter and adjust BITPOS.
        Change type of BITOFFSET to signed.  Make sure the lower bound of
        the computed range is non-negative by adjusting OFFSET and BITPOS.
        (expand_assignment): Adjust call to get_bit_range.

2012-03-27  Eric Botcazou  <ebotcazou@adacore.com>

        * expr.c (get_bit_range): Return the null range if the enclosing record
        is part of a larger bit field.

2012-03-20  Richard Guenther  <rguenther@suse.de>

        * stor-layout.c (finish_bitfield_representative): Fallback
        to conservative maximum size if the padding up to the next
        field cannot be computed as a constant.
        (finish_bitfield_layout): If we cannot compute the distance
        between the start of the bitfield representative and the
        bitfield member start a new representative.
        * expr.c (get_bit_range): The distance between the start of
        the bitfield representative and the bitfield member is zero
        if the field offsets are not constants.

2012-03-16  Richard Guenther  <rguenther@suse.de>

        * stor-layout.c (finish_bitfield_representative): Fall back
        to the conservative maximum size if we cannot compute the
        size of the tail padding.

2012-03-14  Richard Guenther  <rguenther@suse.de>

* tree.h (DECL_BIT_FIELD_REPRESENTATIVE): New define.
* stor-layout.c (start_bitfield_representative): New function.
(finish_bitfield_representative): Likewise.
(finish_bitfield_layout): Likewise.
(finish_record_layout): Call finish_bitfield_layout.
* tree.c (free_lang_data_in_decl): Only free DECL_QUALIFIER
for QUAL_UNION_TYPE fields.
* tree-streamer-in.c (lto_input_ts_field_decl_tree_pointers):
Stream DECL_BIT_FIELD_REPRESENTATIVE.
* tree-streamer-out.c (write_ts_field_decl_tree_pointers): Likewise.

PR middle-end/52080
PR middle-end/52097
PR middle-end/48124
* expr.c (get_bit_range): Unconditionally extract bitrange
from DECL_BIT_FIELD_REPRESENTATIVE.
(expand_assignment): Adjust call to get_bit_range.

* gcc.dg/torture/pr48124-1.c: New testcase.
* gcc.dg/torture/pr48124-2.c: Likewise.
* gcc.dg/torture/pr48124-3.c: Likewise.
* gcc.dg/torture/pr48124-4.c: Likewise.
* gnat.dg/pack16.adb: Likewise.
* gnat.dg/pack16_pkg.ads: Likewise.
* gnat.dg/pack17.adb: Likewise.
* gnat.dg/specs/pack7.ads: Likewise.
* gnat.dg/specs/pack8.ads: Likewise.
* gnat.dg/specs/pack8_pkg.ads: Likewise.

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

8 years agoruntime: Better SWIG interface for allocating Go memory from C/C++.
ian [Mon, 4 Jun 2012 05:35:10 +0000 (05:35 +0000)]
runtime: Better SWIG interface for allocating Go memory from C/C++.

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

8 years agoDaily bump.
gccadmin [Mon, 4 Jun 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@188159 138bc75d-0d04-0410-961f-82ee72b054a4

8 years agoDaily bump.
gccadmin [Sun, 3 Jun 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@188145 138bc75d-0d04-0410-961f-82ee72b054a4

8 years ago PR c++/52973
jason [Sat, 2 Jun 2012 04:05:25 +0000 (04:05 +0000)]
PR c++/52973
* parser.c (cp_parser_class_head): Apply attributes here.
* semantics.c (begin_class_definition): Not here.
* cp-tree.h: Adjust.

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

8 years agoDaily bump.
gccadmin [Sat, 2 Jun 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@188132 138bc75d-0d04-0410-961f-82ee72b054a4

8 years ago PR c++/52725
jason [Fri, 1 Jun 2012 21:19:36 +0000 (21:19 +0000)]
PR c++/52725
* parser.c (cp_parser_binary_expression): Bail early if we're parsing
tentatively and the LHS has a parse error.

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

8 years ago PR c++/53137
jason [Fri, 1 Jun 2012 18:43:34 +0000 (18:43 +0000)]
PR c++/53137
* pt.c (instantiate_class_template_1): Set LAMBDA_EXPR_THIS_CAPTURE.
(instantiate_decl): Don't push_to_top_level for local class methods.
(instantiate_class_template_1): Or for local classes.

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

8 years ago PR c++/53484
jason [Fri, 1 Jun 2012 18:43:23 +0000 (18:43 +0000)]
PR c++/53484
* pt.c (do_auto_deduction): Don't try to deduce from a
type-dependent initializer.

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

8 years ago PR middle-end/53501
ebotcazou [Fri, 1 Jun 2012 17:03:19 +0000 (17:03 +0000)]
PR middle-end/53501
* fold-const.c (fold_binary_loc): Refine previous change.
testsuite/
* c-c++-common/restrict-2.c: Revert previous change.

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

8 years ago2012-06-01 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 1 Jun 2012 15:08:24 +0000 (15:08 +0000)]
2012-06-01  Tobias Burnus  <burnus@net-b.de>

        PR fortran/53521
        * trans.c (gfc_deallocate_scalar_with_status): Properly
        handle the case size == 0.

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