OSDN Git Service
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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