OSDN Git Service

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

11 years ago2012-05-31 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 31 May 2012 18:59:34 +0000 (18:59 +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@188078 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-05-31 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 31 May 2012 18:57:56 +0000 (18:57 +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@188077 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/avr/avr.opt (-msp8): Document it.
gjl [Thu, 31 May 2012 17:51:49 +0000 (17:51 +0000)]
* config/avr/avr.opt (-msp8): Document it.
* doc/invoke.texi (AVR Options): Copy from trunk docu.

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

11 years ago PR c++/53500
jason [Thu, 31 May 2012 14:28:41 +0000 (14:28 +0000)]
PR c++/53500
PR c++/52905
* call.c (joust): Handle comparing list and non-list ctors.

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

11 years ago2012-05-31 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 31 May 2012 11:02:29 +0000 (11:02 +0000)]
2012-05-31  Richard Guenther  <rguenther@suse.de>

PR middle-end/48493
* expr.c (expand_assignment): Do not use movmisalign on
non-memory.

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

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

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

11 years agocompiler: Don't crash for invalid constant types for && or ||.
ian [Wed, 30 May 2012 23:04:57 +0000 (23:04 +0000)]
compiler: Don't crash for invalid constant types for && or ||.

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

11 years ago PR target/52999
danglin [Wed, 30 May 2012 23:03:59 +0000 (23:03 +0000)]
PR target/52999
* config/pa/pa.c (TARGET_SECTION_TYPE_FLAGS): Define.
(pa_section_type_flags): New.
(pa_legitimate_constant_p): Revert previous change.

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

11 years ago Backport from mainline
aldyh [Wed, 30 May 2012 22:13:43 +0000 (22:13 +0000)]
    Backport from mainline
        2012-05-25  Aldy Hernandez  <aldyh@redhat.com>
        PR middle-end/53008
        * trans-mem.c (ipa_tm_create_version_alias): Output new_node if
        accessed indirectly.
        (ipa_tm_create_version): Same.

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

11 years ago PR c++/53356
jason [Wed, 30 May 2012 14:52:02 +0000 (14:52 +0000)]
PR c++/53356
* tree.c (stabilize_init): Side effects make the init unstable.

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

11 years ago PR c++/53220
jason [Wed, 30 May 2012 14:51:54 +0000 (14:51 +0000)]
PR c++/53220
gcc/
* c-typeck.c (array_to_pointer_conversion): Give -Wc++-compat warning
about array compound literals.
gcc/cp/
* call.c (convert_like_real) [ck_list]: Take array address directly.
* typeck.c (decay_conversion): Reject decay of an array compound
literal.

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

11 years ago2012-05-30 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 30 May 2012 12:32:10 +0000 (12:32 +0000)]
2012-05-30  Richard Guenther  <rguenther@suse.de>

PR middle-end/53501
* fold-const.c (fold_binary_loc): Make sure to call
fold_plusminus_mult_expr with the original sign of operands.

* gcc.dg/torture/pr53501.c: New testcase.
* c-c++-common/restrict-2.c: Adjust.

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

11 years ago * explow.c (probe_stack_range): Restore simple control flow and stop
ebotcazou [Wed, 30 May 2012 08:53:13 +0000 (08:53 +0000)]
* explow.c (probe_stack_range): Restore simple control flow and stop
again when the probe cannot be generated if HAVE_check_stack.

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

11 years ago PR rtl-optimization/53519
jakub [Wed, 30 May 2012 06:58:00 +0000 (06:58 +0000)]
PR rtl-optimization/53519
* combine.c (simplify_shift_const_1) <case NOT>: Use constm1_rtx
instead of GEN_INT (GET_MODE_MASK (mode)) as second operand of XOR.

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

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

11 years agoDaily bump.
gccadmin [Wed, 30 May 2012 00:17:39 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago2012-05-29 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 29 May 2012 14:44:08 +0000 (14:44 +0000)]
2012-05-29  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/53516
* tree-data-ref.c (stmt_with_adjacent_zero_store_dr_p): Reject
bitfield accesses.
* tree-vect-data-refs.c (vect_analyze_data_refs): Likewise.

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

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

11 years ago/cp
paolo [Tue, 29 May 2012 10:56:53 +0000 (10:56 +0000)]
/cp
2012-05-29  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53491
* tree.c (stabilize_expr): Handle exp of void type.

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

PR c++/53491
* g++.dg/parse/crash60.C: New.

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

11 years agoDaily bump.
gccadmin [Tue, 29 May 2012 00:17:34 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago PR tree-optimization/53505
jakub [Mon, 28 May 2012 14:28:42 +0000 (14:28 +0000)]
PR tree-optimization/53505
* c-c++-common/torture/pr53505.c: New test.

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

11 years ago2012-05-28 Bill Schmidt <wschmidt@linux.ibm.com>
wschmidt [Mon, 28 May 2012 13:58:18 +0000 (13:58 +0000)]
2012-05-28  Bill Schmidt  <wschmidt@linux.ibm.com>

Backport from mainline
        2012-05-23  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/53438
* tree-sra.c (analyze_access_subtree): Correct bitfield exclusion.

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

11 years agogcc/cp
paolo [Mon, 28 May 2012 12:11:04 +0000 (12:11 +0000)]
gcc/cp
2012-05-28  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53503
* semantics.c (potential_constant_expression_1): Handle LTGT_EXPR.

libstdc++-v3
2012-05-28  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53503
* testsuite/26_numerics/headers/cmath/53503.cc: New.

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

11 years agoDaily bump.
gccadmin [Mon, 28 May 2012 00:17:40 +0000 (00:17 +0000)]
Daily bump.

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

11 years agoDaily bump.
gccadmin [Sun, 27 May 2012 00:17:32 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago Backport from mainline
ebotcazou [Sat, 26 May 2012 13:55:46 +0000 (13:55 +0000)]
Backport from mainline
2012-03-10  Chung-Lin Tang  <cltang@codesourcery.com>

PR rtl-optimization/52528
* combine.c (can_combine_p): Add setting of subst_low_luid
before call to expand_field_assignment().

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