OSDN Git Service

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 years ago PR ada/53517
ebotcazou [Fri, 1 Jun 2012 07:34:05 +0000 (07:34 +0000)]
PR ada/53517
* gnat.dg/lto14.adb: Skip on Solaris.

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

11 years agoDaily bump.
gccadmin [Fri, 1 Jun 2012 00:17:42 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago Backport from mainline
olegendo [Thu, 31 May 2012 23:04:02 +0000 (23:04 +0000)]
Backport from mainline
2012-03-27  Chung-Lin Tang  <cltang@codesourcery.com>

PR target/52667
* config/sh/sh.c (find_barrier): Add equality check of last_got to
avoid going above orig insn.  Update comments.

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

11 years ago Backport from mainline
olegendo [Thu, 31 May 2012 23:01:13 +0000 (23:01 +0000)]
Backport from mainline
2012-03-21  Kaz Kojima  <kkojima@gcc.gnu.org>

PR target/52642
* config/sh/sh.c (sh_expand_prologue): Emit blockage at the end of
prologue for unwinder and profiler.

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

11 years ago Backport from mainline
olegendo [Thu, 31 May 2012 22:58:49 +0000 (22:58 +0000)]
Backport from mainline
2012-03-03  Kaz Kojima  <kkojima@gcc.gnu.org>

* config/sh/sh.md (abssi2): Add TARGET_SH1 condition.

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

11 years ago Backport from mainline
olegendo [Thu, 31 May 2012 22:56:44 +0000 (22:56 +0000)]
Backport from mainline
2012-03-03  Kaz Kojima  <kkojima@gcc.gnu.org>

* config/sh/sh.c (sh_dwarf_register_span): Don't apply
DBX_REGISTER_NUMBER.

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

11 years ago Backport from mainline
olegendo [Thu, 31 May 2012 22:54:21 +0000 (22:54 +0000)]
Backport from mainline
2012-03-03  Kaz Kojima  <kkojima@gcc.gnu.org>

* config/sh/sh.c (shiftcosts): Return MAX_COST when the first
operand is CONST_INT.  Take COSTS_N_INSNS into account.
(sh_rtx_costs): Don't apply COSTS_N_INSNS to the return value of
shiftcosts.

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

11 years ago2012-05-31 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 31 May 2012 19:00:58 +0000 (19:00 +0000)]
2012-05-31  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/52007
        * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
        * configure: Regenerated.

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