OSDN Git Service

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 years agosyscall: Fix splice syscall.
ian [Wed, 5 Dec 2012 08:48:44 +0000 (08:48 +0000)]
syscall: Fix splice syscall.

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

11 years agocompiler: Accept trailing comma after expression in type conversion.
ian [Wed, 5 Dec 2012 01:09:54 +0000 (01:09 +0000)]
compiler: Accept trailing comma after expression in type conversion.

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

11 years agocompiler: Make sure we produce an error for a call to a non-function.
ian [Wed, 5 Dec 2012 00:53:59 +0000 (00:53 +0000)]
compiler: Make sure we produce an error for a call to a non-function.

Fixes issue 19.

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

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

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

11 years agoPR bootstrap/55571
rth [Tue, 4 Dec 2012 19:09:59 +0000 (19:09 +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_7-branch@194160 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/ia64/ia64.c (ia64_compute_frame_size): Allocate the scratch
ebotcazou [Tue, 4 Dec 2012 09:07:45 +0000 (09:07 +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_7-branch@194122 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agomksysinfo: Fix TIOCNOTTY and TIOCSCTTY for ARM.
ian [Tue, 4 Dec 2012 06:23:14 +0000 (06:23 +0000)]
mksysinfo: Fix TIOCNOTTY and TIOCSCTTY for ARM.

From Matthias Klose.

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

11 years agoruntime: Fix build failures with -D_FORTIFY_SOURCE=2.
ian [Tue, 4 Dec 2012 06:15:14 +0000 (06:15 +0000)]
runtime: Fix build failures with -D_FORTIFY_SOURCE=2.

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

11 years agocompiler: Fix crash in go/defer of some builtin functions.
ian [Tue, 4 Dec 2012 05:17:43 +0000 (05:17 +0000)]
compiler: Fix crash in go/defer of some builtin functions.

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

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

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

11 years ago2012-12-03 Richard Biener <rguenther@suse.de>
rguenth [Mon, 3 Dec 2012 16:53:25 +0000 (16:53 +0000)]
2012-12-03  Richard Biener  <rguenther@suse.de>

Backport from mainline
2012-09-24  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/53663
* tree-ssa-sccvn.c (vn_reference_lookup_3): Conditional
native encode/interpret translation on VN_WALKREWRITE.

* gcc.dg/torture/pr53663-1.c: New testcase.
* gcc.dg/torture/pr53663-2.c: Likewise.
* gcc.dg/torture/pr53663-3.c: Likewise.

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

11 years agoFix PR c/55570.
mpolacek [Mon, 3 Dec 2012 13:10:18 +0000 (13:10 +0000)]
Fix PR c/55570.

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

11 years ago PR target/53912
ktietz [Mon, 3 Dec 2012 07:04:50 +0000 (07:04 +0000)]
PR target/53912
* ggc-common.c (POINTER_HASH): Cast from pointer via intptr_t.

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

11 years ago PR target/53912
ktietz [Mon, 3 Dec 2012 07:01:43 +0000 (07:01 +0000)]
PR target/53912
* tree-dump.c (dump_pointer): Print pointer via HOST_WIDE_INT_PRINT.

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

11 years ago PR target/53912
ktietz [Mon, 3 Dec 2012 06:55:55 +0000 (06:55 +0000)]
PR target/53912
* pointer-set.c (hash1): Cast from pointer via uintptr_t.

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

11 years agocompiler: Fix nil func panics, constant type conversions.
ian [Mon, 3 Dec 2012 03:26:07 +0000 (03:26 +0000)]
compiler: Fix nil func panics, constant type conversions.

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

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

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

11 years agoDaily bump.
gccadmin [Sun, 2 Dec 2012 00:18:12 +0000 (00:18 +0000)]
Daily bump.

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

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

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

11 years ago Backport from mainline:
danglin [Sat, 1 Dec 2012 20:36:04 +0000 (20:36 +0000)]
Backport from mainline:
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.

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

11 years ago PR ada/52110
danglin [Sat, 1 Dec 2012 19:45:24 +0000 (19:45 +0000)]
PR ada/52110
* s-osinte-hpux-dce.ads: Declare pthread_rwlockattr_t and
pthread_rwlock_t subtypes.  Delete duplicate declaration of clockid_t.
* s-taspri-hpux-dce.ads: Change "pragma Atomic (Thread)" to comment.

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

11 years ago PR libstdc++/55503
danglin [Sat, 1 Dec 2012 19:20:39 +0000 (19:20 +0000)]
PR libstdc++/55503
* testsuite/30_threads/condition_variable/members/53841.cc: Add
hppa*-hp-hpux11* to -pthread dg-options.

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

11 years agoDaily bump.
gccadmin [Sat, 1 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@194014 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agocompiler: Fix bug converting unnamed types with placeholders.
ian [Sat, 1 Dec 2012 00:15:36 +0000 (00:15 +0000)]
compiler: Fix bug converting unnamed types with placeholders.

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

11 years agoDaily bump.
gccadmin [Fri, 30 Nov 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@193975 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoPR libgcc/48076
rth [Thu, 29 Nov 2012 21:06:02 +0000 (21:06 +0000)]
PR libgcc/48076
        * emutls.c (__emutls_get_address): Avoid race condition between
        obj->loc.offset read and emutls_key initialization.

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

11 years ago PR c++/53137
jason [Thu, 29 Nov 2012 20:17:20 +0000 (20:17 +0000)]
PR c++/53137
* pt.c (tsubst_expr) [DECL_EXPR]: Set LAMBDA_EXPR_THIS_CAPTURE here.
(tsubst_copy_and_build) [LAMBDA_EXPR]: And clear it here.
(instantiate_class_template_1): Not here.

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

11 years ago PR c++/53862
jason [Thu, 29 Nov 2012 20:17:02 +0000 (20:17 +0000)]
PR c++/53862
* pt.c (tsubst_arg_types): Add "end" parameter.
(check_undeduced_parms): Use it.

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

11 years ago PR c++/50852
jason [Thu, 29 Nov 2012 20:16:46 +0000 (20:16 +0000)]
PR c++/50852
PR c++/53039
* tree.c (strip_typedefs_expr): New.
* cp-tree.h: Declare it.
* pt.c (convert_template_argument, unify): Use it.
* parser.c (cp_parser_template_declaration_after_export): Don't call
fixup_template_parms.

* cp-tree.h (TEMPLATE_PARM_NUM_SIBLINGS): Remove.
(struct template_parm_index_s): Remove num_siblings.
* pt.c (fixup_template_parms, fixup_template_parm_index): Remove.
(fixup_template_type_parm_type): Remove.
(build_template_parm_index): Remove num_siblings parm.
(process_template_parm): Likewise.
* parser.c (cp_parser_template_parameter_list): Adjust.
* tree.c (cp_tree_equal): Don't compare num_siblings.
* typeck.c (comp_template_parms_position): Likewise.

* pt.c (arg_from_parm_pack_p): Go back to using same_type_p or
cp_tree_equal.

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

11 years ago PR target/53912
ktietz [Thu, 29 Nov 2012 18:43:29 +0000 (18:43 +0000)]
PR target/53912
* prefix.c (lookup_key): Replace xmalloc/xrealloc
use by XNEWVEC/XRESIZEVEC.

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

11 years ago PR target/53912
ktietz [Thu, 29 Nov 2012 15:27:36 +0000 (15:27 +0000)]
PR target/53912
* class.c (dump_class_hierarchy_r): Cast from pointer via uintptr_t.
(dump_vtable): Likewise.

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

11 years ago PR target/55171
ktietz [Thu, 29 Nov 2012 09:18:54 +0000 (09:18 +0000)]
    PR target/55171
        * i386.c (get_scratch_register_on_entry): Handle
        thiscall-convention.
        (split_stack_prologue_scratch_regno): Likewise.
        (ix86_static_chain): Likewise.
        (x86_output_mi_thunk): Likewise.

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

11 years agoDaily bump.
gccadmin [Thu, 29 Nov 2012 00:17:41 +0000 (00:17 +0000)]
Daily bump.

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

11 years agoHandle OPT_SPECIAL_XXX in LTO
hjl [Wed, 28 Nov 2012 14:38:40 +0000 (14:38 +0000)]
Handle OPT_SPECIAL_XXX in LTO

Backported from mainline
PR lto/54795
* lto-opts.c (lto_write_options): Also handle
OPT_SPECIAL_unknown, OPT_SPECIAL_ignore and
OPT_SPECIAL_program_name.

PR lto/55474
* lto-wrapper.c (merge_and_complain): Handle
OPT_SPECIAL_unknown, OPT_SPECIAL_ignore,
OPT_SPECIAL_program_name and OPT_SPECIAL_input_file.

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

11 years agoDaily bump.
gccadmin [Wed, 28 Nov 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@193877 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-11-27 Paolo Bonzini <pbonzini@redhat.com>
bonzini [Tue, 27 Nov 2012 20:26:57 +0000 (20:26 +0000)]
2012-11-27  Paolo Bonzini  <pbonzini@redhat.com>

PR rtl-optimization/55489
* gcse.c (compute_transp): Precompute a canonical version
of XEXP (x, 0), and pass it to canon_true_dependence.

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

11 years ago2012-11-27 Richard Biener <rguenther@suse.de>
rguenth [Tue, 27 Nov 2012 09:23:15 +0000 (09:23 +0000)]
2012-11-27  Richard Biener  <rguenther@suse.de>

PR middle-end/55331
* gimple-fold.c (gimplify_and_update_call_from_tree): Replace
stmt with a NOP instead of removing it.

* g++.dg/opt/pr55331.C: New testcase.

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

11 years agoDaily bump.
gccadmin [Tue, 27 Nov 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@193835 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-11-26 Richard Biener <rguenther@suse.de>
rguenth [Mon, 26 Nov 2012 14:26:07 +0000 (14:26 +0000)]
2012-11-26  Richard Biener  <rguenther@suse.de>

Backport from mainline
2012-10-19  Richard Biener  <rguenther@suse.de>

PR tree-optimization/54976
* tree-vect-stmts.c (get_vectype_for_scalar_type_and_size):
Robustify against odd inner_mode inputs.

2012-10-12  Richard Biener  <rguenther@suse.de>

PR tree-optimization/54894
* tree-vect-stmts.c (get_vectype_for_scalar_type_and_size):
Handle over-aligned scalar types properly.

2012-10-02  Richard Guenther  <rguenther@suse.de>

PR middle-end/54735
* tree-ssa-pre.c (do_pre): Make sure to update virtual SSA form before
cleaning up the CFG.

2012-10-12  Richard Biener  <rguenther@suse.de>

PR tree-optimization/54894
* gcc.dg/torture/pr54894.c: New testcase.

2012-10-02  Richard Guenther  <rguenther@suse.de>

PR middle-end/54735
* g++.dg/torture/pr54735.C: New testcase.

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

11 years agoDaily bump.
gccadmin [Mon, 26 Nov 2012 00:17:54 +0000 (00:17 +0000)]
Daily bump.

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

11 years agocompiler: Don't use memcmp for equality if struct has trailing padding.
ian [Sun, 25 Nov 2012 00:55:57 +0000 (00:55 +0000)]
compiler: Don't use memcmp for equality if struct has trailing padding.

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

11 years agoDaily bump.
gccadmin [Sun, 25 Nov 2012 00:17:44 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago/cp
paolo [Sat, 24 Nov 2012 23:55:22 +0000 (23:55 +0000)]
/cp
2012-11-24  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/55446
* init.c (build_vec_init): Do not early return error_mark_mode
when integer_all_onesp (maxindex).

/testsuite
2012-11-24  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/55446
* g++.dg/init/new41.C: New.

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

11 years agosyscall: Fix handling of Unix domain @ addresses.
ian [Sat, 24 Nov 2012 20:46:46 +0000 (20:46 +0000)]
syscall: Fix handling of Unix domain @ addresses.

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

11 years ago2012-11-24 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Sat, 24 Nov 2012 17:13:25 +0000 (17:13 +0000)]
2012-11-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/55314
Backport from trunk
* resolve.c (resolve_allocate_deallocate):  Compare all
subscripts when deciding if to reject a (de)allocate
statement.

2012-11-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/55314
Backport from trunk
* gfortran.dg/allocate_error_4.f90:  New test.

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

11 years agoDaily bump.
gccadmin [Sat, 24 Nov 2012 00:17:44 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago2012-11-23 Janus Weil <janus@gcc.gnu.org>
janus [Fri, 23 Nov 2012 19:05:14 +0000 (19:05 +0000)]
2012-11-23  Janus Weil  <janus@gcc.gnu.org>

PR fortran/55352
* trans-decl.c (generate_local_decl): Don't warn for explicitly imported
but unused module variables which are in a namelist or common block.

2012-11-23  Janus Weil  <janus@gcc.gnu.org>

PR fortran/55352
* gfortran.dg/namelist_76.f90: New.

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

11 years agoDaily bump.
gccadmin [Fri, 23 Nov 2012 00:17:24 +0000 (00:17 +0000)]
Daily bump.

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

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

11 years ago2012-11-21 Michael Meissner <meissner@linux.vnet.ibm.com>
meissner [Wed, 21 Nov 2012 21:01:15 +0000 (21:01 +0000)]
2012-11-21  Michael Meissner  <meissner@linux.vnet.ibm.com>

Backport from mainline
2012-11-20  Michael Meissner  <meissner@linux.vnet.ibm.com>

* config/rs6000/rs6000.md (movdf_hardfloat32): Add a comment
explaining the register ordering preferences.

2012-11-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
* config/rs6000/rs6000.md (movdf_hardfloat32): Reorder move
constraints so that the traditional floating point loads, stores,
and moves are done first, then the VSX loads, stores, and moves,
and finally the GPR loads, stores, and moves so that reload
chooses FPRs over GPRs, and uses the traditional load/store
instructions which provide an offset.
(movdf_hardfloat64): Likewise.

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

11 years ago PR libgomp/55411
jakub [Wed, 21 Nov 2012 20:31:31 +0000 (20:31 +0000)]
PR libgomp/55411
* team.c (gomp_free_thread): Decrease gomp_managed_threads
if pool had any threads_used.

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

11 years agoDaily bump.
gccadmin [Wed, 21 Nov 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@193683 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-11-20 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 20 Nov 2012 14:54:36 +0000 (14:54 +0000)]
2012-11-20  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/55413
* include/bits/hashtable.h (_Hashtable<>::_M_rehash_aux): Initialize
__bbegin_bkt and __prev_bkt to avoid uninitialized warnings.
* testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
dg-error line number.

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

11 years agoDaily bump.
gccadmin [Tue, 20 Nov 2012 00:18:00 +0000 (00:18 +0000)]
Daily bump.

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

11 years agoWorkaround PR middle-end/55142
hjl [Mon, 19 Nov 2012 19:17:05 +0000 (19:17 +0000)]
Workaround PR middle-end/55142

gcc/

2012-11-19  H.J. Lu  <hongjiu.lu@intel.com>

Backported from mainline
2012-11-13  Eric Botcazou  <ebotcazou@adacore.com>
    H.J. Lu  <hongjiu.lu@intel.com>

PR middle-end/55142
* config/i386/i386.c (legitimize_pic_address): Properly handle
REG + CONST.
(ix86_print_operand_address): Set code to 'k' when forcing
addr32 prefix.  For x32, zero-extend negative displacement if
it < -16*1024*1024.

gcc/testsuite/

2012-11-19  H.J. Lu  <hongjiu.lu@intel.com>

Backported from mainline
2012-11-13  H.J. Lu  <hongjiu.lu@intel.com>

PR middle-end/55142
* gcc.target/i386/pr55142-1.c: New file.
* gcc.target/i386/pr55142-2.c: Likewise.

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

11 years agoreflect: Fix invalid sharing in valueInterface.
ian [Mon, 19 Nov 2012 05:33:54 +0000 (05:33 +0000)]
reflect: Fix invalid sharing in valueInterface.

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

11 years agoDaily bump.
gccadmin [Mon, 19 Nov 2012 00:18:50 +0000 (00:18 +0000)]
Daily bump.

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

11 years agoDaily bump.
gccadmin [Sun, 18 Nov 2012 00:18:13 +0000 (00:18 +0000)]
Daily bump.

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

11 years agoDaily bump.
gccadmin [Sat, 17 Nov 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@193579 138bc75d-0d04-0410-961f-82ee72b054a4