aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2018-06-25re PR target/84786 ([miscompilation] vunpcklpd accessing xmm16-22 targeting KNL)Jakub Jelinek2-0/+55
PR target/84786 * config/i386/sse.md (vshift_count): New mode attr. (<shift_insn><mode>3<mask_name>): Use <vshift_count>N instead of vN as last operand's constraint for VI2_AVX2_AVX512BW shifts. Use YvN instead of vN as last operand's constraint for VI48_AVX2 shifts. * gcc.target/i386/avx512f-pr84786-3.c: New test. From-SVN: r262015
2018-06-25lto-section-out.c (lto_begin_section): Do not print section name for noaddr ↵Jan Hubicka2-2/+13
and unnumbered dumps. * lto-section-out.c (lto_begin_section): Do not print section name for noaddr and unnumbered dumps. From-SVN: r262013
2018-06-25tree-vectorizer.h (struct vec_info_shared): New structure with parts split ↵Richard Biener8-105/+224
out from struct vec_info and loop_nest from... 2018-06-25 Richard Biener <rguenther@suse.de> * tree-vectorizer.h (struct vec_info_shared): New structure with parts split out from struct vec_info and loop_nest from struct _loop_vec_info. (struct vec_info): Adjust accordingly. (struct _loop_vec_info): Likewise. (LOOP_VINFO_LOOP_NEST): Adjust. (LOOP_VINFO_DATAREFS): Likewise. (LOOP_VINFO_DDRS): Likewise. (struct _bb_vec_info): Likewise. (BB_VINFO_DATAREFS): Likewise. (BB_VINFO_DDRS): Likewise. (struct _stmt_vec_info): Add dr_aux member. (DR_VECT_AUX): Adjust to refer to member of DR_STMTs vinfo. (DR_MISALIGNMENT_UNINITIALIZED): New. (set_dr_misalignment): Adjust. (dr_misalignment): Assert misalign isn't DR_MISALIGNMENT_UNINITIALIZED. (vect_analyze_loop): Adjust prototype. (vect_analyze_loop_form): Likewise. * tree-vect-data-refs.c (vect_analyze_data_ref_dependences): Compute dependences lazily. (vect_record_base_alignments): Use shared datarefs/ddrs. (vect_verify_datarefs_alignment): Likewise. (vect_analyze_data_refs_alignment): Likewise. (vect_analyze_data_ref_accesses): Likewise. (vect_analyze_data_refs): Likewise. * tree-vect-loop.c (_loop_vec_info::_loop_vec_info): Add constructor parameter for shared part. (vect_analyze_loop_form): Pass in shared part and adjust. (vect_analyze_loop_2): Pass in storage for the number of stmts. Move loop nest finding to the caller. Compute datarefs lazily. (vect_analyze_loop): Pass in shared part. (vect_transform_loop): Verify shared datarefs are unchanged. * tree-vect-slp.c (_bb_vec_info::_bb_vec_info): Add constructor parameter for shared part. (vect_slp_analyze_bb_1): Pass in shared part and adjust. (vect_slp_bb): Verify shared datarefs are unchanged before transform. * tree-vect-stmts.c (ensure_base_align): Adjust for DR_AUX change. (new_stmt_vec_info): Initialize DR_AUX misalignment to DR_MISALIGNMENT_UNINITIALIZED. * tree-vectorizer.c (vec_info::vec_info): Add constructor parameter for shared part. (vec_info::~vec_info): Adjust. (vec_info_shared::vec_info_shared): New. (vec_info_shared::~vec_info_shared): Likewise. (vec_info_shared::save_datarefs): Likewise. (vec_info_shared::check_datarefs): Likewise. (try_vectorize_loop_1): Construct shared part live for analyses of a single loop for multiple vector sizes. * tree-parloops.c (gather_scalar_reductions): Adjust. From-SVN: r262009
2018-06-25tree-vect-data-refs.c (vect_find_stmt_data_reference): Modify DR for SIMD ↵Richard Biener2-80/+92
lane accesses here and mark DR with (void *)-1 aux. 2018-06-25 Richard Biener <rguenther@suse.de> * tree-vect-data-refs.c (vect_find_stmt_data_reference): Modify DR for SIMD lane accesses here and mark DR with (void *)-1 aux. (vect_analyze_data_refs): Remove similar code from here and simplify accordingly. From-SVN: r262008
2018-06-25tree-vect-data-refs.c (vect_check_gather_scatter): Fail for reverse storage ↵Richard Biener5-1/+40
order accesses rather than asserting they cannot... 2018-06-25 Richard Biener <rguenther@suse.de> Eric Botcazou <ebotcazou@libertysurf.fr> * tree-vect-data-refs.c (vect_check_gather_scatter): Fail for reverse storage order accesses rather than asserting they cannot happen here. * gnat.dg/sso9.adb: New testcase. * gnat.dg/sso9_pkg.ads: Likewise. From-SVN: r262007
2018-06-25[i386/debug] Fix insn prefix in tls_global_dynamic_64_<mode>Tom de Vries4-1/+37
2018-06-25 Tom de Vries <tdevries@suse.de> PR debug/86257 * config/i386/i386.md (define_insn "*tls_global_dynamic_64_<mode>"): Use data16 instead of .byte for insn prefix. * gcc.target/i386/pr86257.c: New test. From-SVN: r262006
2018-06-25C++: Fix PR86082Andreas Krebbel4-1/+47
When turning a user-defined numerical literal into an operator invocation the literal needs to be translated to the execution character set. gcc/cp/ChangeLog: 2018-06-25 Andreas Krebbel <krebbel@linux.ibm.com> PR C++/86082 * parser.c (make_char_string_pack): Pass this literal chars through cpp_interpret_string. (cp_parser_userdef_numeric_literal): Check the result of make_char_string_pack. gcc/testsuite/ChangeLog: 2018-06-25 Andreas Krebbel <krebbel@linux.ibm.com> PR C++/86082 * g++.dg/pr86082.C: New test. From-SVN: r262003
2018-06-25Daily bump.GCC Administrator1-1/+1
From-SVN: r262002
2018-06-24stddef.h: Simplify conditions around avoiding re-definition of __size_t.Maya Rashish2-4/+8
* ginclude/stddef.h: Simplify conditions around avoiding re-definition of __size_t. From-SVN: r261998
2018-06-24lto-streamer-out.c (tree_is_indexable): Make LABEL_DECL nonindexable unless ↵Jan Hubicka2-2/+10
it is forced or nonlocal... * lto-streamer-out.c (tree_is_indexable): Make LABEL_DECL nonindexable unless it is forced or nonlocal; assert that we stream no IMPORTED_DECL. From-SVN: r261995
2018-06-24re PR fortran/85983 (ICE in check_dtio_interface1, at fortran/interface.c:4748)Jerry DeLisle2-1/+5
2018-06-23 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/85983 * interface.c (check_dtio_interface1): Delete assert. From-SVN: r261994
2018-06-24Daily bump.GCC Administrator1-1/+1
From-SVN: r261992
2018-06-23[testsuite/guality] Fix tcl error on missing gdbTom de Vries5-3/+15
2018-06-24 Tom de Vries <tdevries@suse.de> * g++.dg/guality/guality.exp: Don't use which on gdb arg to report_gdb. * gcc.dg/guality/guality.exp: Same. * gfortran.dg/guality/guality.exp: Same. * lib/gcc-gdb-test.exp: Do early out if which gdb fails. From-SVN: r261988
2018-06-23decl.c (bad_specifiers): Add const location_t* parameter and use locations ↵Paolo Carlini7-93/+181
in error messages about... /cp 2018-06-23 Paolo Carlini <paolo.carlini@oracle.com> * decl.c (bad_specifiers): Add const location_t* parameter and use locations in error messages about 'inline' and 'virtual'. (mark_inline_variable): Add location_t parameter and use it in error_at and pedwarn messages. (grokdeclarator): Use declspecs->locations[ds_constexpr], declspecs->locations[ds_concept], declspecs->locations[ds_virtual], declspecs->locations[ds_inline] in many error messages; adjust bad_specifiers and mark_inline_variable calls. (grokvardecl): Use declspecs->locations[ds_concept] in error message. /testsuite 2018-06-23 Paolo Carlini <paolo.carlini@oracle.com> * g++.dg/concepts/locations1.C: New. * g++.dg/cpp0x/locations1.C: Likewise. * g++.dg/cpp1z/inline-var2.C: Test locations too. * g++.dg/cpp1z/inline-var3.C: Likewise. From-SVN: r261982
2018-06-22invoke.texi (mno-fancy-math-387): Update for changes made to OpenBSD and ↵Maya Rashish2-2/+7
NetBSD through the years. * doc/invoke.texi (mno-fancy-math-387): Update for changes made to OpenBSD and NetBSD through the years. From-SVN: r261981
2018-06-23runtime: use #ifdef instead of #if for USING_SPLIT_STACKIan Lance Taylor1-1/+1
USING_SPLIT_STACK is configured as defined/undefined, not 0/1. Most of the places test USING_SPLIT_STACK with #ifdef, with a few exceptions. This CL fixes the exceptions. Reviewed-on: https://go-review.googlesource.com/120596 From-SVN: r261980
2018-06-23Daily bump.GCC Administrator1-1/+1
From-SVN: r261979
2018-06-22re PR fortran/86281 (SEGV in fortran/resolve.c:resolve_function)Paul Thomas4-0/+14
2018-06-22 Paul Thomas <pault@gcc.gnu.org> Rainer Orth <ro@gcc.gnu.org> PR fortran/86281 * resolve.c (resolve_contained_fntype): Check for the charlen before testing the length. 2018-06-22 Paul Thomas <pault@gcc.gnu.org> PR fortran/86281 * gfortran.dg/assumed_charlen_function_7.f90: Add -std=legacy. Co-Authored-By: Rainer Orth <ro@gcc.gnu.org> From-SVN: r261975
2018-06-22rs6000-c.c (altivec_overloaded_builtins): Change behavior of vec_pack ↵Kelvin Nilsen6-10/+38
(vector double... gcc/ChangeLog: 2018-06-22 Kelvin Nilsen <kelvin@gcc.gnu.org> * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Change behavior of vec_pack (vector double, vector double) to match behavior of vec_float2 (vector double, vector double). gcc/testsuite/ChangeLog: 2018-06-22 Kelvin Nilsen <kelvin@gcc.gnu.org> * gcc.target/powerpc/builtins-3-p8.c (test_pack_float): Remove this test. * gcc.target/powerpc/builtins-9.c: New test. * gcc.target/powerpc/fold-vec-pack-double.c: Modify dg directives to expect different code generation on big-endian vs. little-endian targets. From-SVN: r261974
2018-06-22PR c++/86219 - ICE with erroneous initializer in template.Jason Merrill11-27/+65
* constexpr.c (fold_non_dependent_expr): Add complain parm. * call.c, expr.c, init.c, pt.c, semantics.c, typeck.c, typeck2.c: Pass it. * call.c (build_cxx_call): Don't mess with builtins in a template. * typeck2.c (store_init_value): If fold_non_dependent_expr didn't produce a constant value, go back to the uninstantiated form. From-SVN: r261972
2018-06-22Avoid taking the address of something just because it's in parens.Jason Merrill4-27/+41
* constexpr.c (same_type_ignoring_tlq_and_bounds_p): New. (cxx_fold_indirect_ref): Use it. (cxx_eval_constant_expression) [VIEW_CONVERT_EXPR]: Use it. * cp-tree.h (REF_PARENTHESIZED_P): Allow VIEW_CONVERT_EXPR. * semantics.c (force_paren_expr): Use VIEW_CONVERT_EXPR instead of static_cast to reference type. (maybe_undo_parenthesized_ref): Handle VIEW_CONVERT_EXPR. From-SVN: r261971
2018-06-22[testsuite/guality] Use buildarea gdb by default in combined buildTom de Vries4-0/+16
2018-06-22 Tom de Vries <tdevries@suse.de> * g++.dg/guality/guality.exp (guality_gdb_name): Default to $rootme/../gdb/gdb, if available. * gcc.dg/guality/guality.exp (guality_gdb_name): Same. * gfortran.dg/guality/guality.exp (guality_gdb_name): Same. From-SVN: r261935
2018-06-22[testsuite/guality] Be verbose about gdb version usedTom de Vries5-0/+20
2018-06-22 Tom de Vries <tdevries@suse.de> * lib/gcc-gdb-test.exp (report_gdb): New proc. * g++.dg/guality/guality.exp: Use report_gdb. * gcc.dg/guality/guality.exp: Same. * gfortran.dg/guality/guality.exp: Same. From-SVN: r261911
2018-06-22re PR c++/85662 ("error: non-constant condition for static assertion" from ↵Jakub Jelinek2-0/+10
__builtin_offsetof in C++) PR c++/85662 * g++.dg/ext/offsetof3.C: New test. From-SVN: r261909
2018-06-22Improve entry/exit instrumentation for nested functionsOlivier Hainque2-7/+16
2018-06-22 Olivier Hainque <hainque@adacore.com> * gimplify.c (gimplify_function_tree): Prevent creation of a trampoline for the address of the current function passed to entry/exit instrumentation hooks. From-SVN: r261908
2018-06-22Forgot PR target/86222 in ChangeLogAaron Sawdey1-0/+1
From-SVN: r261906
2018-06-22rs6000-string.c (expand_strn_compare): Handle -m32 correctly.Aaron Sawdey2-17/+11
2018-06-22 Aaron Sawdey <acsawdey@linux.ibm.com> * config/rs6000/rs6000-string.c (expand_strn_compare): Handle -m32 correctly. From-SVN: r261905
2018-06-22altivec-7.c: Add qualifiers for counts on AIX versus Linux.Carl Love6-29/+70
gcc/testsuite/ChangeLog: 2018-06-22 Carl Love <cel@us.ibm.com> * gcc.target/powerpc/altivec-7.c: Add qualifiers for counts on AIX versus Linux. Change checks for xxlnor, xxland and xxlxor to also look for the vnor, vand and vxor instructions. * gcc.target/powerpc/builtins-1.c: Move vec_or tests to a new file. Remove counts for xxlor. Fix match on bl __divdi3 and bl __udivdi3. * gcc.target/powerpc/builtins-4.c: Fix matching for vsl instructions. * gcc.target/powerpc/builtins-5.c: New test file for vec_or test cases. * gcc.target/powerpc/vsx-vector-6.p7.c: Fix xxlnor BE expected count. Add -dp to dg-options, update expected counts. From-SVN: r261904
2018-06-22Fix test case failures for pdp11 target.Paul Koning12-2/+36
* gcc.c-torture/execute/builtins/lib/chk.c: Use smaller alignment if pdp11. * gcc.c-torture/compile/20010518-2.c: Skip if pdp11 -mint32. * gcc.c-torture/compile/20040101-1.c: Ditto. * gcc.c-torture/compile/20050622-1.c: Ditto. * gcc.c-torture/compile/20080625-1.c: Ditto. * gcc.c-torture/compile/20090107-1.c: Ditto. * gcc.c-torture/compile/920501-12.c: Ditto. * gcc.c-torture/compile/920501-4.c: Ditto. * gcc.c-torture/compile/961203-1.c: Ditto. * gcc.c-torture/compile/limits-externdecl.c: Ditto. * gcc.c-torture/compile/pr25310.c: Ditto. From-SVN: r261897
2018-06-22syscall: remove UstatIan Lance Taylor1-1/+1
glibc 2.28 removes ustat.h and the ustat function entirely, which breaks syscall.Ustat. Updates golang/go#25990 Reviewed-on: https://go-review.googlesource.com/120535 From-SVN: r261896
2018-06-22Fix emission of jump tables (PR tree-optimization/86263).Martin Liska3-0/+32
2018-06-22 Martin Liska <mliska@suse.cz> PR tree-optimization/86263 * tree-switch-conversion.c (jump_table_cluster::find_jump_tables): Bail out if is_enabled is false. * tree-switch-conversion.h (jump_table_cluster::is_enabled): New declaration. (jump_table_cluster::is_enabled): New function. From-SVN: r261886
2018-06-22lto-streamer-out.c (DFS::DFS_write_tree_body): Do not stream ↵Jan Hubicka5-41/+21
BINFO_BASE_ACCESSES and BINFO_VPTR_FIELD. * lto-streamer-out.c (DFS::DFS_write_tree_body): Do not stream BINFO_BASE_ACCESSES and BINFO_VPTR_FIELD. * tree-streamer-in.c (streamer_read_tree_bitfields): Likewise. (lto_input_ts_binfo_tree_pointers): Likewise. * tree-streamer-out.c (streamer_write_tree_bitfields, write_ts_binfo_tree_pointers): Likewise. * tree.c (free_lang_data_in_binfo): Clear BINFO_VPTR_FIELD. From-SVN: r261885
2018-06-22Update OpenACC testcasesCesar Philippidis15-0/+692
gcc/testsuite/ * c-c++-common/goacc/deviceptr-4.c: New file. * c-c++-common/goacc/kernels-counter-var-redundant-load.c: Likewise. * c-c++-common/goacc/kernels-loop-data-2.c: Likewise. * c-c++-common/goacc/kernels-loop-data-enter-exit-2.c: Likewise. * c-c++-common/goacc/kernels-loop-data-enter-exit.c: Likewise. * c-c++-common/goacc/kernels-loop-data-update.c: Likewise. * c-c++-common/goacc/kernels-loop-data.c: Likewise. * c-c++-common/goacc/kernels-parallel-loop-data-enter-exit.c: Likewise. * c-c++-common/goacc/parallel-reduction.c: Likewise. * c-c++-common/goacc/private-reduction-1.c: Likewise. * gfortran.dg/goacc/kernels-parallel-loop-data-enter-exit.f95: Likewise. * gfortran.dg/goacc/modules.f95: Likewise. * gfortran.dg/goacc/routine-8.f90: Likewise. * gfortran.dg/goacc/routine-level-of-parallelism-1.f90: Likewise. libgomp/ * testsuite/libgomp.oacc-c-c++-common/loop-red-wv-1.c: Don't force "-O2". * testsuite/libgomp.oacc-c-c++-common/data-2.c: Update. * testsuite/libgomp.oacc-c-c++-common/host_data-1.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/mode-transitions.c: Likewise. * testsuite/libgomp.oacc-fortran/data-1.f90: Likewise. * testsuite/libgomp.oacc-fortran/data-2.f90: Likewise. * testsuite/libgomp.oacc-c++/non-scalar-data.C: New file. * testsuite/libgomp.oacc-c-c++-common/declare-3.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/enter-data.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-2.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-enter-exit-2.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-enter-exit.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-update.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-loop-data.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-parallel-loop-data-enter-exit.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-1.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-2.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-3.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-4.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-5.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-1.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-2.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-3.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-4.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-5.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-6.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-vector-1.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-vector-2.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-1.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-2.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-3.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-4.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-5.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-6.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-7.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-reduction-1.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/parallel-loop-1.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/parallel-loop-1.h: Likewise. * testsuite/libgomp.oacc-c-c++-common/parallel-loop-2.h: Likewise. * testsuite/libgomp.oacc-fortran/cublas-fixed.h: Likewise. * testsuite/libgomp.oacc-fortran/dummy-array.f90: Likewise. * testsuite/libgomp.oacc-fortran/host_data-2.f90: Likewise. * testsuite/libgomp.oacc-fortran/host_data-3.f: Likewise. * testsuite/libgomp.oacc-fortran/host_data-4.f90: Likewise. * testsuite/libgomp.oacc-fortran/kernels-acc-loop-reduction-2.f90: Likewise. * testsuite/libgomp.oacc-fortran/kernels-acc-loop-reduction.f90: Likewise. * testsuite/libgomp.oacc-fortran/kernels-collapse-3.f90: Likewise. * testsuite/libgomp.oacc-fortran/kernels-collapse-4.f90: Likewise. * testsuite/libgomp.oacc-fortran/kernels-independent.f90: Likewise. * testsuite/libgomp.oacc-fortran/kernels-loop-1.f90: Likewise. * testsuite/libgomp.oacc-fortran/kernels-map-1.f90: Likewise. * testsuite/libgomp.oacc-fortran/kernels-parallel-loop-data-enter-exit.f95: Likewise. * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-1.f90: Likewise. * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-2.f90: Likewise. * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-3.f90: Likewise. * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-6.f90: Likewise. * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-vector-1.f90: Likewise. * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-vector-2.f90: Likewise. * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-1.f90: Likewise. * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-2.f90: Likewise. * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-3.f90: Likewise. * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-4.f90: Likewise. * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-5.f90: Likewise. * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-6.f90: Likewise. * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-7.f90: Likewise. * testsuite/libgomp.oacc-fortran/kernels-reduction-1.f90: Likewise. * testsuite/libgomp.oacc-fortran/lib-12.f90: Likewise. * testsuite/libgomp.oacc-fortran/lib-13.f90: Likewise. * testsuite/libgomp.oacc-fortran/lib-14.f90: Likewise. * testsuite/libgomp.oacc-fortran/lib-15.f90: Likewise. * testsuite/libgomp.oacc-fortran/parallel-loop-1.f90: Likewise. * testsuite/libgomp.oacc-fortran/reference-reductions.f90: Likewise. * testsuite/libgomp.oacc-fortran/vector-routine.f90: Likewise. Co-Authored-By: James Norris <jnorris@codesourcery.com> Co-Authored-By: Julian Brown <julian@codesourcery.com> Co-Authored-By: Thomas Schwinge <thomas@codesourcery.com> Co-Authored-By: Tom de Vries <tom@codesourcery.com> From-SVN: r261884
2018-06-22* tree.c (free_lang_data_in_type): Free all TYPE_VFIELDs.Jan Hubicka2-4/+5
From-SVN: r261883
2018-06-22Make symbol_summary::get and call_summary::get pure.Martin Liska2-56/+25
2018-06-22 Martin Liska <mliska@suse.cz> * symbol-summary.h (get): Make it pure and inline move functionality from ::get function. (get): Remove and inline into ::get and ::get_create. (get_create): Move code from ::get function. From-SVN: r261882
2018-06-22Don't preprocess .S files with -P on Solaris/x86 (PR target/85994)Rainer Orth2-2/+7
PR target/85994 * config/i386/sol2.h (CPP_SPEC): Don't pass -P for -x assembler-with-cpp. From-SVN: r261880
2018-06-22Have g++ define _FILE_OFFSET_BITS=64 on SolarisRainer Orth2-0/+6
* config/sol2.h (TARGET_OS_CPP_BUILTINS): Define _FILE_OFFSET_BITS=64 for C++. From-SVN: r261879
2018-06-22Daily bump.GCC Administrator1-1/+1
From-SVN: r261877
2018-06-21pack02.c: Use __ibm128 instead of long double if the long double format is ↵Michael Meissner7-30/+130
IEEE 128-bit... 2018-06-21 Michael Meissner <meissner@linux.ibm.com> * gcc.target/powerpc/pack02.c: Use __ibm128 instead of long double if the long double format is IEEE 128-bit for tests that are explicitly testing IBM extended double support. Use the appropriate pack and unpack built-in functions. Change calls from __builtin_isinfl to __builtin_isinf since the later supports all floating point types. * gcc.target/powerpc/pr57150.c: Likewise. * gcc.target/powerpc/pr60203.c: Likewise. * gcc.target/powerpc/pr67808.c: Likewise. * gcc.target/powerpc/pr70117.c: Likewise. * gcc.target/powerpc/tfmode_off.c: Likewise. From-SVN: r261872
2018-06-21cmd/go: re-enable a couple of tests of gccgoIan Lance Taylor1-1/+1
Port https://golang.org/cl/120375 over to the gofrontend repo so that it gets more reliable testing. Updates golang/go#22472 Reviewed-on: https://go-review.googlesource.com/120395 From-SVN: r261871
2018-06-21rs6000.c (init_float128_ieee): Prevent complex multiply and divide external ↵Michael Meissner2-2/+10
functions from being created more... 2018-06-23 Michael Meissner <meissner@linux.ibm.com> * config/rs6000/rs6000.c (init_float128_ieee): Prevent complex multiply and divide external functions from being created more than once. From-SVN: r261870
2018-06-21rs6000.md (neg<mode>2_internal): Use the correct mode to check whether the ↵Michael Meissner2-1/+3
mode is IBM extended. 2018-06-21 Michael Meissner <meissner@linux.ibm.com> * config/rs6000/rs6000.md (neg<mode>2_internal): Use the correct mode to check whether the mode is IBM extended. From-SVN: r261869
2018-06-21re PR fortran/49630 ([OOP] ICE on obsolescent deferred-length type bound ↵Paul Thomas5-4/+65
character function) 2018-06-21 Paul Thomas <pault@gcc.gnu.org> PR fortran/49630 * resolve.c (resolve_contained_fntype): Change standard ref. from F95 to F2003: C418. Correct a spelling error in a comment. It is an error for an abstract interface to have an assumed character length result. * trans-expr.c (gfc_conv_procedure_call): Likewise change the standard reference. 2018-06-21 Paul Thomas <pault@gcc.gnu.org> PR fortran/49630 * gfortran.dg/assumed_charlen_function_7.f90: New test. From-SVN: r261868
2018-06-21rs6000.md (extendtfif2): Add missing 128-bit conversion insn that shows up ↵Michael Meissner2-0/+15
when... 2018-06-21 Michael Meissner <meissner@linux.ibm.com> * config/rs6000/rs6000.md (extendtfif2): Add missing 128-bit conversion insn that shows up when pr85657-3.c is compiled using IEEE 128-bit long double. From-SVN: r261867
2018-06-21* pt.c (tsubst) [TEMPLATE_TYPE_PARM]: Use TEMPLATE_PARM_DESCENDANTS.Jason Merrill2-0/+11
From-SVN: r261861
2018-06-21Reduce garbage from push_to_top_level.Jason Merrill2-2/+6
* name-lookup.c (do_push_to_top_level): Don't allocate current_lang_base. (do_pop_from_top_level): Release current_lang_base. From-SVN: r261860
2018-06-21Let -fmem-report see callers of cxx_make_type.Jason Merrill4-7/+24
* lex.c (cxx_make_type): Add MEM_STAT_DECL. (make_class_type): Likewise. (cxx_make_type_hook): New. * cp-objcp-common.h (LANG_HOOKS_MAKE_TYPE): Use cxx_make_type_hook. From-SVN: r261859
2018-06-21PR c++/86182 - fix wrong PR tag in earlier commitJason Merrill2-2/+2
From-SVN: r261858
2018-06-21re PR fortran/83118 (Bad intrinsic assignment of class(*) array component of ↵Paul Thomas6-3/+92
derived type) 2018-06-21 Paul Thomas <pault@gcc.gnu.org> PR fortran/83118 * resolve.c (resolve_ordinary_assign): Force the creation of a vtable for assignment of non-polymorphic expressions to an unlimited polymorphic object. * trans-array.c (gfc_alloc_allocatable_for_assignment): Use the size of the rhs type for such assignments. Set the dtype, _len and vptrs appropriately. * trans-expr.c (gfc_trans_assignment): Force the use of the _copy function for these assignments. 2018-06-21 Paul Thomas <pault@gcc.gnu.org> PR fortran/83118 * gfortran.dg/unlimited_polymorphic_30.f03: New test. From-SVN: r261857
2018-06-21cfgrtl.c (fixup_reorder_chain): Do not emit NOPs in DECL_IGNORED_P functions.Eric Botcazou2-17/+33
* cfgrtl.c (fixup_reorder_chain): Do not emit NOPs in DECL_IGNORED_P functions. (rtl_merge_blocks): Likewise. Do not emit a NOP if the location of the edge can be forwarded. (cfg_layout_merge_blocks): Likewise. From-SVN: r261856