OSDN Git Service

pf3gnuchains/gcc-fork.git
8 years ago * doc/xml/manual/status_cxx2011.xml: Document that N3189 is missing.
redi [Tue, 8 Jan 2013 21:32:57 +0000 (21:32 +0000)]
* doc/xml/manual/status_cxx2011.xml: Document that N3189 is missing.

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

8 years ago PR fortran/42769
mikael [Tue, 8 Jan 2013 19:42:38 +0000 (19:42 +0000)]
PR fortran/42769
PR fortran/45836
PR fortran/45900
* module.c (read_module): Don't reuse local symtree if the associated
symbol isn't exactly the one wanted.  Don't reuse local symtree if it is
ambiguous.
* resolve.c (resolve_call): Use symtree's name instead of symbol's to
lookup the symtree.

PR fortran/42769
PR fortran/45836
PR fortran/45900
* gfortran.dg/use_23.f90: New test.
* gfortran.dg/use_24.f90: New test.
* gfortran.dg/use_25.f90: New test.
* gfortran.dg/use_26.f90: New test.
* gfortran.dg/use_27.f90: New test.

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

8 years agostatement before variable declaration in cp_parser_initializer_list.
brobecke [Tue, 8 Jan 2013 12:35:38 +0000 (12:35 +0000)]
statement before variable declaration  in cp_parser_initializer_list.

gcc/cp/ChangeLog:

        * parser.c (cp_parser_initializer_list): Move declaration
        of variable non_const to start of lexical block.

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

8 years agoDaily bump.
gccadmin [Tue, 8 Jan 2013 00:18:49 +0000 (00:18 +0000)]
Daily bump.

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

8 years ago2013-01-07 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 7 Jan 2013 19:11:04 +0000 (19:11 +0000)]
2013-01-07  Tobias Burnus  <burnus@net-b.de>
            Thomas Koenig  <tkoenig@gcc.gnu.org>
            Jakub Jelinek  <jakub@redhat.com>

        PR fortran/55852
        * expr.c (gfc_build_intrinsic_call): Avoid clashes
        with user's procedures.
        * gfortran.h (gfc_build_intrinsic_call): Update prototype.
        (GFC_PREFIX): Define.
        * simplify.c (gfc_simplify_size): Update call.

2013-01-07  Tobias Burnus  <burnus@net-b.de>

        PR fortran/55852
        * gfortran.dg/intrinsic_size_3.f90: New.

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

8 years ago Backport from 2013-01-07 trunk r194991, r194992.
gjl [Mon, 7 Jan 2013 18:51:33 +0000 (18:51 +0000)]
Backport from 2013-01-07 trunk r194991, r194992.
PR target/55897
* doc/extend.texi (AVR Named Address Spaces): __memx goes into
.progmemx.data now.
* config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
(avr_addrspace_t): Add .section_name field.
* config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
array size.
(avr_addrspace): Same.  Initialize .section_name.  Remove last
NULL entry.  Put __memx into .progmemx.data.
(progmem_section_prefix): Remove.
(avr_asm_init_sections): No need to initialize progmem_section.
(avr_asm_named_section): Use avr_addrspace[].section_name to get
section name prefix.
(avr_asm_select_section): Ditto.  And use get_unnamed_section to
retrieve the progmem section.
* avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
boundary to run over avr_addrspace[].
(avr_register_target_pragmas): Ditto.

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

8 years ago2013-01-07 Steven G. Kargl <kargl@gcc.gnu.org>
mikael [Mon, 7 Jan 2013 17:56:53 +0000 (17:56 +0000)]
2013-01-07  Steven G. Kargl  <kargl@gcc.gnu.org>
    Mikael Morin  <mikael@gcc.gnu.org>

PR fortran/55827
* class.c (gfc_fix_class_refs): Adapt ts initialization for the case
e->symtree == NULL.
* trans-expr.c (gfc_conv_function_expr): Init sym earlier. Use it.

2013-01-07  Steven G. Kargl  <kargl@gcc.gnu.org>
    Mikael Morin  <mikael@gcc.gnu.org>

PR fortran/55827
* gfortran.dg/use_22.f90: New test.

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

8 years ago Backport from 2013-01-07 trunk r194978.
gjl [Mon, 7 Jan 2013 16:22:59 +0000 (16:22 +0000)]
Backport from 2013-01-07 trunk r194978.
PR target/54461
* doc/install.texi (Cross-Compiler-Specific Options): Document
--with-avrlibc.

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

8 years ago Backport from 2013-01-07 trunk r194968.
gjl [Mon, 7 Jan 2013 13:12:10 +0000 (13:12 +0000)]
Backport from 2013-01-07 trunk r194968.

PR other/55243
* config/avr/t-avr: Don't automatically rebuild
$(srcdir)/config/avr/t-multilib
$(srcdir)/config/avr/avr-tables.opt
(avr-mcus): New phony target to build them on request.
(s-avr-mlib): Remove.
* avr/avr-mcus.def: Adjust comments.

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

8 years agogcc/ChangeLog
xguo [Mon, 7 Jan 2013 03:12:29 +0000 (03:12 +0000)]
gcc/ChangeLog
2013-01-07  Terry Guo  <terry.guo@arm.com>

       Backport from mainline
       2012-12-19  Terry Guo  <terry.guo@arm.com>

       * config/arm/arm.c (thumb_find_work_register): Check argument
       register number based on current PCS.

gcc/testsuite/ChangeLog
2013-01-07  Terry Guo  <terry.guo@arm.com>

       Backport from mainline
       2012-12-19  Terry Guo  <terry.guo@arm.com>

       * gcc.target/arm/thumb-find-work-register.c: New.

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

8 years agoDaily bump.
gccadmin [Mon, 7 Jan 2013 00:17:54 +0000 (00:17 +0000)]
Daily bump.

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

8 years ago * doc/xml/manual/abi.xml: Update library and symbol versions.
redi [Sun, 6 Jan 2013 21:26:15 +0000 (21:26 +0000)]
* doc/xml/manual/abi.xml: Update library and symbol versions.

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

8 years ago * gcc-interface/decl.c (gnat_to_gnu_entity) <discrete_type>: Do not
ebotcazou [Sun, 6 Jan 2013 12:04:25 +0000 (12:04 +0000)]
* gcc-interface/decl.c (gnat_to_gnu_entity) <discrete_type>: Do not
pack the field of the record type made for a misaligned type.

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

8 years ago Backport from mainline
ebotcazou [Sun, 6 Jan 2013 12:03:03 +0000 (12:03 +0000)]
Backport from mainline
2013-01-04  Robert Dewar  <dewar@adacore.com>

* gnat_rm.texi: Document alignment choice for subtypes.

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

8 years ago Backport from mainline
uros [Sun, 6 Jan 2013 08:45:43 +0000 (08:45 +0000)]
Backport from mainline
2013-01-03  Uros Bizjak  <ubizjak@gmail.com>

PR target/55712
* config/i386/i386-c.c (ix86_target_macros_internal): Depending on
selected code model, define __code_mode_small__, __code_model_medium__,
__code_model_large__, __code_model_32__ or __code_model_kernel__.
* config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
xchg temporary register with %k.  Declare temporary register as
early clobbered.
[__x86_64__]: For medium and large code models, preserve %rbx register.

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

8 years agoDaily bump.
gccadmin [Sun, 6 Jan 2013 00:18:08 +0000 (00:18 +0000)]
Daily bump.

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

8 years agoDaily bump.
gccadmin [Sat, 5 Jan 2013 00:17:20 +0000 (00:17 +0000)]
Daily bump.

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

8 years ago PR c++/55877
jason [Fri, 4 Jan 2013 16:51:02 +0000 (16:51 +0000)]
PR c++/55877
* decl.c (reset_type_linkage, bt_reset_linkage): New.
(grokdeclarator): Use reset_type_linkage.
* name-lookup.c (binding_table_foreach): Handle null table.
* tree.c (decl_anon_ns_mem_p): Check TYPE_MAIN_DECL, not TYPE_NAME.

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

8 years agoi386: Backport gcc.dg/torture/tls/tls-reload-1.c fix from master
rth [Fri, 4 Jan 2013 04:17:07 +0000 (04:17 +0000)]
i386: Backport gcc.dg/torture/tls/tls-reload-1.c fix from master

* config/i386/i386.c (ix86_expand_move): Always assign to op1
after eliminating TLS symbols.

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

8 years ago PR target/53789
danglin [Fri, 4 Jan 2013 04:03:18 +0000 (04:03 +0000)]
PR target/53789
* config/pa/pa.md (movsi): Revert previous change.
* config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
references.

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

8 years agoDaily bump.
gccadmin [Fri, 4 Jan 2013 00:18:19 +0000 (00:18 +0000)]
Daily bump.

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

8 years ago PR c++/55419
jason [Thu, 3 Jan 2013 20:37:28 +0000 (20:37 +0000)]
PR c++/55419
PR c++/55753
* pt.c (tsubst_copy_and_build) [TARGET_EXPR]: Don't touch
TREE_CONSTANT.

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

8 years ago PR c++/55842
jason [Thu, 3 Jan 2013 20:37:10 +0000 (20:37 +0000)]
PR c++/55842
* semantics.c (trait_expr_value): Call maybe_instantiate_noexcept.

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

8 years ago PR c++/55856
jason [Thu, 3 Jan 2013 18:30:58 +0000 (18:30 +0000)]
PR c++/55856
* semantics.c (build_data_member_initialization): Handle DECL_EXPR.

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

8 years ago2013-01-02 Rainer Emrich <rainer@emrich-ebersheim.de>
ktietz [Thu, 3 Jan 2013 16:47:37 +0000 (16:47 +0000)]
2013-01-02  Rainer Emrich  <rainer@emrich-ebersheim.de>

        PR bootstrap/55707
        * graphite-dependences.c (hash_poly_ddr_p): Cast from pointer via
        intptr_t.

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

8 years agoDaily bump.
gccadmin [Thu, 3 Jan 2013 00:17:59 +0000 (00:17 +0000)]
Daily bump.

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

8 years ago PR c++/54325
jason [Wed, 2 Jan 2013 20:56:29 +0000 (20:56 +0000)]
PR c++/54325
* call.c (build_new_method_call_1): Don't use build_value_init for
user-provided default constructors.

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

8 years ago PR c++/55804
jason [Wed, 2 Jan 2013 19:03:37 +0000 (19:03 +0000)]
PR c++/55804
PR c++/55032
PR c++/55245
* tree.c (build_array_type_1): Revert earlier change.
* cp/tree.c (build_cplus_array_type): Copy layout information
to main variant if necessary.

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

8 years agoDaily bump.
gccadmin [Wed, 2 Jan 2013 00:17:53 +0000 (00:17 +0000)]
Daily bump.

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

8 years agoDaily bump.
gccadmin [Tue, 1 Jan 2013 00:17:49 +0000 (00:17 +0000)]
Daily bump.

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

8 years agoDaily bump.
gccadmin [Mon, 31 Dec 2012 00:17:51 +0000 (00:17 +0000)]
Daily bump.

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

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

8 years agoDaily bump.
gccadmin [Sat, 29 Dec 2012 00:17:50 +0000 (00:17 +0000)]
Daily bump.

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

8 years agoDaily bump.
gccadmin [Fri, 28 Dec 2012 00:17:33 +0000 (00:17 +0000)]
Daily bump.

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

8 years agoDaily bump.
gccadmin [Thu, 27 Dec 2012 00:17:53 +0000 (00:17 +0000)]
Daily bump.

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

8 years agoDaily bump.
gccadmin [Wed, 26 Dec 2012 00:18:04 +0000 (00:18 +0000)]
Daily bump.

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

8 years ago PR target/53789
danglin [Tue, 25 Dec 2012 21:05:21 +0000 (21:05 +0000)]
PR target/53789
* config/pa/pa.md (movsi): Reject expansion of TLS symbol references
after reload starts.

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

8 years agoDaily bump.
gccadmin [Tue, 25 Dec 2012 00:18:14 +0000 (00:18 +0000)]
Daily bump.

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

8 years agoDaily bump.
gccadmin [Mon, 24 Dec 2012 00:17:52 +0000 (00:17 +0000)]
Daily bump.

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

8 years agoDaily bump.
gccadmin [Sun, 23 Dec 2012 00:17:56 +0000 (00:17 +0000)]
Daily bump.

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

8 years ago Backport from mainline:
danglin [Sat, 22 Dec 2012 17:31:54 +0000 (17:31 +0000)]
Backport from mainline:
2012-12-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

* gcc.misc-tests/gcov-12.c: Fix dg order.

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

8 years ago Backport from mainline:
danglin [Sat, 22 Dec 2012 17:27:23 +0000 (17:27 +0000)]
Backport from mainline:
2012-12-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

* gcc.dg/torture/pr47917.c: Change "dg-xfail-if" to "dg-xfail-run-if"
for *-*-hpux10*.

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

8 years ago Backport from mainline:
danglin [Sat, 22 Dec 2012 17:23:52 +0000 (17:23 +0000)]
Backport from mainline:
2012-12-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

* gcc.dg/20030711-1.c: Define MAP_FAILED if not defined.
* gcc.dg/20050826-1.c: Likewise.

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

8 years ago2012-12-22 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Sat, 22 Dec 2012 10:46:37 +0000 (10:46 +0000)]
2012-12-22  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/30162
Backport from trunk
* io/unix.c (raw_tell):  If the lseek is done on a
non-seekable file, return 0.

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

8 years agoDaily bump.
gccadmin [Sat, 22 Dec 2012 00:18:19 +0000 (00:18 +0000)]
Daily bump.

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

8 years ago PR ada/53737
ebotcazou [Fri, 21 Dec 2012 22:33:36 +0000 (22:33 +0000)]
PR ada/53737
* sem_ch12.adb (Analyze_Associations): Do not check the legality of
actuals for RACW types if this is an internal instantiation for a formal
package with defaulted parameters.

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

8 years ago2012-12-21 Martin Jambor <mjambor@suse.cz>
jamborm [Fri, 21 Dec 2012 22:21:14 +0000 (22:21 +0000)]
2012-12-21  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/55355
* tree-sra.c (type_internals_preclude_sra_p): Also check that
bit_position is small enough to fit a single HOST_WIDE_INT.

* testsuite/g++.dg/torture/pr55355.C: New test.

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

8 years ago2012-12-21 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org>
mgretton [Fri, 21 Dec 2012 09:56:19 +0000 (09:56 +0000)]
2012-12-21  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>

* config.gcc: Match arm*-*-uclinux*eabi* for EABI uCLinux.

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

8 years agoDaily bump.
gccadmin [Fri, 21 Dec 2012 00:18:02 +0000 (00:18 +0000)]
Daily bump.

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

8 years ago2012-12-20 Tobias Burnus <burnus@net-b.de>
burnus [Thu, 20 Dec 2012 10:48:11 +0000 (10:48 +0000)]
2012-12-20  Tobias Burnus  <burnus@net-b.de>

        PR fortran/54818
        * trans-intrinsic.c (gfc_conv_intrinsic_transfer): Ensure that
        the string length is of type gfc_charlen_type_node.

2012-12-20  Tobias Burnus  <burnus@net-b.de>

        PR fortran/54818
        * gfortran.dg/transfer_intrinsic_4.f: New.

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

8 years ago PR c++/55724
jason [Thu, 20 Dec 2012 02:58:16 +0000 (02:58 +0000)]
PR c++/55724
* pt.c (type_unification_real): Re-combine post-deduction loops.

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

8 years agoDaily bump.
gccadmin [Thu, 20 Dec 2012 00:18:22 +0000 (00:18 +0000)]
Daily bump.

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

8 years agoDaily bump.
gccadmin [Wed, 19 Dec 2012 00:17:59 +0000 (00:17 +0000)]
Daily bump.

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

8 years ago Backport r192475 from mainline.
mgretton [Tue, 18 Dec 2012 14:27:14 +0000 (14:27 +0000)]
Backport r192475 from mainline.
gcc/
2012-10-15  Matthias Klose  <doko@ubuntu.com>

        * config.gcc: Match arm*-*-linux-* for ARM Linux/GNU.
        * doc/install.texi: Use arm-*-*linux-* instead of arm-*-*linux-gnueabi.

gcc/testsuite/
2012-10-15  Matthias Klose  <doko@ubuntu.com>

        * lib/target-supports.exp (check_profiling_available): Match
        arm*-*-linux-* for ARM Linux/GNU.
        * g++.dg/torture/predcom-1.C: Match arm*-*-linux-* for ARM Linux/GNU.
        * gfortran.dg/enum_10.f90: Likewise.
        * gfortran.dg/enum_9.f90: Likewise.
        * gcc.target/arm/synchronize.c: Likewise.
        * g++.old-deja/g++.jason/enum6.C: Likewise.
        * g++.old-deja/g++.other/enum4.C: Likewise.
        * g++.old-deja/g++.law/enum9.C: Likewise.

gcc/ada/
2012-10-15  Matthias Klose  <doko@ubuntu.com>

        * gcc-interface/Makefile.in: Match arm*-*-linux-*eabi* for
        ARM Linux/GNU.

libgcc/
2012-10-15  Matthias Klose  <doko@ubuntu.com>

        * config.host: Match arm*-*-linux-* for ARM Linux/GNU.

libstdc++-v3/
2012-10-15  Matthias Klose  <doko@ubuntu.com>

        * configure.host: Match arm*-*-linux-* for ARM Linux/GNU.
        * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Likewise.
        * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Likewise.

libjava/
2012-10-15  Matthias Klose  <doko@ubuntu.com>

        * configure.ac: Match arm*-*-linux-* for ARM Linux/GNU.
        * configure: Regenerate.

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

8 years ago * doc/xml/manual/abi.xml: Update URLs for C++ ABI.
redi [Tue, 18 Dec 2012 12:15:43 +0000 (12:15 +0000)]
* doc/xml/manual/abi.xml: Update URLs for C++ ABI.
* doc/xml/manual/policy_data_structures_biblio.xml: Add xmlns
* doc/xml/manual/policy_data_structures.xml: Set filename for chunk.
* doc/xml/manual/spine.xml: Update copyright years.
* doc/html/*: Regenerate.

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

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

8 years ago2012-12-17 Matthias Klose <doko@ubuntu.com>
doko [Mon, 17 Dec 2012 14:56:45 +0000 (14:56 +0000)]
2012-12-17  Matthias Klose  <doko@ubuntu.com>

        * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
        as unused.
        (_Unwind_decode_typeinfo_ptr): Mark base as unused.

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

8 years ago * src/c++11/thread.cc: Update copyright years.
redi [Mon, 17 Dec 2012 02:14:30 +0000 (02:14 +0000)]
* src/c++11/thread.cc: Update copyright years.

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

8 years agoDaily bump.
gccadmin [Mon, 17 Dec 2012 00:18:19 +0000 (00:18 +0000)]
Daily bump.

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

8 years ago * src/c++11/thread.cc (execute_native_thread_routine): Do not swallow
redi [Sun, 16 Dec 2012 21:21:14 +0000 (21:21 +0000)]
* src/c++11/thread.cc (execute_native_thread_routine): Do not swallow
__forced_unwind exceptions.
* testsuite/30_threads/thread/native_handle/cancel.cc: New.

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

8 years ago PR ada/54614
ebotcazou [Sun, 16 Dec 2012 10:40:32 +0000 (10:40 +0000)]
PR ada/54614
Backport from mainline

2012-10-01  Vincent Pucci  <pucci@adacore.com>

* s-gearop.adb (Vector_Matrix_Product): Fix dimension check and index
of Left in S evaluation.

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

8 years ago PR target/55673
ebotcazou [Sun, 16 Dec 2012 10:26:08 +0000 (10:26 +0000)]
PR target/55673
* config/sparc/sparc.c (sparc_emit_membar_for_model): Fix reversed
handling of before and after cases.
* config/sparc/sync.md (atomic_store): Fix pasto.

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

8 years agoDaily bump.
gccadmin [Sun, 16 Dec 2012 00:17:51 +0000 (00:17 +0000)]
Daily bump.

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

8 years ago PR ada/53766
ebotcazou [Sat, 15 Dec 2012 18:16:28 +0000 (18:16 +0000)]
PR ada/53766
Backport from mainline

2012-07-17  Hristian Kirtchev  <kirtchev@adacore.com>

* exp_attr.adb (Expand_N_Attribute_Reference): Add local variables Attr
and Conversion_Added.  Add local constant Typ.
Retrieve the original attribute after the arithmetic check
machinery has modified the node. Add a conversion to the target
type when the prefix of attribute Max_Size_In_Storage_Elements
is a controlled type.

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

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

8 years ago* optabs.c (expand_atomic_store): Elide redundant model test.
rth [Fri, 14 Dec 2012 16:26:17 +0000 (16:26 +0000)]
* optabs.c (expand_atomic_store): Elide redundant model test.

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

8 years agoDaily bump.
gccadmin [Fri, 14 Dec 2012 00:18:40 +0000 (00:18 +0000)]
Daily bump.

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

8 years agoPR middle-end/55492
rth [Thu, 13 Dec 2012 21:17:52 +0000 (21:17 +0000)]
PR middle-end/55492

        * optabs.c (expand_atomic_load): Emit acquire barrier after the load.

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

8 years agoDaily bump.
gccadmin [Thu, 13 Dec 2012 00:18:36 +0000 (00:18 +0000)]
Daily bump.

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

8 years ago PR libstdc++/55631
redi [Wed, 12 Dec 2012 23:01:40 +0000 (23:01 +0000)]
PR libstdc++/55631
* include/ext/alloc_traits.h: Include missing header.
* include/ext/pointer.h: Likewise.
* include/ext/string_conversions.h: Require C++11.
* libsupc++/initializer_list: Reindent.

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

8 years ago2012-12-12 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 12 Dec 2012 22:17:29 +0000 (22:17 +0000)]
2012-12-12  Benjamin Kosnik  <bkoz@redhat.com>

        * doc/xml/manual/documentation_hacking.xml: Fix validation issue.

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

8 years agoDaily bump.
gccadmin [Wed, 12 Dec 2012 00:18:30 +0000 (00:18 +0000)]
Daily bump.

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

8 years ago PR c++/54883
jason [Tue, 11 Dec 2012 22:46:22 +0000 (22:46 +0000)]
PR c++/54883
* decl2.c (min_vis_r): Handle anon visibility for enums.

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

8 years ago PR c++/55643
jakub [Tue, 11 Dec 2012 19:06:19 +0000 (19:06 +0000)]
PR c++/55643
* expr.c (mark_exp_read): Handle FLOAT_EXPR similarly to NOP_EXPR.

* g++.dg/warn/Wunused-var-19.C: New test.

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

8 years ago PR target/54121
ebotcazou [Tue, 11 Dec 2012 18:44:48 +0000 (18:44 +0000)]
PR target/54121
* config/sparc/sparc.md (tldo_stb_sp32): Fix pasto.
(tldo_stb_sp64): Likewise.
(tldo_sth_sp32): Likewise.
(tldo_sth_sp64): Likewise.
(tldo_stw_sp32): Likewise.
(tldo_stw_sp64): Likewise.
(tldo_stx_sp64): Likewise.

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

8 years ago2012-12-10 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 11 Dec 2012 16:29:39 +0000 (16:29 +0000)]
2012-12-10  Benjamin Kosnik  <bkoz@redhat.com>

* doc/Makefile.am (xml_sources_manual): Add
policy_data_structures_biblio.xml.
(${docbook_outdir}/latex): Add.
(doc-xml-validate-docbook): Split into..
(doc-xml-validate-dtd-db):... this for DTD.
(doc-xml-validate-rng-db):... this for Relax NG.
(doc-pdf-docbook-dirs): Add.
(doc-pdf-docbook-pre): Add.
* doc/xml/manual/build_hacking.xml: Add literal markup.
* doc/xml/manual/documentation_hacking.xml: Clean whitespace in
<filename> markup. Add notes about debugging the generation process.
* doc/xml/manual/policy_data_structures.xml: Split biblio into...
* doc/xml/manual/policy_data_structures_biblio.xml: ... this. New.
* doc/xml/manual/test_policy_data_structures.xml: Fixup <filename>
markup.

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

8 years ago * doc/xsl/customization.xsl.in: Set svn:mime-type property to text/xml.
doko [Tue, 11 Dec 2012 06:31:50 +0000 (06:31 +0000)]
* doc/xsl/customization.xsl.in: Set svn:mime-type property to text/xml.

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

8 years agoDaily bump.
gccadmin [Tue, 11 Dec 2012 00:18:09 +0000 (00:18 +0000)]
Daily bump.

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

8 years ago PR target/53912
ktietz [Mon, 10 Dec 2012 09:54:16 +0000 (09:54 +0000)]
PR target/53912
* print-tree.c (print_node): Cast from pointer via uintptr_t.

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

8 years ago2012-12-10 Matthias Klose <doko@ubuntu.com>
doko [Mon, 10 Dec 2012 09:09:44 +0000 (09:09 +0000)]
2012-12-10  Matthias Klose  <doko@ubuntu.com>

        * src/Makefile.am (libstdc++-symbols.ver): Use CONFIG_HEADER.
        * src/Makefile.in: Regenerate.

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

8 years agoDaily bump.
gccadmin [Mon, 10 Dec 2012 00:18:59 +0000 (00:18 +0000)]
Daily bump.

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

8 years ago PR target/55344
uros [Sun, 9 Dec 2012 18:21:41 +0000 (18:21 +0000)]
PR target/55344
* config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.

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

8 years agoDaily bump.
gccadmin [Sun, 9 Dec 2012 00:18:02 +0000 (00:18 +0000)]
Daily bump.

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

8 years ago PR c++/55419
jason [Sat, 8 Dec 2012 03:31:56 +0000 (03:31 +0000)]
PR c++/55419
* tree.c (build_target_expr): Don't set TREE_CONSTANT.

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

8 years agoDaily bump.
gccadmin [Sat, 8 Dec 2012 00:20:09 +0000 (00:20 +0000)]
Daily bump.

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

8 years ago2012-12-07 Matthias Klose <doko@ubuntu.com>
doko [Fri, 7 Dec 2012 09:23:36 +0000 (09:23 +0000)]
2012-12-07  Matthias Klose  <doko@ubuntu.com>

        * tree.c (build_aggr_init_expr): Add parameter name, mark as unused.

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

8 years ago * gnat.dg/stack_check3.ad[sb]: Delete in the root directory.
uros [Fri, 7 Dec 2012 08:14:50 +0000 (08:14 +0000)]
* gnat.dg/stack_check3.ad[sb]: Delete in the root directory.

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

8 years ago * gnat.dg/stack_check3.ad[sb]: Move to gnat.dg directory.
uros [Fri, 7 Dec 2012 08:13:33 +0000 (08:13 +0000)]
* gnat.dg/stack_check3.ad[sb]: Move to gnat.dg directory.

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

8 years ago Backport from mainline
uros [Fri, 7 Dec 2012 08:10:37 +0000 (08:10 +0000)]
Backport from mainline
2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
    H.J. Lu  <hongjiu.lu@intel.com>

PR target/55597
* config/i386/i386.c (legitimize_tls_address): Zero-extend x to Pmode,
before using it as insn or call equivalent.

testsuite/ChangeLog:

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

PR target/55597
* gcc.target/i386/pr55597.c: New test.

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

8 years ago PR c++/54325
jason [Fri, 7 Dec 2012 05:13:33 +0000 (05:13 +0000)]
PR c++/54325
* tree.c (build_aggr_init_expr): Don't check for abstract class.

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

8 years ago PR c++/55058
jason [Fri, 7 Dec 2012 05:13:22 +0000 (05:13 +0000)]
PR c++/55058
* pt.c (tsubst): Keep the quals when looking through a typedef.

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

8 years ago PR c++/55249
jason [Fri, 7 Dec 2012 05:13:11 +0000 (05:13 +0000)]
PR c++/55249
* tree.c (build_vec_init_elt): Use the type of the initializer.

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

8 years agomove declaration to top of block
jason [Fri, 7 Dec 2012 05:13:01 +0000 (05:13 +0000)]
move declaration to top of block

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

8 years agoDaily bump.
gccadmin [Fri, 7 Dec 2012 00:18:18 +0000 (00:18 +0000)]
Daily bump.

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

8 years ago PR c++/54744
jason [Thu, 6 Dec 2012 20:21:44 +0000 (20:21 +0000)]
PR c++/54744
* pt.c (resolve_typename_type): Check TYPENAME_IS_RESOLVING_P on scope.

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

8 years ago PR c++/55032
jason [Thu, 6 Dec 2012 20:21:29 +0000 (20:21 +0000)]
PR c++/55032
* tree.c (build_array_type_1): Re-layout if we found it in the
hash table.

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

8 years ago PR c++/54947
jason [Thu, 6 Dec 2012 14:40:04 +0000 (14:40 +0000)]
PR c++/54947
* parser.c (cp_parser_initializer_list): Don't require an
expression in [] to be constant until we know it's a C99
designator.

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

8 years ago PR c++/55015
jason [Thu, 6 Dec 2012 14:39:52 +0000 (14:39 +0000)]
PR c++/55015
PR c++/53821
* semantics.c (maybe_add_lambda_conv_op): Revert earlier change.
* decl.c (start_preparsed_function): Make local class methods comdat
in templates, too.

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

8 years ago * config/pa/pa.md: Use "const_int 0" instead of match_test to simplify
danglin [Thu, 6 Dec 2012 01:41:36 +0000 (01:41 +0000)]
* config/pa/pa.md: Use "const_int 0" instead of match_test to simplify
opaque cond in all call insns.

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

8 years agoDaily bump.
gccadmin [Thu, 6 Dec 2012 00:18:09 +0000 (00:18 +0000)]
Daily bump.

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