]>
git.ipfire.org Git - thirdparty/gcc.git/log
Steven G. Kargl [Sat, 1 Oct 2016 04:58:02 +0000 (04:58 +0000)]
backport: re PR fortran/77391 (gfortran allows CHARACTER(LEN=:),PARAMETER:: STRING='constant' buts does not report it as an extension)
2016-09-30 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from trunk
PR fortran/77391
* resolve.c (deferred_requirements): New function to check F2008:C402.
(resolve_fl_variable,resolve_fl_parameter): Use it.
PR fortran/77391
* gfortran.dg/pr77391.f90: New test.
From-SVN: r240693
Steven G. Kargl [Sat, 1 Oct 2016 00:46:28 +0000 (00:46 +0000)]
backport: re PR fortran/77380 (ICE in gfc_check_dependency, at fortran/dependency.c:1255)
2016-09-30 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from trunk
PR fortran/77380
* dependency.c (gfc_check_dependency): Do not assert with
-fcoarray=lib.
PR fortran/77380
* gfortran.dg/pr77380.f90: New test.
From-SVN: r240692
GCC Administrator [Sat, 1 Oct 2016 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240689
Steven G. Kargl [Fri, 30 Sep 2016 22:40:18 +0000 (22:40 +0000)]
backport: re PR fortran/61318 (Improve error diagnostic by pointing to the expression and not to declared-at of a USE-associated variable)
2016-09-30 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from trunk
PR fortran/61318
* interface.c (compare_parameter): Use better locus for error message.
PR fortran/61318
* gfortran.dg/pr61318.f90: New test.
From-SVN: r240683
Steven G. Kargl [Fri, 30 Sep 2016 21:46:14 +0000 (21:46 +0000)]
backport: re PR fortran/71859 (ICE on same variable/subroutine name (verify_gimple failed))
2016-09-30 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from trunk
PR fortran/71859
* gfortran.dg/pr71859.f90: New test.
* gfortran.dg/intrinsic_numeric_arg.f: Update error message.
* gfortran.dg/coarray_collectives_1.f90: Ditto.
PR fortran/71859
* check.c(numeric_check): Prevent ICE. Issue error for invalid
subroutine as an actual argument when numeric argument is expected.
From-SVN: r240682
Steven G. Kargl [Fri, 30 Sep 2016 21:02:56 +0000 (21:02 +0000)]
backport: re PR fortran/69867 (ICE on initializing character in type with array of incompatible data)
2016-09-30 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from trunk
PR fortran/69867
* decl.c (build_struct): Ensure that pointers point to something.
PR fortran/69962
* decl.c (gfc_set_constant_character_len): if expr is not
constant issue an error instead of an ICE.
PR fortran/69962
* gfortran.dg/pr69962.f90: New test.
PR fortran/69867
* gfortran.dg/pr69867.f90: New test.
From-SVN: r240679
Steven G. Kargl [Fri, 30 Sep 2016 19:21:12 +0000 (19:21 +0000)]
backport: re PR fortran/77351 (ICE in remove_trim, at frontend-passes.c:1145)
2016-09-30 Steven g. Kargl <kargl@gcc.gnu.org>
Backport from trunk
PR fortran/77351
* frontend-passes.c (remove_trim,combine_array_constructor): Check for
NULL pointer.
PR fortran/77351
* gfortran.dg/pr77351.f90: New test.
From-SVN: r240678
Steven G. Kargl [Fri, 30 Sep 2016 17:54:15 +0000 (17:54 +0000)]
backport: re PR fortran/68566 (ICE on using unusable array in reshape (double free or corruption))
2016-09-30 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from trunk
PR fortran/68566
* check.c (gfc_check_reshape): Check for constant expression.
PR fortran/68566
* gfortran.dg/pr68566.f90: new test.
From-SVN: r240671
Steven G. Kargl [Fri, 30 Sep 2016 16:58:31 +0000 (16:58 +0000)]
backport: re PR fortran/71799 (ICE in DO loop code emission (gfc_resolve_iterator))
2016-09-30 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from trunk
PR fortran/71799
* gfortran.dg/pr71799.f90: New test.
2016-09-30 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from trunk
PR fortran/71799
* resolve.c(gfc_resolve_iterator): Failure of type conversion need
not ICE.
From-SVN: r240668
Steven G. Kargl [Fri, 30 Sep 2016 15:50:31 +0000 (15:50 +0000)]
backport: re PR fortran/70006 (Duplicate errors "label not defined")
2016-09-30 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from trunk
PR fortran/70006
* io.c (gfc_resolve_dt): Use correct locus.
* resolve.c (resolve_branch): Ditto.
2016-09-30 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from trunk
PR fortran/70006
* gfortran.dg/pr70006.f90: New test.
From-SVN: r240659
Jerry DeLisle [Fri, 30 Sep 2016 04:49:36 +0000 (04:49 +0000)]
backport: re PR fortran/77707 (formatted direct access: nextrec off by one)
2016-09-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
Backport from trunk
PR libgfortran/77707
io/transfer.c (next_record): Flush before calculating next_record.
Correctly calculate.
* gfortran.dg/inquire_17.f90: New test.
From-SVN: r240645
GCC Administrator [Fri, 30 Sep 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240641
Steven G. Kargl [Thu, 29 Sep 2016 22:09:42 +0000 (22:09 +0000)]
backport: re PR fortran/77420 (gfortran and equivalence produces internal compiler error)
2016-09-29 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from trunk
PR fortran/77420
* trans-common.c: Handle array elements in equivalence when
the lower and upper bounds of array spec are NULL.
PR fortran/77460
* simplify.c (simplify_transformation_to_scalar): On error, result
may be NULL, simply return.
2016-09-29 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from trunk
PR fortran/77420
* gfortran.dg/pr77420_1.f90: New test.
* gfortran.dg/pr77420_2.f90: Ditto.
* gfortran.dg/pr77420_3.f90: New test. Requires ...
* gfortran.dg/pr77420_4.f90: this file.
PR fortran/77460
* gfortran.dg/pr77460.f90: New test.
From-SVN: r240640
Steven G. Kargl [Thu, 29 Sep 2016 20:32:22 +0000 (20:32 +0000)]
backport: re PR fortran/77506 (F2008 Standard does not allow CHARACTER(LEN=*) in array constructor)
2016-09-29 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from trunk
PR fortran/77506
* array.c (gfc_match_array_constructor): CHARACTER(len=*) cannot
appear in an array constructor.
PR fortran/77507
* intrinsic.c (add_functions): Use correct keyword.
2016-09-29 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from trunk
PR fortran/77507
* ieee/ieee_arithmetic.F90 (IEEE_VALUE_4,IEEE_VALUE_8,IEEE_VALULE_10,
IEEE_VALUE_16): Use correct keyword.
2016-09-29 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from trunk
PR fortran/77506
* gfortran.dg/pr77506.f90: New test.
PR fortran/77507
* gfortran.dg/pr77507.f90: New test.
From-SVN: r240636
Steven G. Kargl [Thu, 29 Sep 2016 19:34:59 +0000 (19:34 +0000)]
backport: re PR fortran/71067 (ICE on data initialization with insufficient value)
2016-09-29 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from trunk
PR fortran/71067
* decl.c (match_data_constant): On error, set 'result' to NULL.
PR fortran/77260
* gcc/fortran/trans-decl.c (generate_local_decl): Suppress warning
for unused variable if symbol is entry point.
2016-09-29 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from trunk
PR fortran/71067
* gfortran.dg/pr71067_1.f90: New test.
* gfortran.dg/pr71067_2.f90: Ditto.
PR fortran/77260
* gfortran.dg/pr77260_1.f90: New test.
* gfortran.dg/pr77260_2.f90: Ditto.
From-SVN: r240635
Steven G. Kargl [Thu, 29 Sep 2016 18:35:49 +0000 (18:35 +0000)]
backport: re PR fortran/69514 (ICE with nested array constructor)
2016-09-29 Steven G. Kargl <kargl@gcc.gnu.org>
Backport from trunk
PR fortran/69514
* array.c (gfc_match_array_constructor): If type-spec is present,
walk the array constructor performing possible conversions for
numeric types.
2016-09-29 Steven G. Kargl <kargl@gcc.gnu.org>
Louis Krupp <lkrupp@gcc.gnu.org>
Backport from trunk
PR fortran/69514
* gfortran.dg/pr69514_1.f90: New test.
* gfortran.dg/pr69514_2.f90: New test.
Co-Authored-By: Louis Krupp <lkrupp@gcc.gnu.org>
From-SVN: r240628
Steven G. Kargl [Thu, 29 Sep 2016 00:18:44 +0000 (00:18 +0000)]
backport: re PR fortran/71730 (ICE when character length specification uses an undefined variable)
2016-09-28 Steven G. Kargl <kargl@gcc.gnu.org>
backport from trunk
PR fortran/71730
* gfortran.dg/pr71730.f90: New test.
* gfortran.dg/bounds_check_strlen_2.f90: Fix invalid code.
* gfortran.dg/array_constructor_27.f03: Update dg-error message.
* gfortran.dg/array_constructor_26.f03: Ditto.
PR fortran/77612
* gfortran.dg/pr77612.f90: New test.
2016-09-28 Steven G. Kargl <kargl@gcc.gnu.org>
backport from trunk
PR fortran/71730
* decl.c (char_len_param_value): Check return value of
gfc_reduce_init_expr().
PR fortran/77612
* decl.c (char_len_param_value): Check parent namespace for
seen_implicit_none.
From-SVN: r240608
GCC Administrator [Thu, 29 Sep 2016 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240605
Steven G. Kargl [Wed, 28 Sep 2016 23:38:13 +0000 (23:38 +0000)]
backport: re PR fortran/77694 (ICE in optimize_binop_array_assignment, at fortran/frontend-passes.c:1080)
2016-09-28 Steven G. Kargl <kargl@gcc.gnu.org>
backport from trunk
PR fortran/77694
* frontend-passes.c (optimize_binop_array_assignment): Check pointer
for NULL.
2016-09-28 Steven G. Kargl <kargl@gcc.gnu.org>
backport from trunk
PR fortran/77694
* gfortran.dg/pr77694.f90: New test.
From-SVN: r240604
Bill Schmidt [Wed, 28 Sep 2016 21:36:59 +0000 (21:36 +0000)]
backport: re PR rtl-optimization/71709 (powerpc64le: argument to strcpy() optimised out)
2016-09-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
Alan Modra <amodra@gmail.com>
Backport from mainline
2016-07-01 Alan Modra <amodra@gmail.com>
PR rtl-optimization/71709
* ira-lives.c (find_call_crossed_cheap_reg): Exit loop on arg reg
being set, not referenced.
Co-Authored-By: Alan Modra <amodra@gmail.com>
From-SVN: r240599
Joseph Myers [Wed, 28 Sep 2016 17:37:45 +0000 (18:37 +0100)]
Correct libgcc complex multiply excess precision handling (PR libgcc/77519).
libgcc complex multiply is meant to eliminate excess
precision from certain internal values by forcing them to memory in
exactly those cases where the type has excess precision. But in
https://gcc.gnu.org/ml/gcc-patches/2014-09/msg01894.html I
accidentally inverted the logic so that values get forced to memory in
exactly the cases where it's not needed. (This is a pessimization in
the no-excess-precision case, in principle could lead to bad results
depending on code generation in the excess-precision case. Note: I do
not have a test demonstrating bad results.)
Bootstrapped with no regressions on x86_64-pc-linux-gnu. Code size
went down on x86_64 as expected; old sizes:
text data bss dec hex filename
887 0 0 887 377 _muldc3.o
810 0 0 810 32a _mulsc3.o
2032 0 0 2032 7f0 _multc3.o
983 0 0 983 3d7 _mulxc3.o
New sizes:
847 0 0 847 34f _muldc3.o
770 0 0 770 302 _mulsc3.o
2032 0 0 2032 7f0 _multc3.o
951 0 0 951 3b7 _mulxc3.o
Backport from mainline
2016-09-07 Joseph Myers <joseph@codesourcery.com>
PR libgcc/77519
* libgcc2.c (NOTRUNC): Invert settings.
From-SVN: r240586
Bernd Edlinger [Wed, 28 Sep 2016 12:48:16 +0000 (12:48 +0000)]
backport: re PR testsuite/77411 (object-size-9.c -fpic -m32 failure)
backport from mainline
2016-09-23 Bernd Edlinger <bernd.edlinger@hotmail.de>
Tom de Vries <tom@codesourcery.com>
PR testsuite/77411
* c-c++-common/ubsan/object-size-9.c: Call __builtin_exit in C++.
From-SVN: r240575
Jonathan Wakely [Wed, 28 Sep 2016 12:47:24 +0000 (13:47 +0100)]
libstdc++/77686 use may_alias for std::function storage
PR libstdc++/77686
* include/std/functional (_Any_data): Add may_alias attribute.
From-SVN: r240574
GCC Administrator [Wed, 28 Sep 2016 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240561
Jonathan Wakely [Tue, 27 Sep 2016 15:37:44 +0000 (16:37 +0100)]
Fix lifetime of mutex lock in debug iterator
* include/debug/safe_iterator.h (_Safe_iterator::operator++()): Fix
lifetime of lock.
From-SVN: r240549
David Edelsohn [Tue, 27 Sep 2016 14:30:46 +0000 (14:30 +0000)]
backport: rs6000.c (rs6000_output_symbol): Don't modify VAR_DECL string.
Backport from mainline
2016-09-27 David Edelsohn <dje.gcc@gmail.com>
* config/rs6000/rs6000.c (rs6000_output_symbol): Don't modify
VAR_DECL string.
From-SVN: r240544
Richard Biener [Tue, 27 Sep 2016 12:44:42 +0000 (12:44 +0000)]
re PR target/77478 (Incorrect code generated with -O3, m32, -msse2 and -ffast-math)
2016-09-27 Richard Biener <rguenther@suse.de>
PR tree-optimization/77478
* tree-vect-loop-manip.c (vect_gen_niters_for_prolog_loop):
Fix alignment of SSA var used before the alignment prologue.
* gcc.dg/torture/pr77478.c: New testcase.
From-SVN: r240532
Senthil Kumar Selvaraj [Tue, 27 Sep 2016 06:39:59 +0000 (06:39 +0000)]
Backport fix for PR 65210
gcc/ChangeLog
2016-09-27 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Backport from trunk r227496
PR target/65210
* config/avr/avr.c (avr_eval_addr_attrib): Look for io_low
attribute as well.
gcc/testsuite/ChangeLog
2016-09-27 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Backport from trunk r227496
PR target/65210
* gcc.target/avr/pr65210.c: New test.
From-SVN: r240521
Senthil Kumar Selvaraj [Tue, 27 Sep 2016 06:13:38 +0000 (06:13 +0000)]
Revert part of r240397 that got accidentally committed
From-SVN: r240520
GCC Administrator [Tue, 27 Sep 2016 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240512
GCC Administrator [Mon, 26 Sep 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240480
GCC Administrator [Sun, 25 Sep 2016 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240468
GCC Administrator [Sat, 24 Sep 2016 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240459
Senthil Kumar Selvaraj [Fri, 23 Sep 2016 08:20:40 +0000 (08:20 +0000)]
backport: avr.c (avr_rtx_costs_1): Handle DImode MULT.
Backport from 2016-09-22 trunk r240388.
2016-09-22 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
* config/avr/avr.c (avr_rtx_costs_1): Handle DImode MULT.
(avr_address_cost): Replace 61 with MAX_LD_OFFSET(mode).
From-SVN: r240397
GCC Administrator [Fri, 23 Sep 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240384
GCC Administrator [Thu, 22 Sep 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240337
Segher Boessenkool [Wed, 21 Sep 2016 17:51:39 +0000 (19:51 +0200)]
Fix JUMP_LABEL documentation
* doc/rtl.texi (JUMP_LABEL): Document RETURN and SIMPLE_RETURN values.
From-SVN: r240327
Uros Bizjak [Wed, 21 Sep 2016 15:25:29 +0000 (17:25 +0200)]
dump-noaddr.x: Remove debug statements.
* gcc.c-torture/unsorted/dump-noaddr.x: Remove debug statements.
From-SVN: r240320
Georg-Johann Lay [Wed, 21 Sep 2016 14:11:59 +0000 (14:11 +0000)]
backport: re PR target/77326 ([avr] Invalid optimization omits comparison)
gcc/
Backport from 2016-09-21 trunk r240306.
PR target/77326
* config/avr/avr.c (hard-reg-set.h): Move #include up in front
of rtl.h to that HARD_CONST is defined in rtl.h.
(avr_notice_update_cc) [CC_NONE]: If insn touches some regs
mentioned in cc_status, do CC_STATUS_INIT.
gcc/testsuite/
Backport from 2016-09-21 trunk r240306.
PR target/77326
* gcc.target/avr/torture/pr77326.c: New test.
From-SVN: r240315
GCC Administrator [Wed, 21 Sep 2016 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240295
Jonathan Wakely [Tue, 20 Sep 2016 10:03:07 +0000 (11:03 +0100)]
Replace casts with floordiv operator in Python xmethods
* python/libstdcxx/v6/xmethods.py (DequeWorkerBase.__init__)
(DequeWorkerBase.index, VectorWorkerBase.get): Use // for division.
From-SVN: r240260
GCC Administrator [Tue, 20 Sep 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240252
Jonathan Wakely [Mon, 19 Sep 2016 17:14:11 +0000 (18:14 +0100)]
libstdc++/77645 fix deque and vector xmethods for Python 3
PR libstdc++/77645
* python/libstdcxx/v6/xmethods.py (DequeWorkerBase.__init__)
(DequeWorkerBase.index, VectorWorkerBase.get): Cast results of
division to int to work with Python 3.
From-SVN: r240242
GCC Administrator [Mon, 19 Sep 2016 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240222
GCC Administrator [Sun, 18 Sep 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240216
GCC Administrator [Sat, 17 Sep 2016 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240211
Jonathan Wakely [Fri, 16 Sep 2016 21:38:50 +0000 (22:38 +0100)]
Fix documentation for overflow-checking builtins
* doc/extend.texi (Integer Overflow Builtins): Fix type of out
parameters for functions taking long long arguments.
From-SVN: r240202
GCC Administrator [Fri, 16 Sep 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240170
GCC Administrator [Thu, 15 Sep 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240149
GCC Administrator [Wed, 14 Sep 2016 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240125
GCC Administrator [Tue, 13 Sep 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240104
GCC Administrator [Mon, 12 Sep 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240086
GCC Administrator [Sun, 11 Sep 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240077
GCC Administrator [Sat, 10 Sep 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240060
GCC Administrator [Fri, 9 Sep 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240040
GCC Administrator [Thu, 8 Sep 2016 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240034
GCC Administrator [Wed, 7 Sep 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240020
Dominique d'Humieres [Tue, 6 Sep 2016 22:26:11 +0000 (00:26 +0200)]
re PR debug/57519 (DW_TAG_imported_declaration put in wrong class (base class instead of derived class))
2016-09-07 Dominique d'Humieres <dominiq@lps.ens.fr>
PR debug/57519
* g++.dg/debug/dwarf2/imported-decl-2.C: Likewise.
From-SVN: r240017
Uros Bizjak [Tue, 6 Sep 2016 15:25:09 +0000 (17:25 +0200)]
c_by_val_1.f: Correct the call to c_to_c and c_to_c8.
* gfortran.dg/c_by_val_1.f: Correct the call to c_to_c and c_to_c8.
From-SVN: r240011
GCC Administrator [Tue, 6 Sep 2016 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r240002
GCC Administrator [Mon, 5 Sep 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r239983
GCC Administrator [Sun, 4 Sep 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r239972
GCC Administrator [Sat, 3 Sep 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r239967
GCC Administrator [Fri, 2 Sep 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r239950
GCC Administrator [Thu, 1 Sep 2016 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r239909
Jakub Sejdak [Wed, 31 Aug 2016 09:39:22 +0000 (09:39 +0000)]
* config.host: Add support for arm*-*-phoenix* targets.
From-SVN: r239887
Jakub Sejdak [Wed, 31 Aug 2016 09:38:42 +0000 (09:38 +0000)]
config.gcc: Add support for arm*-*-phoenix* targets.
* config.gcc: Add support for arm*-*-phoenix* targets.
* config/arm/t-phoenix: New.
* config/phoenix.h: New.
From-SVN: r239886
Jakub Sejdak [Wed, 31 Aug 2016 09:37:05 +0000 (09:37 +0000)]
* config.sub: Add support for Phoenix-RTOS targets.
From-SVN: r239885
GCC Administrator [Wed, 31 Aug 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r239876
GCC Administrator [Tue, 30 Aug 2016 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r239848
Uros Bizjak [Mon, 29 Aug 2016 20:26:13 +0000 (22:26 +0200)]
re PR target/77403 (assemble failure of vinserti64x4 with -masm=intel)
PR target/77403
* config/i386/sse.md (vec_set_lo_<mode><mask_name>): Fix assembler
template for intel asm dialect.
(vec_set_hi_<mode><mask_name>): Ditto.
testsuite/ChangeLog:
PR target/77403
* gcc.target/i386/pr77403.c: New test.
From-SVN: r239842
Eric Botcazou [Mon, 29 Aug 2016 14:44:41 +0000 (14:44 +0000)]
* Makefile.in (gcov-iov.h): Add dummy recipe.
From-SVN: r239825
Tom de Vries [Mon, 29 Aug 2016 07:57:16 +0000 (07:57 +0000)]
backport: re PR sanitizer/64078 (FAIL: c-c++-common/ubsan/object-size-9.c)
2016-08-29 Tom de Vries <tom@codesourcery.com>
backport from trunk:
2015-09-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR sanitizer/64078
* c-c++-common/ubsan/object-size-9.c (s): Add alignment attribute.
(f2, f3): Make the function static.
* c-c++-common/ubsan/object-size-10.c (a, b): Add alignment attribute.
From-SVN: r239816
Tom de Vries [Mon, 29 Aug 2016 07:20:03 +0000 (07:20 +0000)]
backport: re PR testsuite/65940 (g++.dg/other/anon5.C requires dwarf4 support in ld)
2016-08-29 Tom de Vries <tom@codesourcery.com>
backport from trunk:
PR testsuite/65940
2016-02-01 Uros Bizjak <ubizjak@gmail.com>
* g++.dg/other/anon5.C (dg-opetions): Use -gdwarf-2 instead of -g.
From-SVN: r239815
GCC Administrator [Mon, 29 Aug 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r239812
Tom de Vries [Sun, 28 Aug 2016 22:02:07 +0000 (22:02 +0000)]
re PR testsuite/77034 (g++.dg/init/elide5.C fails on powerpc64-unknown-linux-gnu with -m32)
2016-08-28 Tom de Vries <tom@codesourcery.com>
PR testsuite/77034
Backported from mainline
2016-07-25 Jason Merrill <jason@redhat.com>
* g++.dg/init/elide5.C (operator new): Use decltype(sizeof(1)) instead
of unsigned long.
From-SVN: r239811
GCC Administrator [Sun, 28 Aug 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r239802
GCC Administrator [Sat, 27 Aug 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r239791
Kyrylo Tkachov [Fri, 26 Aug 2016 09:37:20 +0000 (09:37 +0000)]
[AArch64][GCC 5] Backport Work around for PR target/64971
Backport from mainline
2016-04-20 Andrew Pinski <apinski@cavium.com>
Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR target/64971
* config/aarch64/aarch64.md (sibcall): Force call
address to be DImode for ILP32.
(sibcall_value): Likewise.
* gcc.c-torture/compile/pr37433-1.c: New testcase.
From-SVN: r239770
GCC Administrator [Fri, 26 Aug 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r239764
Bill Schmidt [Thu, 25 Aug 2016 16:12:23 +0000 (16:12 +0000)]
backport: re PR target/72863 (Powerpc64le: redundant swaps when using vec_vsx_ld/st)
[gcc]
2016-08-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
Backport from mainline (minus test for POWER9 support)
2016-08-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR target/72863
* vsx.md (vsx_load_<mode>): For P8LE, emit swaps at expand time.
(vsx_store_<mode>): Likewise.
[gcc/testsuite]
2016-08-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
Backport from mainline
2016-08-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR target/72863
* gcc.target/powerpc/pr72863.c: New test.
From-SVN: r239762
Kyrylo Tkachov [Thu, 25 Aug 2016 09:26:15 +0000 (09:26 +0000)]
[expr.c] PR middle-end/71700: zero-extend sub-word value when widening constructor element
Backport from mainline
2016-07-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR middle-end/71700
* expr.c (store_constructor): Mask sign-extended bits when widening
sub-word constructor element at the start of a word.
* gcc.c-torture/execute/pr71700.c: New test.
From-SVN: r239754
GCC Administrator [Thu, 25 Aug 2016 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r239749
GCC Administrator [Wed, 24 Aug 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r239724
Jonathan Wakely [Tue, 23 Aug 2016 14:23:40 +0000 (15:23 +0100)]
* testsuite/23_containers/map/77334.cc: Use dg-options for C++11.
From-SVN: r239703
Jonathan Wakely [Tue, 23 Aug 2016 14:20:50 +0000 (15:20 +0100)]
libstdc++/77334 move assign RB trees of non-copyable types
PR libstdc++/77334
* include/bits/stl_tree.h (_Rb_tree::_M_move_assign): New functions.
(_Rb_tree::operator=(_Rb_tree&&)): Dispatch to _M_move_assign.
Include _Compare in noexcept.
* testsuite/23_containers/map/77334.cc: New test.
From-SVN: r239701
Jonathan Wakely [Tue, 23 Aug 2016 12:23:16 +0000 (13:23 +0100)]
Update links to libstdc++ Doxygen pages
* doc/xml/api.xml: Replace hardcoded links for specific versions with
link to docs for all releases.
* doc/html/*: Regenerate.
From-SVN: r239697
Jonathan Wakely [Tue, 23 Aug 2016 12:23:11 +0000 (13:23 +0100)]
libstdc++/71771 constrain reverse_iterator difference op
* include/bits/stl_iterator.h
(operator-(reverse_iterator<Iter>, reverse_iterator<Iter>): Constrain
for C++11 and later.
* testsuite/24_iterators/reverse_iterator/71771.cc: New test.
From-SVN: r239696
GCC Administrator [Tue, 23 Aug 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r239678
Uros Bizjak [Mon, 22 Aug 2016 18:57:37 +0000 (20:57 +0200)]
backport: re PR target/76342 (AVX512: _mm512_undefined_epi32() intrinsic missing (incorrectly named _mm512_undefined_si512))
Backport from mainline
2016-08-14 Uros Bizjak <ubizjak@gmail.com>
PR target/76342
* config/i386/avx512fintrin.h (_mm512_undefined_epi32):
Renamed from _mm512_undefined_si512.
(_mm_undefined_si512): New definition.
Backport from mainline:
2016-08-09 David Wohlferd <dw@LimeGreenSocks.com>
* config/i3836/avx512fintrin.h (_mm512_cvtsepi64_epi32): Remove
unused variable __O.
Backport from mainline:
2016-08-09 Uros Bizjak <ubizjak@gmail.com>
PR target/72843
* config/i386/i386.md (*movtf_internal): Use
lra_in_progress || reload_completed instead of !can_create_pseudo_p
in the insn constraint.
(*movxf_internal): Ditto.
(*movdf_internal): Ditto.
(*movsf_internal): Ditto.
testsuite/ChangeLog:
Backport from mainline
2016-08-14 Uros Bizjak <ubizjak@gmail.com>
PR target/76342
* gcc.target/i386/pr76342.c: New test.
From-SVN: r239669
GCC Administrator [Mon, 22 Aug 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r239644
GCC Administrator [Sun, 21 Aug 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r239640
GCC Administrator [Sat, 20 Aug 2016 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r239634
GCC Administrator [Fri, 19 Aug 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r239601
Oleg Endo [Thu, 18 Aug 2016 12:14:33 +0000 (12:14 +0000)]
backport: re PR target/71338 ([RL78] mulu instruction not used on G10)
gcc/
Backport from mainline
2016-06-17 DJ Delorie <dj@redhat.com>
PR target/71338
* config/rl78/rl78-expand.c (umulqihi3): Enable for G10.
* config/rl78/rl78-virtual.c (umulhi3_shift_virt): Likewise.
(umulqihi3_virt): Likewise.
* config/rl78/rl78-real.c (umulhi3_shift_real): Likewise.
(umulqihi3_real): Likewise.
From-SVN: r239568
GCC Administrator [Thu, 18 Aug 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r239551
GCC Administrator [Wed, 17 Aug 2016 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r239516
Eric Botcazou [Tue, 16 Aug 2016 12:43:30 +0000 (12:43 +0000)]
* doc/install.texi (*-*-solaris2*): Adjust latest change.
From-SVN: r239501
GCC Administrator [Tue, 16 Aug 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r239490
Martin Liska [Mon, 15 Aug 2016 11:20:09 +0000 (13:20 +0200)]
Fix invalid memory access in gcc.c (driver/72765)
Backported from mainline
2016-08-15 Martin Liska <mliska@suse.cz>
PR driver/72765
* gcc.c (do_spec_1): Call save_string with the right size.
(save_string): Do an assert about string we copy.
From-SVN: r239477