]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
7 years agoBackport r254137
Martin Liska [Thu, 8 Mar 2018 08:52:39 +0000 (09:52 +0100)] 
Backport r254137

2018-03-08  Martin Liska  <mliska@suse.cz>

Backport from mainline
2017-10-27  Martin Liska  <mliska@suse.cz>

PR gcov-profile/82457
* doc/invoke.texi: Document that one needs a non-strict ISO mode
for fork-like functions to be properly instrumented.

From-SVN: r258356

7 years agoDaily bump.
GCC Administrator [Thu, 8 Mar 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258343

7 years agoS/390: Disable branch prediction
Andreas Krebbel [Wed, 7 Mar 2018 13:10:35 +0000 (13:10 +0000)] 
S/390: Disable branch prediction

gcc/ChangeLog:

2018-03-07  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

Backport from mainline
2018-02-08  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* config/s390/s390-opts.h (enum indirect_branch): Define.
* config/s390/s390-protos.h (s390_return_addr_from_memory)
(s390_indirect_branch_via_thunk)
(s390_indirect_branch_via_inline_thunk): Add function prototypes.
(enum s390_indirect_branch_type): Define.
* config/s390/s390.c (struct s390_frame_layout, struct
machine_function): Remove.
(indirect_branch_prez10thunk_mask, indirect_branch_z10thunk_mask)
(indirect_branch_table_label_no, indirect_branch_table_name):
Define variables.
(INDIRECT_BRANCH_NUM_OPTIONS): Define macro.
(enum s390_indirect_branch_option): Define.
(s390_return_addr_from_memory): New function.
(s390_handle_string_attribute): New function.
(s390_attribute_table): Add new attribute handler.
(s390_execute_label): Handle UNSPEC_EXECUTE_JUMP patterns.
(s390_indirect_branch_via_thunk): New function.
(s390_indirect_branch_via_inline_thunk): New function.
(s390_function_ok_for_sibcall): When jumping via thunk disallow
sibling call optimization for non z10 compiles.
(s390_emit_call): Force indirect branch target to be a single
register.  Add r1 clobber for non-z10 compiles.
(s390_emit_epilogue): Emit return jump via return_use expander.
(s390_reorg): Handle JUMP_INSNs as execute targets.
(s390_option_override_internal): Perform validity checks for the
new command line options.
(s390_indirect_branch_attrvalue): New function.
(s390_indirect_branch_settings): New function.
(s390_set_current_function): Invoke s390_indirect_branch_settings.
(s390_output_indirect_thunk_function):  New function.
(s390_code_end): Implement target hook.
(s390_case_values_threshold): Implement target hook.
(TARGET_ASM_CODE_END, TARGET_CASE_VALUES_THRESHOLD): Define target
macros.
* config/s390/s390.h (struct s390_frame_layout)
(struct machine_function): Move here from s390.c.
(TARGET_INDIRECT_BRANCH_NOBP_RET)
(TARGET_INDIRECT_BRANCH_NOBP_JUMP)
(TARGET_INDIRECT_BRANCH_NOBP_JUMP_THUNK)
(TARGET_INDIRECT_BRANCH_NOBP_JUMP_INLINE_THUNK)
(TARGET_INDIRECT_BRANCH_NOBP_CALL)
(TARGET_DEFAULT_INDIRECT_BRANCH_TABLE)
(TARGET_INDIRECT_BRANCH_THUNK_NAME_EXRL)
(TARGET_INDIRECT_BRANCH_THUNK_NAME_EX)
(TARGET_INDIRECT_BRANCH_TABLE): Define macros.
* config/s390/s390.md (UNSPEC_EXECUTE_JUMP)
(INDIRECT_BRANCH_THUNK_REGNUM): Define constants.
(mnemonic attribute): Add values which aren't recognized
automatically.
("*cjump_long", "*icjump_long", "*basr", "*basr_r"): Disable
pattern for branch conversion.  Fix mnemonic attribute.
("*c<code>", "*sibcall_br", "*sibcall_value_br", "*return"): Emit
indirect branch via thunk if requested.
("indirect_jump", "<code>"): Expand patterns for branch conversion.
("*indirect_jump"): Disable for branch conversion using out of
line thunks.
("indirect_jump_via_thunk<mode>_z10")
("indirect_jump_via_thunk<mode>")

2018-03-07  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

Backport from mainline
2018-02-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

PR target/PR84295
* config/s390/s390.c (s390_set_current_function): Invoke
s390_indirect_branch_settings also if fndecl didn't change.

gcc/testsuite/ChangeLog:

2018-03-07  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

Backport from mainline
2018-02-08  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* gcc.target/s390/nobp-function-pointer-attr.c: New test.
* gcc.target/s390/nobp-function-pointer-nothunk.c: New test.
* gcc.target/s390/nobp-function-pointer-z10.c: New test.
* gcc.target/s390/nobp-function-pointer-z900.c: New test.
* gcc.target/s390/nobp-indirect-jump-attr.c: New test.
* gcc.target/s390/nobp-indirect-jump-inline-attr.c: New test.
* gcc.target/s390/nobp-indirect-jump-inline-z10.c: New test.
* gcc.target/s390/nobp-indirect-jump-inline-z900.c: New test.
* gcc.target/s390/nobp-indirect-jump-nothunk.c: New test.
* gcc.target/s390/nobp-indirect-jump-z10.c: New test.
* gcc.target/s390/nobp-indirect-jump-z900.c: New test.
* gcc.target/s390/nobp-return-attr-all.c: New test.
* gcc.target/s390/nobp-return-attr-neg.c: New test.
* gcc.target/s390/nobp-return-mem-attr.c: New test.
* gcc.target/s390/nobp-return-mem-nothunk.c: New test.
* gcc.target/s390/nobp-return-mem-z10.c: New test.
* gcc.target/s390/nobp-return-mem-z900.c: New test.
* gcc.target/s390/nobp-return-reg-attr.c: New test.
* gcc.target/s390/nobp-return-reg-mixed.c: New test.
* gcc.target/s390/nobp-return-reg-nothunk.c: New test.
* gcc.target/s390/nobp-return-reg-z10.c: New test.
* gcc.target/s390/nobp-return-reg-z900.c: New test.
* gcc.target/s390/nobp-table-jump-inline-z10.c: New test.
* gcc.target/s390/nobp-table-jump-inline-z900.c: New test.
* gcc.target/s390/nobp-table-jump-z10.c: New test.
* gcc.target/s390/nobp-table-jump-z900.c: New test.

2018-03-07  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

Backport from mainline
2018-02-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

PR target/PR84295
* gcc.target/s390/pr84295.c: New test.

From-SVN: r258335

7 years agoBackport r257842
Martin Liska [Wed, 7 Mar 2018 09:49:47 +0000 (10:49 +0100)] 
Backport r257842

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-02-20  Martin Liska  <mliska@suse.cz>

PR c/84310
PR target/79747
* final.c (shorten_branches): Build align_tab array with one
more element.
* opts.c (finish_options): Add alignment option limit check.
(MAX_CODE_ALIGN): Likewise.
(MAX_CODE_ALIGN_VALUE): Likewise.
* doc/invoke.texi: Document maximum allowed option value for
all -falign-* options.
2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-02-20  Martin Liska  <mliska@suse.cz>

PR c/84310
PR target/79747
* gcc.target/i386/pr84310.c: New test.
* gcc.target/i386/pr84310-2.c: Likewise.

From-SVN: r258332

7 years agoBackport r257803
Martin Liska [Wed, 7 Mar 2018 09:49:11 +0000 (10:49 +0100)] 
Backport r257803

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-02-19  Martin Liska  <mliska@suse.cz>

PR other/80589
* doc/invoke.texi: Fix typo.
* params.def (PARAM_MAX_LOOP_HEADER_INSNS): Likewise.

From-SVN: r258331

7 years agoBackport r257384
Martin Liska [Wed, 7 Mar 2018 09:48:44 +0000 (10:48 +0100)] 
Backport r257384

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-02-05  Martin Liska  <mliska@suse.cz>

PR gcov-profile/84137
* doc/gcov.texi: Fix typo in documentation.

From-SVN: r258330

7 years agoBackport r257383
Martin Liska [Wed, 7 Mar 2018 09:48:02 +0000 (10:48 +0100)] 
Backport r257383

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-02-05  Martin Liska  <mliska@suse.cz>

PR gcov-profile/83879
* doc/gcov.texi: Document necessity of --dynamic-list-data when
using dlopen functionality.

From-SVN: r258329

7 years agoBackport r256989
Martin Liska [Wed, 7 Mar 2018 09:47:46 +0000 (10:47 +0100)] 
Backport r256989

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-01-23  Martin Liska  <mliska@suse.cz>

PR lto/81440
* lto-symtab.c (lto_symtab_merge): Handle and do not warn about
trailing arrays at the end of a struct.
2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-01-23  Martin Liska  <mliska@suse.cz>

PR lto/81440
* gcc.dg/lto/pr81440.h: New test.
* gcc.dg/lto/pr81440_0.c: New test.
* gcc.dg/lto/pr81440_1.c: New test.

From-SVN: r258328

7 years agoBackport r255818
Martin Liska [Wed, 7 Mar 2018 09:47:11 +0000 (10:47 +0100)] 
Backport r255818

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2017-12-19  Martin Liska  <mliska@suse.cz>

PR rtl-optimization/82675
* loop-unroll.c (unroll_loop_constant_iterations): Allocate one
more element in sbitmap.

From-SVN: r258327

7 years agoFix IPA profile merging, fixed in trunk with r253910.
Martin Liska [Wed, 7 Mar 2018 09:46:50 +0000 (10:46 +0100)] 
Fix IPA profile merging, fixed in trunk with r253910.

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-03-05  Martin Liska  <mliska@suse.cz>

* ipa-utils.c (ipa_merge_profiles): Do not merge alias or
a function without profile.

From-SVN: r258326

7 years agoBackport r257939
Martin Liska [Wed, 7 Mar 2018 09:46:21 +0000 (10:46 +0100)] 
Backport r257939

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-02-08  Jan Hubicka  <hubicka@ucw.cz>

* lto-partition.c (lto_balanced_map): Watch overflow.

From-SVN: r258325

7 years agoBackport r257877
Martin Liska [Wed, 7 Mar 2018 09:46:01 +0000 (10:46 +0100)] 
Backport r257877

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-02-21  Jan Hubicka  <hubicka@ucw.cz>

PR c/84229
* ipa-cp.c (determine_versionability): Do not version functions caling
va_arg_pack.

From-SVN: r258324

7 years agoBackport r257490
Martin Liska [Wed, 7 Mar 2018 09:45:44 +0000 (10:45 +0100)] 
Backport r257490

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-02-08  Jan Hubicka  <hubicka@ucw.cz>

PR ipa/81360
* cgraph.h (symtab_node::output_to_lto_symbol_table_p): Declare
* symtab.c: Include builtins.h
(symtab_node::output_to_lto_symbol_table_p): Move here
from lto-streamer-out.c:output_symbol_p.
* lto-streamer-out.c (write_symbol): Turn early exit to assert.
(output_symbol_p): Move all logic to symtab.c
(produce_symtab): Update.
2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-02-08  Jan Hubicka  <hubicka@ucw.cz>

PR ipa/81360
* lto.c (unify_scc): Register prevailing trees, not trees to be freed.
(read_cgraph_and_symbols): Use
symtab_node::output_to_lto_symbol_table_p.

From-SVN: r258323

7 years agoBackport r257442
Martin Liska [Wed, 7 Mar 2018 09:44:36 +0000 (10:44 +0100)] 
Backport r257442

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-01-30  Jan Hubicka  <hubicka@ucw.cz>

* lto.c (register_resolution): Remove forgotten sanity check.

From-SVN: r258322

7 years agoBackport r257412
Martin Liska [Wed, 7 Mar 2018 09:44:03 +0000 (10:44 +0100)] 
Backport r257412

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-01-30  Jan Hubicka  <hubicka@ucw.cz>

PR lto/81004
* lto.c: Include builtins.h
(register_resolution): Merge resolutions in case trees was
merged across units.
(lto_maybe_register_decl): Break out from ...
(lto_read_decls): ... here.
(unify_scc): Also register decls here.
(read_cgraph_and_symbols): Sanity check that all resolutions was
read.

From-SVN: r258321

7 years agoBackport r257343
Martin Liska [Wed, 7 Mar 2018 09:43:49 +0000 (10:43 +0100)] 
Backport r257343

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-02-02  Eric Botcazou  <ebotcazou@adacore.com>

PR lto/83954
* lto-symtab.c (warn_type_compatibility_p): Do not recurse into the
component type of array types with non-aliased component.

From-SVN: r258320

7 years agoBackport r257183
Martin Liska [Wed, 7 Mar 2018 09:43:23 +0000 (10:43 +0100)] 
Backport r257183

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-01-30  Jan Hubicka  <hubicka@ucw.cz>

PR lto/83954
* lto-symtab.c (warn_type_compatibility_p): Silence false positive
for type match warning on arrays of pointers.
2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-01-30  Jan Hubicka  <hubicka@ucw.cz>

PR lto/83954
* gcc.dg/lto/pr83954.h: New testcase.
* gcc.dg/lto/pr83954_0.c: New testcase.
* gcc.dg/lto/pr83954_1.c: New testcase.

From-SVN: r258319

7 years agoBackport r253729
Martin Liska [Wed, 7 Mar 2018 09:42:53 +0000 (10:42 +0100)] 
Backport r253729

2018-03-07  Martin Liska  <mliska@suse.cz>

Backport from mainline
2017-10-13  Jan Hubicka  <hubicka@ucw.cz>

* lto-lang.c (lto_post_options): Clean shlib flag when not doing PIC.

From-SVN: r258318

7 years agoDaily bump.
GCC Administrator [Wed, 7 Mar 2018 00:16:16 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258307

7 years agore PR fortran/56667 (Syntax error causes misleading message: "Expected PARAMETER...
Steven G. Kargl [Tue, 6 Mar 2018 19:30:41 +0000 (19:30 +0000)] 
re PR fortran/56667 (Syntax error causes misleading message: "Expected PARAMETER symbol in complex constant")

2018-03-06  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/56667
* primary.c (match_sym_complex_part): Give the matcher for an implied
do-loop a chance to run.

2018-03-06  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/56667
* gfortran.dg/implied_do_2.f90: New test.
* gfortran.dg/coarray_8.f90: Update for new error message.

From-SVN: r258283

7 years agotrans.c (convert_with_check): Fix typo in the condition guarding the overflow check...
Eric Botcazou [Tue, 6 Mar 2018 12:21:50 +0000 (12:21 +0000)] 
trans.c (convert_with_check): Fix typo in the condition guarding the overflow check emitted for the upper...

* gcc-interface/trans.c (convert_with_check): Fix typo in the condition
guarding the overflow check emitted for the upper bound of a floating-
point conversion.

From-SVN: r258279

7 years agoDaily bump.
GCC Administrator [Tue, 6 Mar 2018 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258265

7 years agoPR c++/84686 - missing volatile loads.
Jason Merrill [Mon, 5 Mar 2018 14:28:15 +0000 (09:28 -0500)] 
PR c++/84686 - missing volatile loads.

* cvt.c (convert_to_void): Call maybe_undo_parenthesized_ref.

From-SVN: r258246

7 years agoDaily bump.
GCC Administrator [Mon, 5 Mar 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258236

7 years agore PR fortran/71085 (ICE with some intrinsic functions specifying array function...
Harald Anlauf [Sun, 4 Mar 2018 05:11:31 +0000 (05:11 +0000)] 
re PR fortran/71085 (ICE with some intrinsic functions specifying array function result dimension)

2018-03-03  Harald Anlauf  <anlauf@gmx.de>

PR fortran/71085
* trans-expr.c (gfc_apply_interface_mapping_to_expr): Do not
dereference NULL pointer.

2018-03-03  Harald Anlauf  <anlauf@gmx.de>

PR fortran/71085
* gfortran.dg/pr71085.f90: New test.

From-SVN: r258230

7 years agoDaily bump.
GCC Administrator [Sun, 4 Mar 2018 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258225

7 years agore PR fortran/78990 (ICE when assigning polymorphic array function result)
Paul Thomas [Sat, 3 Mar 2018 18:00:39 +0000 (18:00 +0000)] 
re PR fortran/78990 (ICE when assigning polymorphic array function result)

2018-03-03  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/78990
* expr.c (gfc_is_class_array_function): Renamed from
'gfc_is_alloc_class_array_function' and modified to return true
for pointers as well as allocatable results.
* gfortran.h : Change of name for prototype of above function.
* trans-array.c (gfc_add_loop_ss_code): Force finalization of
class array results.
(build_class_array_ref): Change assertion into a condition.
(build_class_array_ref): Set the se class_vptr for class array
function results.
(gfc_walk_function_expr): Reference gfc_is_class_array_function
as above.
* trans-decl.c (get_proc_result): Move it up before
gfc_trans_deferred_vars.
(gfc_trans_deferred_vars): Nullify explicit return class arrays
on entry.
* trans-expr.c (gfc_conv_class_to_class): Allow conversion of
class array functions that have an se class_vptr and use it
for the result vptr.
(gfc_conv_subref_array_arg): Rename reference to the above
function.
(gfc_conv_procedure_call): Ditto. Add the se pre block to the
loop pre block before the function is evaluated. Do not
finalize class pointer results.
(arrayfunc_assign_needs_temporary, gfc_trans_assignment_1) More
renamed references.
* trans-intrinsic.c (gfc_conv_intrinsic_size): Ditto.

2018-03-03  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/78990
* gfortran.dg/class_67.f90: New test.

From-SVN: r258217

7 years agoDaily bump.
GCC Administrator [Sat, 3 Mar 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258161

7 years agoPR libstdc++/84671 handle digit separators in duration literals
Jonathan Wakely [Fri, 2 Mar 2018 23:52:06 +0000 (23:52 +0000)] 
PR libstdc++/84671 handle digit separators in duration literals

Backport from mainline
2018-03-02  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/84671
* include/bits/parse_numbers.h (_Number_help): Add partial
specialization to handle digit separators. Adjust partial
specialization for recursion temrination to require _Pow == 1ULL.
* testsuite/20_util/duration/literals/84671.cc: New

From-SVN: r258159

7 years agoPR c++/84489 - dependent default template argument
Jason Merrill [Fri, 2 Mar 2018 18:24:40 +0000 (13:24 -0500)] 
PR c++/84489 - dependent default template argument

* pt.c (type_unification_real): Handle early substitution failure.

From-SVN: r258152

7 years ago[nvptx] Add support for CUDA 9
Thomas Schwinge [Fri, 2 Mar 2018 08:40:04 +0000 (09:40 +0100)] 
[nvptx] Add support for CUDA 9

Backport trunk r256891:

gcc/
2018-01-19  Cesar Philippidis  <cesar@codesourcery.com>

PR target/83790
* config/nvptx/nvptx.c (output_init_frag): Don't use generic address
spaces for function labels.

gcc/testsuite/
2018-01-19  Cesar Philippidis  <cesar@codesourcery.com>

PR target/83790
* gcc.target/nvptx/indirect_call.c: New test.

From-SVN: r258127

7 years agoDaily bump.
GCC Administrator [Fri, 2 Mar 2018 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258118

7 years agoDaily bump.
GCC Administrator [Thu, 1 Mar 2018 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258090

7 years agoPR c++/71784 - ICE with ref-qualifier and explicit specialization.
Jason Merrill [Wed, 28 Feb 2018 21:34:56 +0000 (16:34 -0500)] 
PR c++/71784 - ICE with ref-qualifier and explicit specialization.

* pt.c (determine_specialization): Check ref-qualifier.

From-SVN: r258087

7 years agogcc testsuite changes for new linker messages
Alan Modra [Wed, 28 Feb 2018 08:07:35 +0000 (18:37 +1030)] 
gcc testsuite changes for new linker messages

GNU ld error messages have changed to comply with the GNU coding
standards.

* lib/prune.exp (prune_gcc_output): Match lower case "in function"
GNU ld message.
* g++.dg/other/anon5.C: Match lower case "bad value" GNU ld message.

From-SVN: r258056

7 years agoDaily bump.
GCC Administrator [Wed, 28 Feb 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258048

7 years agoPR c++/84441 - ICE with base initialized from ?:
Jason Merrill [Tue, 27 Feb 2018 04:22:31 +0000 (23:22 -0500)] 
PR c++/84441 - ICE with base initialized from ?:

* call.c (unsafe_copy_elision_p): Handle COND_EXPR.

From-SVN: r258028

7 years agoPR c++/84520 - ICE with generic lambda in NSDMI.
Jason Merrill [Tue, 27 Feb 2018 04:22:24 +0000 (23:22 -0500)] 
PR c++/84520 - ICE with generic lambda in NSDMI.

* lambda.c (lambda_expr_this_capture): Don't look for fake NSDMI
'this' in a generic lambda instantiation.

From-SVN: r258027

7 years agoDaily bump.
GCC Administrator [Tue, 27 Feb 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r258018

7 years agoDaily bump.
GCC Administrator [Mon, 26 Feb 2018 00:16:17 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257976

7 years agore PR fortran/83633 (gfortran internal compiler error for explicit-shape array with...
Steven G. Kargl [Sun, 25 Feb 2018 17:32:36 +0000 (17:32 +0000)] 
re PR fortran/83633 (gfortran internal compiler error for explicit-shape array with non-constant bounds)

2018-02-25  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/83633
* decl.c (variable_decl): Check that an explicit-shape-array with
nonconstant bounds is allowed.

2018-02-25  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/83633
* gfortran.dg/explicit_shape_1.f90: New test.
* gfortran.dg/automatic_module_variable.f90: Update regex.
* gfortran.dg/bad_automatic_objects_1.f90: Ditto.

From-SVN: r257974

7 years agoDaily bump.
GCC Administrator [Sun, 25 Feb 2018 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257965

7 years agore PR fortran/30792 (DATA implied-do substring allowed with -std=f95/f2003)
Steven G. Kargl [Sat, 24 Feb 2018 20:24:27 +0000 (20:24 +0000)] 
re PR fortran/30792 (DATA implied-do substring allowed with -std=f95/f2003)

2018-02-24  Steven G. Kargl <kargl@gcc.gnu.org>

PR fortran/30792
* decl.c (gfc_match_data): Check for invalid substring in
data-implied-do

2018-02-24  Steven G. Kargl <kargl@gcc.gnu.org>

PR fortran/30792
* gfortran.dg/data_substring.f90: New test.

From-SVN: r257964

7 years agoDaily bump.
GCC Administrator [Sat, 24 Feb 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257958

7 years agobackport: re PR fortran/84506 (INQUIRE(pos=) always sets pos=0 with -fdefault-integer-8)
Jerry DeLisle [Fri, 23 Feb 2018 19:53:04 +0000 (19:53 +0000)] 
backport: re PR fortran/84506 (INQUIRE(pos=) always sets pos=0 with -fdefault-integer-8)

2018-02-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

Backport from trunk
PR fortran/84506
* trans-io.c (set_parameter_value_inquire): Adjust range check of
negative unit values for kind=8 units to the kind=4 negative limit.

* gfortran.dg/inquire_19.f90: New test.

From-SVN: r257951

7 years agore PR fortran/84511 (Internal compiler error from directly printing return of C_LOC)
Steven G. Kargl [Fri, 23 Feb 2018 19:42:43 +0000 (19:42 +0000)] 
re PR fortran/84511 (Internal compiler error from directly printing return of C_LOC)

2018-02-23  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/84511
* trans-io.c (transfer_expr): Deal with C_LOC in transfer statement.

From-SVN: r257950

7 years agore PR fortran/84346 (Statement functions should not accept keywords)
Steven G. Kargl [Fri, 23 Feb 2018 19:41:27 +0000 (19:41 +0000)] 
re PR fortran/84346 (Statement functions should not accept keywords)

2018-02-23  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/84346
* interface.c (compare_actual_formal): Issue error if keyword is
used in a statement function.

2018-02-23  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/84346
* gfortran.dg/statement_function_1.f90: Update test.

From-SVN: r257949

7 years agoDaily bump.
GCC Administrator [Fri, 23 Feb 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257925

7 years agoDaily bump.
GCC Administrator [Thu, 22 Feb 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257885

7 years agoFix emit_store_flag_force () function to fix ICE in int_mode_for_mode,
Sudakshina Das [Wed, 21 Feb 2018 12:50:31 +0000 (12:50 +0000)] 
Fix emit_store_flag_force () function to fix ICE in int_mode_for_mode,

at stor-layout.c:403 with arm-linux-gnueabi.

*** gcc/ChangeLog ***

2018-02-21  Sudakshina Das  <sudi.das@arm.com>

Backport from trunk
2018-01-10  Sudakshina Das  <sudi.das@arm.com>

PR target/82096
* expmed.c (emit_store_flag_force): Swap if const op0
and change VOIDmode to mode of op0.

*** gcc/testsuite/ChangeLog ***

2018-02-21  Sudakshina Das  <sudi.das@arm.com>

Backport from trunk
2018-01-12  Sudakshina Das  <sudi.das@arm.com>

* gcc.c-torture/compile/pr82096.c: Add dg-skip-if
directive.

Backport from trunk
2018-01-10  Sudakshina Das  <sudi.das@arm.com>

PR target/82096
* gcc.c-torture/compile/pr82096.c: New test.

From-SVN: r257871

7 years agoDaily bump.
GCC Administrator [Wed, 21 Feb 2018 00:16:16 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257866

7 years agolibgcc: xtensa: fix build with -mtext-section-literals
Max Filippov [Tue, 20 Feb 2018 21:13:03 +0000 (21:13 +0000)] 
libgcc: xtensa: fix build with -mtext-section-literals

libgcc/
2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>

Backport from mainline
2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>

* config/xtensa/ieee754-df.S (__adddf3_aux): Add
.literal_position directive.
* config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.

From-SVN: r257864

7 years agoDaily bump.
GCC Administrator [Tue, 20 Feb 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257833

7 years agoPR libstdc++/81797 Add .NOTPARALLEL to include/Makefile for darwin
Jonathan Wakely [Mon, 19 Feb 2018 17:02:38 +0000 (17:02 +0000)] 
PR libstdc++/81797 Add .NOTPARALLEL to include/Makefile for darwin

Backport from mainline
2018-02-15  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/81797
* configure.ac (INCLUDE_DIR_NOTPARALLEL): Define.
* configure: Regenerate.
* include/Makefile.am (INCLUDE_DIR_NOTPARALLEL): Add .NOTPARALLEL when
defined.
* include/Makefile.in: Regenerate.

From-SVN: r257811

7 years agoDaily bump.
GCC Administrator [Mon, 19 Feb 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257798

7 years agoDaily bump.
GCC Administrator [Sun, 18 Feb 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257785

7 years agoDaily bump.
GCC Administrator [Sat, 17 Feb 2018 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257776

7 years agore PR target/84277 (A lot of new acats testsuite failures)
Eric Botcazou [Fri, 16 Feb 2018 23:27:21 +0000 (23:27 +0000)] 
re PR target/84277 (A lot of new acats testsuite failures)

PR ada/84277
* gnat.dg/array11.adb (Array11): Tweak index and remove warning.
* gnat.dg/dispatch1.adb: Rename into...
* gnat.dg/disp1.adb: ...this.
* gnat.dg/dispatch1_p.ads: Rename into...
* gnat.dg/disp1_pkg.ads: ...this.
* gnat.dg/disp2.adb: Rename into...
* gnat.dg/dispatch2.adb: ...this.
* gnat.dg/dispatch2_p.ads: Rename into...
* gnat.dg/disp2_pkg.ads: ...this.
* gnat.dg/dispatch2_p.adb: Rename into...
* gnat.dg/disp2_pkg.adb: this.
* gnat.dg/generic_dispatch.adb: Rename into...
* gnat.dg/generic_disp.adb: this.
* gnat.dg/generic_dispatch_p.ads: Rename into...
* gnat.dg/generic_disp_pkg.ads: ...this.
* gnat.dg/generic_dispatch_p.adb: Rename into...
* gnat.dg/generic_disp_pkg.adb: ...this.
* gnat.dg/null_pointer_deref1.adb (Null_Pointer_Deref1): Robustify.
* gnat.dg/null_pointer_deref2.adb (Null_Pointer_Deref2): Likewise.
* gnat.dg/object_overflow1.adb: Tweak index.
* gnat.dg/object_overflow2.adb: Likewise.
* gnat.dg/object_overflow3.adb: Likewise.
* gnat.dg/object_overflow4.adb: Likewise.
* gnat.dg/object_overflow5.adb: Likewise.

From-SVN: r257775

7 years agoPR c++/84151 - unnecessary volatile load with static member.
Jason Merrill [Fri, 16 Feb 2018 21:34:57 +0000 (16:34 -0500)] 
PR c++/84151 - unnecessary volatile load with static member.

* call.c (build_new_method_call_1): Avoid loading from a volatile
lvalue used as the object argument for a static member function.

From-SVN: r257768

7 years agoDaily bump.
GCC Administrator [Fri, 16 Feb 2018 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257716

7 years agobackport: re PR target/84154 (PowerPC GCC 7 and 8 have regression in converting fp...
Michael Meissner [Thu, 15 Feb 2018 19:57:46 +0000 (19:57 +0000)] 
backport: re PR target/84154 (PowerPC GCC 7 and 8 have regression in converting fp to short/char and returning it)

2018-02-15  Michael Meissner  <meissner@linux.vnet.ibm.com>

Back port from trunk
2018-02-06  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/84154
* config/rs6000/rs6000.md (su code attribute): Use "u" for
unsigned_fix, not "s".

From-SVN: r257707

7 years agobackport: re PR debug/83758 (ICE building gccgo on powerpc64le --with-cpu=power8)
Aaron Sawdey [Thu, 15 Feb 2018 18:36:20 +0000 (18:36 +0000)] 
backport: re PR debug/83758 (ICE building gccgo on powerpc64le --with-cpu=power8)

2018-02-15  Aaron Sawdey  <acsawdey@linux.vnet.ibm.com>

Back port from mainline
2018-01-30  Aaron Sawdey  <acsawdey@linux.vnet.ibm.com>

PR target/83758
* config/rs6000/rs6000.c (rs6000_internal_arg_pointer): Only return
a reg rtx.

From-SVN: r257701

7 years agoDaily bump.
GCC Administrator [Thu, 15 Feb 2018 00:16:16 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257677

7 years agobackport: re PR target/84390 (test case gcc.target/powerpc/vsxcopy.c fails for gcc...
Peter Bergner [Wed, 14 Feb 2018 20:03:21 +0000 (14:03 -0600)] 
backport: re PR target/84390 (test case gcc.target/powerpc/vsxcopy.c fails for gcc 7 and gcc 6 on power9)

Backport from GCC 7 branch
2018-02-14  Peter Bergner  <bergner@vnet.ibm.com>

PR target/84390
* gcc.target/powerpc/vsxcopy.c: Also match lxv when compiling
with -mcpu=power9.

From-SVN: r257671

7 years agoDaily bump.
GCC Administrator [Wed, 14 Feb 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257649

7 years agoMake module files reproducible
Alastair McKinstry [Tue, 13 Feb 2018 08:06:02 +0000 (08:06 +0000)] 
Make module files reproducible

Using lbasename ensures that the build path does not end up in the
module file.

Regtested on x86_64-pc-linux-gnu. Backport from trunk.

2018-02-13  Alastair McKinstry  <alastair.mckinstry@sceal.ie>
    Janne Blomqvist  <jb@gcc.gnu.org>

* module.c (dump_module): Use lbasename to ensure that module
files are reproducible.

Co-Authored-By: Janne Blomqvist <jb@gcc.gnu.org>
From-SVN: r257615

7 years agoDaily bump.
GCC Administrator [Tue, 13 Feb 2018 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257608

7 years agore PR fortran/68560 (The test gfortran.dg/shape_8.f90 now fails when compiled with...
Thomas Koenig [Mon, 12 Feb 2018 20:27:11 +0000 (20:27 +0000)] 
re PR fortran/68560 (The test gfortran.dg/shape_8.f90 now fails when compiled with -flto)

2018-02-12  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/68560
* trans-intrinsic.c (gfc_conv_intrinsic_shape): New function.
(gfc_conv_intrinsic_function): Call it.

2018-02-12  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/68560
* gfortran.dg/shape_9.f90: New test.

From-SVN: r257603

7 years agore PR fortran/35299 (scope of variables in statement function do not acquire rank...
Francois-Xavier Coudert [Mon, 12 Feb 2018 18:26:44 +0000 (18:26 +0000)] 
re PR fortran/35299 (scope of variables in statement function do not acquire rank from host)

2018-02-12  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>

PR fortran/35299
ChangeLog for r257566
* gfortran.dg/statement_function_3.f: New test.

2018-02-12  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>

PR fortran/35299
ChangeLog for r257566
* resolve.c (resolve_formal_arglist): Update error message.

From-SVN: r257597

7 years agore PR fortran/54223 (Statement function statement with dummy arguments that are also...
Steven G. Kargl [Mon, 12 Feb 2018 18:25:41 +0000 (18:25 +0000)] 
re PR fortran/54223 (Statement function statement with dummy arguments that are also OPTIONAL may crash in wrong calls)

2018-02-12  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/54223
PR fortran/84276
* interface.c (compare_actual_formal): Add in_statement_function
bool parameter.  Skip check of INTENT attribute for statement
functions.  Arguments to a statement function cannot be optional,
issue error for missing argument.
(gfc_procedure_use, gfc_ppc_use, gfc_arglist_matches_symbol): Use
in_statement_function.

2018-02-12  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/54223
PR fortran/84276
* gfortran.dg/statement_function_1.f90: New test.
* gfortran.dg/statement_function_2.f90: New test.

From-SVN: r257596

7 years agoDaily bump.
GCC Administrator [Mon, 12 Feb 2018 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257572

7 years agoDaily bump.
GCC Administrator [Sun, 11 Feb 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257557

7 years agopa.c (hppa_profile_hook): Mark SYMBOL_REF for _mcount as function label.
John David Anglin [Sat, 10 Feb 2018 23:38:37 +0000 (23:38 +0000)] 
pa.c (hppa_profile_hook): Mark SYMBOL_REF for _mcount as function label.

* config/pa/pa.c (hppa_profile_hook): Mark SYMBOL_REF for _mcount as
function label.

From-SVN: r257556

7 years agobackport: re PR middle-end/84089 (FAIL: g++.dg/cpp1y/lambda-generic-x.C -std=gnu...
John David Anglin [Sat, 10 Feb 2018 20:04:59 +0000 (20:04 +0000)] 
backport: re PR middle-end/84089 (FAIL: g++.dg/cpp1y/lambda-generic-x.C  -std=gnu++14 (internal compiler error))

Backport from mainline
2018-02-01  Aldy Hernandez  <aldyh@redhat.com>

PR target/84089
* config/pa/predicates.md (base14_operand): Handle VOIDmode.

From-SVN: r257553

7 years agoDaily bump.
GCC Administrator [Sat, 10 Feb 2018 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257546

7 years agoDaily bump.
GCC Administrator [Fri, 9 Feb 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257506

7 years agoDaily bump.
GCC Administrator [Thu, 8 Feb 2018 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257475

7 years agore PR fortran/82994 (ICE in gfc_match_deallocate, at fortran/match.c:4478)
Steven G. Kargl [Wed, 7 Feb 2018 22:41:59 +0000 (22:41 +0000)] 
re PR fortran/82994 (ICE in gfc_match_deallocate, at fortran/match.c:4478)

2018-02-07  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/82994
* match.c (gfc_match_deallocate): Check for NULL pointer.

2018-02-07  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/82994
* gfortran.dg/deallocate_error_3.f90: New test.
* gfortran.dg/deallocate_error_4.f90: New test.

From-SVN: r257468

7 years agore PR fortran/82049 (ICE with character(*),parameter array constructor)
Steven G. Kargl [Wed, 7 Feb 2018 21:01:00 +0000 (21:01 +0000)] 
re PR fortran/82049 (ICE with character(*),parameter array constructor)

2018-02-07  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/82049
* match.c (gfc_match_type_spec): If the charlen is non-NULL, then
try to resolve it.  While here return early if possible.

2018-02-07  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/82049
* gfortran.dg/assumed_charlen_parameter.f90: New test.

From-SVN: r257461

7 years agoDaily bump.
GCC Administrator [Wed, 7 Feb 2018 00:16:19 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257433

7 years agoDaily bump.
GCC Administrator [Tue, 6 Feb 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257402

7 years agoDisable SHF_MERGE on Solaris 10/x86 (PR bootstrap/84017)
Rainer Orth [Mon, 5 Feb 2018 22:37:13 +0000 (22:37 +0000)] 
Disable SHF_MERGE on Solaris 10/x86 (PR bootstrap/84017)

Backport from mainline
2018-01-30  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

PR bootstrap/84017
* configure.ac (gcc_cv_as_shf_merge): Disable on Solaris 10/x86.
* configure: Regenerate.

From-SVN: r257399

7 years agoDaily bump.
GCC Administrator [Mon, 5 Feb 2018 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257370

7 years agoDaily bump.
GCC Administrator [Sun, 4 Feb 2018 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257360

7 years agoDaily bump.
GCC Administrator [Sat, 3 Feb 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257353

7 years agoDaily bump.
GCC Administrator [Fri, 2 Feb 2018 00:16:19 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257320

7 years ago[PR83370][AARCH64]Use tighter register constraint for sibcall patterns.
Renlin Li [Thu, 1 Feb 2018 21:33:05 +0000 (21:33 +0000)] 
[PR83370][AARCH64]Use tighter register constraint for sibcall patterns.

gcc/

backport from mainline
2018-02-01  Renlin Li  <renlin.li@arm.com>

PR target/83370
* config/aarch64/aarch64.c (aarch64_class_max_nregs): Handle
TAILCALL_ADDR_REGS.
(aarch64_register_move_cost): Likewise.
* config/aarch64/aarch64.h (reg_class): Rename CALLER_SAVE_REGS to
TAILCALL_ADDR_REGS.
(REG_CLASS_NAMES): Likewise.
(REG_CLASS_CONTENTS): Rename CALLER_SAVE_REGS to
TAILCALL_ADDR_REGS. Remove IP registers.
* config/aarch64/aarch64.md (Ucs): Update register constraint.

gcc/testsuite/

backport from mainline
2018-02-01  Richard Sandiford  <richard.sandiford@linaro.org>

PR target/83370
* gcc.target/aarch64/pr83370.c: New.

From-SVN: r257315

7 years agobackport: re PR tree-optimization/82726 (ICE in verify_ssa during GIMPLE pass: pcom)
Bin Cheng [Thu, 1 Feb 2018 12:00:57 +0000 (12:00 +0000)] 
backport: re PR tree-optimization/82726 (ICE in verify_ssa during GIMPLE pass: pcom)

Backport from mainline
2017-11-15  Bin Cheng  <bin.cheng@arm.com>

PR tree-optimization/82726
PR tree-optimization/70754
* tree-predcom.c (order_drefs_by_pos): New function.
(combine_chains): Move code setting has_max_use_after to...
(try_combine_chains): ...here.  New parameter.  Sort combined chains
according to position information.
(tree_predictive_commoning_loop): Update call to above function.
(update_pos_for_combined_chains, pcom_stmt_dominates_stmt_p): New.

testsuite

Backport from mainline
2017-11-15  Bin Cheng  <bin.cheng@arm.com>

PR tree-optimization/82726
* gcc.dg/tree-ssa/pr82726.c: New test.

Backport from mainline
2017-01-23  Bin Cheng  <bin.cheng@arm.com>

PR tree-optimization/70754
* gfortran.dg/pr70754.f90: New test.

From-SVN: r257291

7 years agoGuard against incomplete AVX512F support in Solaris as
Rainer Orth [Thu, 1 Feb 2018 08:09:03 +0000 (08:09 +0000)] 
Guard against incomplete AVX512F support in Solaris as

Backport from mainline
2018-01-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* lib/target-supports.exp (check_effective_target_avx512f): Also
check for __builtin_ia32_addsd_round,
__builtin_ia32_getmantsd_round.
* gcc.target/i386/i386.exp (check_effective_target_avx512f):
Remove.

From-SVN: r257283

7 years agoDaily bump.
GCC Administrator [Thu, 1 Feb 2018 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257277

7 years agobackport: re PR bootstrap/80867 (gnat bootstrap broken on powerpc64le-linux-gnu with...
Richard Biener [Wed, 31 Jan 2018 18:56:11 +0000 (18:56 +0000)] 
backport: re PR bootstrap/80867 (gnat bootstrap broken on powerpc64le-linux-gnu with -O3)

gcc/ChangeLog:

2018-01-31  Richard Biener <rguenther@suse.de>
    Kelvin Nilsen  <kelvin@gcc.gnu.org>

Backport from mainline
2018-01-29  Richard Biener <rguenther@suse.de>
    Kelvin Nilsen  <kelvin@gcc.gnu.org>

PR bootstrap/80867
* tree-vect-stmts.c (vectorizable_call): Don't call
targetm.vectorize_builtin_md_vectorized_function if callee is
NULL.

Co-Authored-By: Kelvin Nilsen <kelvin@gcc.gnu.org>
From-SVN: r257252

7 years agoDaily bump.
GCC Administrator [Wed, 31 Jan 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257213

7 years agoDaily bump.
GCC Administrator [Tue, 30 Jan 2018 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257168

7 years agoPR libstdc++/83833 fix chi_squared_distribution::param(const param&)
Jonathan Wakely [Mon, 29 Jan 2018 14:44:48 +0000 (14:44 +0000)] 
PR libstdc++/83833 fix chi_squared_distribution::param(const param&)

Backport from mainline
2018-01-15  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/83833
* include/bits/random.h (chi_squared_distribution::param): Update
gamma distribution parameter.
* testsuite/26_numerics/random/chi_squared_distribution/83833.cc: New
test.

From-SVN: r257149

7 years ago[PATCH] PR84033, powerpc64le -moptimize-swaps bad code with vec_vbpermq
Alan Modra [Mon, 29 Jan 2018 04:31:18 +0000 (15:01 +1030)] 
[PATCH] PR84033, powerpc64le -moptimize-swaps bad code with vec_vbpermq

vbpermq produces its output in bits 48..63 of the target vector reg,
so the output cannot be lane swapped.

gcc/
PR target/84033
* config/rs6000/rs6000.c (rtx_is_swappable_p): Exclude
UNSPEC_VBPERMQ.
gcc/testsuite/
PR target/84033
* gcc.target/powerpc/swaps-p8-46.c: New.

Backport svn r257070

From-SVN: r257137

7 years agoDaily bump.
GCC Administrator [Mon, 29 Jan 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257132

7 years agoDaily bump.
GCC Administrator [Sun, 28 Jan 2018 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257128

7 years agoDaily bump.
GCC Administrator [Sat, 27 Jan 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257115

7 years agoDaily bump.
GCC Administrator [Fri, 26 Jan 2018 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257071

7 years agoDaily bump.
GCC Administrator [Thu, 25 Jan 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r257034