OSDN Git Service

pf3gnuchains/gcc-fork.git
6 years agoFix for Homebrew. I don't care about another environments. This may be reverted and...
Masaki Muranaka [Sat, 26 Apr 2014 13:41:46 +0000 (22:41 +0900)]
Fix for Homebrew. I don't care about another environments. This may be reverted and fixed.

7 years agoMerge remote-tracking branch 'gcc/gcc-4_6-branch' into rework
Masaki Muranaka [Mon, 4 Feb 2013 08:20:16 +0000 (17:20 +0900)]
Merge remote-tracking branch 'gcc/gcc-4_6-branch' into rework

7 years agoDaily bump.
gccadmin [Mon, 4 Feb 2013 00:17:56 +0000 (00:17 +0000)]
Daily bump.

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

7 years ago2013-02-03 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Sun, 3 Feb 2013 13:15:18 +0000 (13:15 +0000)]
2013-02-03  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/50627
PR fortran/56054
* decl.c (gfc_match_end):  Remove half-ready namespace
from parent if the end of a block is missing.
* parse.c (parse_module):  Do not put namespace into
gsymbol on error.

2013-02-03  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/50627
PR fortran/56054
* gfortran.dg/block_12.f90:  New test.
* gfortran.dg/module_error_1.f90:  New test.

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

7 years agoDaily bump.
gccadmin [Sun, 3 Feb 2013 00:18:07 +0000 (00:18 +0000)]
Daily bump.

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

7 years agoDaily bump.
gccadmin [Sat, 2 Feb 2013 00:17:26 +0000 (00:17 +0000)]
Daily bump.

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

7 years ago * fold-const.c (make_range_step) <TRUTH_NOT_EXPR>: Bail out if the
ebotcazou [Fri, 1 Feb 2013 10:26:07 +0000 (10:26 +0000)]
* fold-const.c (make_range_step) <TRUTH_NOT_EXPR>: Bail out if the
range isn't testing for zero.

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

7 years agoDaily bump.
gccadmin [Fri, 1 Feb 2013 00:17:50 +0000 (00:17 +0000)]
Daily bump.

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

7 years agoDaily bump.
gccadmin [Thu, 31 Jan 2013 00:17:44 +0000 (00:17 +0000)]
Daily bump.

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

7 years ago PR other/54620
ktietz [Wed, 30 Jan 2013 16:58:10 +0000 (16:58 +0000)]
PR other/54620
PR target/39064
* md5.h (md5_uintptr, md5_uint32): Define as uintptr_t/uint32_t if
stdint.h and sys/types.h headers are present.
* sha1.h (sha1_uintptr, sha1_uint32): Likewise.

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

7 years agoDaily bump.
gccadmin [Wed, 30 Jan 2013 00:17:38 +0000 (00:17 +0000)]
Daily bump.

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

7 years agoDaily bump.
gccadmin [Tue, 29 Jan 2013 00:17:35 +0000 (00:17 +0000)]
Daily bump.

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

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

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

7 years ago Backport from mainline
uros [Sun, 27 Jan 2013 18:37:23 +0000 (18:37 +0000)]
Backport from mainline
2013-01-27  Uros Bizjak  <ubizjak@gmail.com>

PR target/56114
* config/i386/i386.md (*movabs<mode>_1): Add square brackets around
operand 0 in movabs insn template for -masm=intel asm alternative.
(*movabs<mode>_2): Ditto for operand 1.

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

7 years agoDaily bump.
gccadmin [Sun, 27 Jan 2013 00:17:06 +0000 (00:17 +0000)]
Daily bump.

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

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

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

7 years agoDaily bump.
gccadmin [Fri, 25 Jan 2013 00:17:07 +0000 (00:17 +0000)]
Daily bump.

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

7 years ago2013-01-24 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 24 Jan 2013 15:41:04 +0000 (15:41 +0000)]
2013-01-24  Martin Jambor  <mjambor@suse.cz>

Backport from mainline
2013-01-04  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/55755
* tree-sra.c (sra_modify_assign): Do not check that an access has no
children when trying to avoid producing a VIEW_CONVERT_EXPR.

testsuite/
* gcc.dg/torture/pr55755.c: New test.
* gcc.dg/tree-ssa/sra-13.c: Likewise.
* gcc.dg/tree-ssa/pr45144.c: Update.

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

7 years agoDaily bump.
gccadmin [Thu, 24 Jan 2013 00:17:57 +0000 (00:17 +0000)]
Daily bump.

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

7 years agoDaily bump.
gccadmin [Wed, 23 Jan 2013 00:17:26 +0000 (00:17 +0000)]
Daily bump.

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

7 years agoDaily bump.
gccadmin [Tue, 22 Jan 2013 00:17:02 +0000 (00:17 +0000)]
Daily bump.

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

7 years ago PR rtl-optimization/56023
uros [Mon, 21 Jan 2013 18:02:57 +0000 (18:02 +0000)]
PR rtl-optimization/56023
* haifa-sched.c (fix_inter_tick): Do not update ticks of instructions,
dependent on debug instruction.

testsuite/ChangeLog:

PR rtl-optimization/56023
* gcc.dg/pr56023.c: New test.

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

7 years ago2013-01-21 Martin Jambor <mjambor@suse.cz>
jamborm [Mon, 21 Jan 2013 17:09:22 +0000 (17:09 +0000)]
2013-01-21  Martin Jambor  <mjambor@suse.cz>

        PR tree-optimizations/55264
* cgraph.c (cgraph_create_virtual_clone): Mark clones as non-virtual.
* cgraph.h (cgraph_only_called_directly_p): Return false for virtual
functions.
* ipa-inline.c (cgraph_clone_inlined_nodes): Do reuse nodes of any
virtual function.
* ipa.c (cgraph_remove_unreachable_nodes): Never return true for
virtual methods before inlining is over.

testsuite/
* g++.dg/ipa/pr55264.C: New test.

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

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

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

7 years agoDaily bump.
gccadmin [Sun, 20 Jan 2013 00:17:14 +0000 (00:17 +0000)]
Daily bump.

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

7 years agoDaily bump.
gccadmin [Sat, 19 Jan 2013 00:17:10 +0000 (00:17 +0000)]
Daily bump.

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

7 years agoDaily bump.
gccadmin [Fri, 18 Jan 2013 00:17:16 +0000 (00:17 +0000)]
Daily bump.

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

7 years agoDaily bump.
gccadmin [Thu, 17 Jan 2013 00:17:29 +0000 (00:17 +0000)]
Daily bump.

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

7 years agoDaily bump.
gccadmin [Wed, 16 Jan 2013 00:17:00 +0000 (00:17 +0000)]
Daily bump.

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

7 years agoDaily bump.
gccadmin [Tue, 15 Jan 2013 00:17:01 +0000 (00:17 +0000)]
Daily bump.

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

7 years ago2013-01-14 Janus Weil <janus@gcc.gnu.org>
janus [Mon, 14 Jan 2013 21:24:36 +0000 (21:24 +0000)]
2013-01-14  Janus Weil  <janus@gcc.gnu.org>

PR fortran/55072
* trans-array.c (gfc_conv_array_parameter): No packing was done for
full arrays of derived type.

2013-01-14  Janus Weil  <janus@gcc.gnu.org>

PR fortran/55072
* gfortran.dg/internal_pack_13.f90: New test.
* gfortran.dg/internal_pack_14.f90: New test.

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

7 years ago- fix whitespace in laste gcc/ChangeLog entry
doko [Mon, 14 Jan 2013 18:24:52 +0000 (18:24 +0000)]
- fix whitespace in laste gcc/ChangeLog entry

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

7 years ago2013-01-14 Paul Thomas <pault@gcc.gnu.org>
pault [Mon, 14 Jan 2013 17:59:07 +0000 (17:59 +0000)]
2013-01-14  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/55618
* trans-expr.c (gfc_conv_procedure_call): Dereference scalar
character function arguments to elemental procedures in
scalarization loops.

2013-01-14  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/55618
* gfortran.dg/elemental_scalar_args_2.f90: New test.

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

7 years ago- insert blank line in gcc/ChangeLog
doko [Mon, 14 Jan 2013 16:48:58 +0000 (16:48 +0000)]
- insert blank line in gcc/ChangeLog

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

7 years ago2013-01-14 Matthias Klose <doko@ubuntu.com>
doko [Mon, 14 Jan 2013 16:35:23 +0000 (16:35 +0000)]
2013-01-14  Matthias Klose  <doko@ubuntu.com>

* doc/invoke.texi: Document -print-multiarch.
* doc/install.texi: Document --enable-multiarch.
* doc/fragments.texi: Document MULTILIB_OSDIRNAMES, MULTIARCH_DIRNAME.
* configure.ac: Add --enable-multiarch option.
Substitute with_cpu, with_float.
* configure: Regenerate.
* Makefile.in (s-mlib): Pass MULTIARCH_DIRNAME to genmultilib.
enable_multiarch, with_cpu, with_float: New macros.
if_multiarch: New macro, define in terms of enable_multiarch.
* genmultilib: Add new argument for the multiarch name.
* gcc.c (multiarch_dir): Define.
(for_each_path): Search for multiarch suffixes.
(driver_handle_option): Handle multiarch option.
(do_spec_1): Pass -imultiarch if defined.
(main): Print multiarch.
(set_multilib_dir): Separate multilib and multiarch names
from multilib_select.
(print_multilib_info): Ignore multiarch names in multilib_select.
* incpath.c (add_standard_paths): Search the multiarch include dirs.
* cppdefault.h (default_include): Document multiarch in multilib
member.
* cppdefault.c: [LOCAL_INCLUDE_DIR, STANDARD_INCLUDE_DIR] Add an
        include directory for multiarch directories.
* common.opt: New options --print-multiarch and -imultilib.

* config.gcc <i[34567]86-*-gnu*> (tmake_file): Include i386/t-gnu.
<i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu> (tmake_file):
Include i386/t-kfreebsd.
* config/i386/t-linux64: Add multiarch names in
MULTILIB_OSDIRNAMES, define MULTIARCH_DIRNAME.
* config/i386/t-linux: Define MULTIARCH_DIRNAME.
* config/i386/t-gnu: New file.
* config/i386/t-kfreebsd: Likewise.

* config/sparc/t-linux64: Add multiarch names in MULTILIB_OSDIRNAMES.
* config/sparc/t-linux: Define MULTIARCH_DIRNAME.

* config/pa/t-linux, config/pa/t-linux64: Define MULTIARCH_DIRNAME.

* config/mips/t-linux64: Add multiarch names in MULTILIB_OSDIRNAMES.

* config/arm/t-linux-eabi: Define MULTIARCH_DIRNAME for linux target.

* config/rs6000/t-linux64: Add multiarch names in MULTILIB_OSDIRNAMES.
* config/rs6000/t-linux: New file; define MULTIARCH_DIRNAME.
* config/rs6000/t-fprules (SOFT_FLOAT_CPUS): New macro. Add e300c2
to the list.
(MULTILIB_MATCHES_FLOAT): Define in terms of SOFT_FLOAT_CPUS.
* config.gcc <powerpc-*-linux* | powerpc64-*-linux*> (tmake_file):
Include rs6000/t-linux for 32bit non-biarch configurations.

* config/s390/t-linux64: Add multiarch names in MULTILIB_OSDIRNAMES.

* config/m68k/t-linux: Define MULTIARCH_DIRNAME.

* config/ia64/t-linux: New file; define MULTIARCH_DIRNAME.
* config.gcc <ia64*-*-linux*> (tmake_file): Include ia64/t-linux.

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

7 years ago * tree-vectorizer.h (vect_get_single_scalar_iteraion_cost): Fix typo.
ebotcazou [Mon, 14 Jan 2013 15:00:14 +0000 (15:00 +0000)]
* tree-vectorizer.h (vect_get_single_scalar_iteraion_cost): Fix typo.
* tree-vect-loop.c (vect_get_single_scalar_iteraion_cost): Likewise.
(vect_estimate_min_profitable_iter): Adjust to above fix.
* tree-vect-data-refs.c (vect_peeling_hash_get_lowest_cost): Likewise.

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

7 years agoDaily bump.
gccadmin [Mon, 14 Jan 2013 00:16:55 +0000 (00:16 +0000)]
Daily bump.

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

7 years agoDaily bump.
gccadmin [Sun, 13 Jan 2013 00:17:05 +0000 (00:17 +0000)]
Daily bump.

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

7 years agoDaily bump.
gccadmin [Sat, 12 Jan 2013 00:18:38 +0000 (00:18 +0000)]
Daily bump.

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

7 years agoDaily bump.
gccadmin [Fri, 11 Jan 2013 00:17:29 +0000 (00:17 +0000)]
Daily bump.

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

7 years agoDaily bump.
gccadmin [Thu, 10 Jan 2013 00:17:18 +0000 (00:17 +0000)]
Daily bump.

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

7 years agoDaily bump.
gccadmin [Wed, 9 Jan 2013 00:17:25 +0000 (00:17 +0000)]
Daily bump.

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

7 years ago PR fortran/42769
mikael [Tue, 8 Jan 2013 20:01:49 +0000 (20:01 +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_6-branch@195032 138bc75d-0d04-0410-961f-82ee72b054a4

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

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

7 years agoRemove non-existant change from the ChangeLog
mikael [Mon, 7 Jan 2013 18:16:44 +0000 (18:16 +0000)]
Remove non-existant change from the ChangeLog

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

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

PR fortran/55827
* 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_6-branch@194987 138bc75d-0d04-0410-961f-82ee72b054a4

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

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

7 years agoDaily bump.
gccadmin [Sun, 6 Jan 2013 00:16:53 +0000 (00:16 +0000)]
Daily bump.

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

7 years ago PR target/53789
danglin [Sat, 5 Jan 2013 16:55:43 +0000 (16:55 +0000)]
PR target/53789
* config/pa/pa.md (movsi): Revert previous change.
* config/pa/pa.h (LEGITIMATE_CONSTANT_P): Reject all TLS symbol
references.

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

7 years agoDaily bump.
gccadmin [Sat, 5 Jan 2013 00:16:35 +0000 (00:16 +0000)]
Daily bump.

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

7 years ago PR c++/55877
jason [Fri, 4 Jan 2013 20:30:15 +0000 (20:30 +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_6-branch@194915 138bc75d-0d04-0410-961f-82ee72b054a4

7 years agoi386: Backport gcc.dg/torture/tls/tls-reload-1.c fix from master
rth [Fri, 4 Jan 2013 04:19:44 +0000 (04:19 +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_6-branch@194883 138bc75d-0d04-0410-961f-82ee72b054a4

7 years agoDaily bump.
gccadmin [Fri, 4 Jan 2013 00:17:41 +0000 (00:17 +0000)]
Daily bump.

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

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

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

7 years ago PR c++/55804
jason [Wed, 2 Jan 2013 19:03:46 +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_6-branch@194813 138bc75d-0d04-0410-961f-82ee72b054a4

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

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

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

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

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

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

7 years agoDaily bump.
gccadmin [Sun, 30 Dec 2012 00:17:01 +0000 (00:17 +0000)]
Daily bump.

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

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

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

7 years agoDaily bump.
gccadmin [Fri, 28 Dec 2012 00:16:48 +0000 (00:16 +0000)]
Daily bump.

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

7 years agoDaily bump.
gccadmin [Thu, 27 Dec 2012 00:16:59 +0000 (00:16 +0000)]
Daily bump.

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

7 years ago PR target/53789
danglin [Wed, 26 Dec 2012 17:29:08 +0000 (17:29 +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_6-branch@194723 138bc75d-0d04-0410-961f-82ee72b054a4

7 years agoDaily bump.
gccadmin [Wed, 26 Dec 2012 00:17:07 +0000 (00:17 +0000)]
Daily bump.

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

7 years agoDaily bump.
gccadmin [Tue, 25 Dec 2012 00:17:12 +0000 (00:17 +0000)]
Daily bump.

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

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

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

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

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

7 years agoDaily bump.
gccadmin [Sat, 22 Dec 2012 00:17:32 +0000 (00:17 +0000)]
Daily bump.

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

7 years ago2012-12-21 Martin Jambor <mjambor@suse.cz>
jamborm [Fri, 21 Dec 2012 22:28:40 +0000 (22:28 +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_6-branch@194686 138bc75d-0d04-0410-961f-82ee72b054a4

7 years agoDaily bump.
gccadmin [Fri, 21 Dec 2012 00:17:14 +0000 (00:17 +0000)]
Daily bump.

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

7 years agoDaily bump.
gccadmin [Thu, 20 Dec 2012 00:17:25 +0000 (00:17 +0000)]
Daily bump.

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

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

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

7 years agoDaily bump.
gccadmin [Tue, 18 Dec 2012 00:17:06 +0000 (00:17 +0000)]
Daily bump.

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

7 years ago * src/c++11/thread.cc (execute_native_thread_routine): Do not swallow
redi [Mon, 17 Dec 2012 02:15:34 +0000 (02:15 +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_6-branch@194549 138bc75d-0d04-0410-961f-82ee72b054a4

7 years agoDaily bump.
gccadmin [Mon, 17 Dec 2012 00:17:34 +0000 (00:17 +0000)]
Daily bump.

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

7 years ago PR ada/54614
ebotcazou [Sun, 16 Dec 2012 10:45:12 +0000 (10:45 +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_6-branch@194535 138bc75d-0d04-0410-961f-82ee72b054a4

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

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

7 years agoDaily bump.
gccadmin [Sat, 15 Dec 2012 00:16:59 +0000 (00:16 +0000)]
Daily bump.

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

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

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

7 years agoDaily bump.
gccadmin [Thu, 13 Dec 2012 00:17:33 +0000 (00:17 +0000)]
Daily bump.

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

7 years agoDaily bump.
gccadmin [Wed, 12 Dec 2012 00:17:39 +0000 (00:17 +0000)]
Daily bump.

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

7 years ago PR c++/54883
jason [Tue, 11 Dec 2012 22:46:37 +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_6-branch@194432 138bc75d-0d04-0410-961f-82ee72b054a4

7 years ago PR target/54121
ebotcazou [Tue, 11 Dec 2012 18:46:20 +0000 (18:46 +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_6-branch@194413 138bc75d-0d04-0410-961f-82ee72b054a4

7 years agoDaily bump.
gccadmin [Tue, 11 Dec 2012 00:17:02 +0000 (00:17 +0000)]
Daily bump.

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

7 years agoDaily bump.
gccadmin [Mon, 10 Dec 2012 00:17:48 +0000 (00:17 +0000)]
Daily bump.

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

7 years agoDaily bump.
gccadmin [Sun, 9 Dec 2012 00:17:13 +0000 (00:17 +0000)]
Daily bump.

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

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

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

7 years ago PR c++/55032
jason [Fri, 7 Dec 2012 04:58:45 +0000 (04:58 +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_6-branch@194286 138bc75d-0d04-0410-961f-82ee72b054a4

7 years ago PR c++/55249
jason [Fri, 7 Dec 2012 04:58:32 +0000 (04:58 +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_6-branch@194285 138bc75d-0d04-0410-961f-82ee72b054a4

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

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

7 years ago Backport for mainline:
danglin [Thu, 6 Dec 2012 02:19:48 +0000 (02:19 +0000)]
Backport for mainline:
2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

PR middle-end/50283
* config/pa/pa.md (in_branch_delay): Disallow frame related insns.
(in_nullified_branch_delay): Likewise.
(in_call_delay): Likewise.

2012-11-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

PR target/55195
* config/pa/pa.md (type): Add sibcall and sh_func_adrs insn types.
(in_branch_delay): Don't allow sibcall or sh_func_adrs insns.
(in_nullified_branch_delay): Likewise.
(in_call_delay): Likewise.
Define delay for sibcall insns.  Adjust Z3 and Z4 insn reservations for
new types.  Add opaque cond to mark all calls, sibcalls, dyncalls and
the $$sh_func_adrs call as variable.  Update type of sibcalls and
$$sh_func_adrs call.
* config/pa/pa.c (pa_adjust_insn_length): Revise to return updated
length instead of adjustment.  Handle negative and undefined call
adjustments for insn_default_length.  Remove adjustment for millicode
insn with unfilled delay slot.
(pa_output_millicode_call): Update for revised millicode length.
* config/pa/pa.h (ADJUST_INSN_LENGTH): Revise to set LENGTH.

2012-12-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

* 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_6-branch@194238 138bc75d-0d04-0410-961f-82ee72b054a4

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

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

7 years agoDaily bump.
gccadmin [Wed, 5 Dec 2012 00:17:07 +0000 (00:17 +0000)]
Daily bump.

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

7 years agoPR bootstrap/55571
rth [Tue, 4 Dec 2012 19:11:33 +0000 (19:11 +0000)]
PR bootstrap/55571

        * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.

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

7 years ago * config/ia64/ia64.c (ia64_compute_frame_size): Allocate the scratch
ebotcazou [Tue, 4 Dec 2012 09:09:12 +0000 (09:09 +0000)]
* config/ia64/ia64.c (ia64_compute_frame_size): Allocate the scratch
area if the function allocates dynamic stack space.
(ia64_initial_elimination_offset): Adjust offsets to above change.

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

7 years agoDaily bump.
gccadmin [Tue, 4 Dec 2012 00:17:17 +0000 (00:17 +0000)]
Daily bump.

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

7 years agoDaily bump.
gccadmin [Mon, 3 Dec 2012 00:17:12 +0000 (00:17 +0000)]
Daily bump.

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

7 years agoDaily bump.
gccadmin [Sun, 2 Dec 2012 00:17:15 +0000 (00:17 +0000)]
Daily bump.

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

7 years ago * gcc.dg/torture/pr52407.c: Add "-fno-common" option on hppa*-*-hpux*.
danglin [Sat, 1 Dec 2012 21:48:09 +0000 (21:48 +0000)]
* gcc.dg/torture/pr52407.c: Add "-fno-common" option on hppa*-*-hpux*.

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

7 years agoDaily bump.
gccadmin [Sat, 1 Dec 2012 00:17:10 +0000 (00:17 +0000)]
Daily bump.

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