- 10 Dec, 2018 11 commits
-
-
PR ipa/87955 * gcc.target/i386/pr87955.c: Add -msse2 -mfpmath=sse to dg-options. From-SVN: r266954
Jakub Jelinek committed -
2018-12-10 Martin Jambor <mjambor@suse.cz> PR ipa/88214 * ipa-prop.c (determine_locally_known_aggregate_parts): Make sure we check pointers against pointers. testsuite/ * gcc.dg/ipa/pr88214.c: New test. From-SVN: r266953
Martin Jambor committed -
PR testsuite/88369 * gcc.dg/vect/vect-ivdep-1.c: Prune versioning for alignment messages. * gcc.dg/vect/vect-ivdep-2.c: Likewise. * gcc.dg/vect/nodump-vect-opt-info-1.c: Likewise. * g++.dg/vect/pr33426-ivdep.cc: Likewise. * g++.dg/vect/pr33426-ivdep-2.cc: Likewise. * g++.dg/vect/pr33426-ivdep-3.cc: Likewise. * g++.dg/vect/pr33426-ivdep-4.cc: Likewise. From-SVN: r266952
Jakub Jelinek committed -
2018-12-10 Richard Biener <rguenther@suse.de> PR middle-end/88415 * gimple.c (gimple_assign_set_rhs_with_ops): Transfer EH info to a newly allocated stmt. * gcc.dg/gomp/pr88415.c: New testcase. From-SVN: r266951
Richard Biener committed -
Backported from upstream druntime 2.079. Reviewed-on: https://github.com/dlang/druntime/pull/2089 From-SVN: r266950
Iain Buclaw committed -
* c-c++-common/patchable_function_entry-decl.c: Pass -mcpu=gr6 for Visium and remove other specific handling. * c-c++-common/patchable_function_entry-default.c: Likewise. * c-c++-common/patchable_function_entry-definition.c: Likewise. From-SVN: r266948
Eric Botcazou committed -
* config/vxworksae.h (TARGET_VXWORKS_HAVE_CTORS_DTORS): Define. From-SVN: r266947
Jerome Lambourg committed -
2018-12-10 Fredrik Nyström <fredrik@lysator.liu.se> PR bootstrap/65725 * config/sol2.h: Only use libgcc-unwind.map if ENABLE_SHARED_LIBGCC. From-SVN: r266946
Fredrik Nyström committed -
* auto-profile.c (afdo_calculate_branch_prob): Convert profile_count to afdo precision quality. (afdo_callsite_hot_enough_for_early_inline): Likewise. (afdo_annotate_cfg): Set profile_count for exit basic block. From-SVN: r266943
Bin Cheng committed -
(function_instance::get_function_instance_by_decl): Avoid infinite recursion by using DECL_FROM_INLINE. From-SVN: r266942
Bin Cheng committed -
From-SVN: r266939
GCC Administrator committed
-
- 09 Dec, 2018 19 commits
-
-
2018-12-09 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/88205 * io.c (gfc_match_open): Move NEWUNIT checks to after STATUS checks. 2018-12-09 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/88205 * gfortran.dg/pr88205.f90: New unit. From-SVN: r266936
Steven G. Kargl committed -
Backported from upstream druntime master. Initial patch by Rainer Orth. Reviewed-on: https://github.com/dlang/druntime/pull/2344 From-SVN: r266935
Iain Buclaw committed -
The tests in gdc.test/compilable/ddoc*.d don't require the module to be compiled all the way down to object code. Instead, only compile the test sources with -fdoc, and scan the generated html content. gcc/testsuite/ChangeLog: PR d/88039 * gdc.test/gdc-test.exp (gdc-convert-args): Handle -D. (dmd2dg): Check generated html in ddoc tests. (gdc-do-test): Set dg-do-what-default to compile for ddoc tests. From-SVN: r266933
Iain Buclaw committed -
* config.gcc (hppa*-*-linux*): Add pa/t-pa to tmake_file. Define d_target_objs. * config/pa/pa-protos.h (pa_d_target_versions): New prototype. * config/pa/pa.h (TARGET_D_CPU_VERSIONS): Define. * config/pa/pa-d.c: New file. * config/pa/t-pa: New file. From-SVN: r266931
John David Anglin committed -
2018-12-09 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/88206 * match.c (gfc_match_type_spec): REAL can be an intrinsic function. 2018-12-09 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/88206 * gfortran.dg/pr88206.f90: New test. From-SVN: r266930
Steven G. Kargl committed -
2018-12-09 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/88411 * io/transfer.c (dta_transfer_init): Do not treat as an asynchronous statement unless the statement has ASYNCHRONOUS="YES". (st_write_done): Likewise. (st_read_done): Do not perform async_wait for synchronous I/O on an async unit. (st_read_done): Likewise. 2018-12-09 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/88411 * testsuite/libgomp.fortran/async_io_8.f90: New test. From-SVN: r266929
Thomas Koenig committed -
2018-12-09 Fritz Reese <fritzoreese@gmail.com> PR fortran/88228 * resolve.c (resolve_operator): Do not call resolve_function. Break like other cases. 2018-12-09 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/88228 * gfortran.dg/pr88228.f90: New test. From-SVN: r266926
Steven G. Kargl committed -
Backports VRP fixes from the D front-end implementation to the C++ port, and fixes errors reported by ubsan build where the conversion from D didn't include adjusting integer suffixes from 'UL' to 'ULL'. Fixes https://gcc.gnu.org/PR88366 Reviewed-on: https://github.com/dlang/dmd/pull/9046 From-SVN: r266925
Iain Buclaw committed -
gcc/fortran/ * trans-openmp.c (gfc_trans_oacc_combined_directive): Set the location of combined acc loops. gcc/testsuite/ * gfortran.dg/goacc/combined-directives-3.f90: New file. Reviewed-by: Thomas Schwinge <thomas@codesourcery.com> From-SVN: r266924
Thomas Schwinge committed -
The C++ FE doesn't set the expr_location of the split acc loop in combined acc parallel/kernels loop directives. This only happens for with combined directives, otherwise cp_parser_omp_construct would be responsible for setting the location. After fixing this bug, I was able to resolve a couple of long standing diagnostics discrepancies between the C/C++ FEs in the test suite. gcc/cp/ * parser.c (cp_parser_oacc_kernels_parallel): Adjust EXPR_LOCATION on the combined acc loop. gcc/testsuite/ * c-c++-common/goacc/combined-directives-3.c: New test. * c-c++-common/goacc/loop-2-kernels.c (void K): Adjust test. * c-c++-common/goacc/loop-2-parallel.c (void P): Adjust test. * c-c++-common/goacc/loop-3.c (void p2): Adjust test. Reviewed-by: Thomas Schwinge <thomas@codesourcery.com> From-SVN: r266923
Cesar Philippidis committed -
Don't duplicate in the Fortran front end what's generically being checked in the middle end. gcc/fortran/ * openmp.c (resolve_oacc_loop_blocks): Remove checking of OpenACC loop clauses. gcc/testsuite/ * gfortran.dg/goacc/loop-2-kernels.f95: Update. * gfortran.dg/goacc/loop-2-parallel.f95: Likewise. * gfortran.dg/goacc/nested-parallelism.f90: Likewise. From-SVN: r266922
Thomas Schwinge committed -
gcc/testsuite/ * gfortran.dg/goacc/loop-2.f95: Split into... * gfortran.dg/goacc/loop-2-kernels-nested.f95: ... this new file... * gfortran.dg/goacc/loop-2-kernels-tile.f95: ..., and this new file... * gfortran.dg/goacc/loop-2-kernels.f95: ..., and this new file... * gfortran.dg/goacc/loop-2-parallel-3.f95: ..., and this new file... * gfortran.dg/goacc/loop-2-parallel-nested.f95: ..., and this new file... * gfortran.dg/goacc/loop-2-parallel-tile.f95: ..., and this new file... * gfortran.dg/goacc/loop-2-parallel.f95: ..., and this new file. From-SVN: r266921
Thomas Schwinge committed -
The Fortran front end declares that the OpenACC "Clause SEQ conflicts with INDEPENDENT". While that combination doesn't make too much sense indeed, it's still valid; these are orthogonal concepts. gcc/fortran/ PR fortran/88420 * openmp.c (resolve_oacc_loop_blocks): Remove "Clause SEQ conflicts with INDEPENDENT" diagnostic. gcc/testsuite/ PR fortran/88420 * gfortran.dg/goacc/loop-1-2.f95: Update. * gfortran.dg/goacc/loop-1.f95: Likewise. From-SVN: r266920
Thomas Schwinge committed -
libgomp/ * target.c (gomp_map_vars): Call gomp_copy_host2dev instead of devicep->host2dev_func. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r266919
Thomas Schwinge committed -
* ipa-cp.c (update_profiling_info): Call adjust_for_ipa_scaling for zero profile count. From-SVN: r266918
Bin Cheng committed -
2018-12-08 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/88048 * resolve.c (check_data_variable): Named constant cannot be a data object. 2018-12-08 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/88048 * gfortran.dg/pr88048.f90: New test. From-SVN: r266916
Steven G. Kargl committed -
PR fortran/87945 * decl.c (var_element): Inquiry parameters cannit be data objects. 20180-12-08 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/87945 * gfortran.dg/pr87945_1.f90: New test. * gfortran.dg/pr87945_2.f90: New test. From-SVN: r266915
Steven G. Kargl committed -
2018-12-08 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/88025 * expr.c (gfc_apply_init): Remove asserts that cannot trigger. Check for a NULL pointer. 2018-12-08 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/88025 * gfortran.dg/pr88025.f90: New test. From-SVN: r266913
Steven G. Kargl committed -
From-SVN: r266912
GCC Administrator committed
-
- 08 Dec, 2018 7 commits
-
-
I noticed I accidentally copied a line too many from the "volatile" handling to the "inline" handling. This fixes it. gcc/c/ * c-parser (c_parser_asm_statement) [RID_INLINE]: Delete stray line setting "quals". From-SVN: r266909
Segher Boessenkool committed -
2018-12-08 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/88357 * class.c (insert_component_ref): Check for NULL pointer and previous error message issued. * parse.c (parse_associate): Check for NULL pointer. * resolve.c (resolve_assoc_var): Check for NULL pointer. 2018-12-08 Steven G. Kargl <kargl@gcc.gnu.org> * gfortran.dg/pr88357_1.f90: New test. * gfortran.dg/pr88357_2.f90: New test. From-SVN: r266908
Steven G. Kargl committed -
PR fortran/88304 * tree-nested.c (convert_local_reference_stmt): Handle clobbers where lhs is not a decl normally, don't call use_pointer_in_frame on that lhs. * gfortran.fortran-torture/compile/pr88304-2.f90: New test. From-SVN: r266907
Jakub Jelinek committed -
PR rtl-optimization/88390 * dwarf2cfi.c (struct dw_cfi_row): Add window_save field. (cfi_row_equal_p): Compare it. (dwarf2out_frame_debug_cfa_window_save): Add FAKE parameter. If FAKE is false, set window_save of the current row. (dwarf2out_frame_debug) <REG_CFA_TOGGLE_RA_MANGLE>: Call above function with FAKE parameter set to true. <REG_CFA_WINDOW_SAVE>: Likewise but with FAKE parameter set to false. (change_cfi_row): Emit a DW_CFA_GNU_window_save if necessary. From-SVN: r266906
Eric Botcazou committed -
* Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS, GDCFLAGS. * Makefile.in: Regenerate. From-SVN: r266905
Rainer Orth committed -
re PR libgomp/87995 (libgomp.c/../libgomp.c-c++-common/cancel-taskgroup-3.c fails consistently after r265930) PR libgomp/87995 * testsuite/libgomp.c-c++-common/cancel-taskgroup-3.c: Require tls_runtime effective target. (t): New threadprivate variable. (main): Set t in threads which execute iterations of the worksharing loop. Propagate that to the task after the loop and don't abort if the current taskgroup hasn't been cancelled. From-SVN: r266904
Jakub Jelinek committed -
From-SVN: r266903
GCC Administrator committed
-
- 07 Dec, 2018 3 commits
-
-
decl2.c (grokbitfield): Use DECL_SOURCE_LOCATION in error messages about bit-fields with function type... /cp 2018-12-07 Paolo Carlini <paolo.carlini@oracle.com> * decl2.c (grokbitfield): Use DECL_SOURCE_LOCATION in error messages about bit-fields with function type, warn_if_not_aligned type, and static bit-fields; avoid DECL_NAME for unnamed declarations. /testsuite 2018-12-07 Paolo Carlini <paolo.carlini@oracle.com> * g++.dg/other/bitfield7.C: New. * g++.dg/parse/bitfield8.C: Likewise. * g++.dg/parse/bitfield9.C: Likewise. * g++.dg/pr53037-4.C: Test the locations too. From-SVN: r266900
Paolo Carlini committed -
gcc/ PR target/87496 * config/rs6000/rs6000.c (rs6000_option_override_internal): Disallow -mabi=ieeelongdouble and -mabi=ibmlongdouble without -mlong-double-128. Do not error for -mabi=ibmlongdouble and no ISA 2.06 support. * doc/invoke.texi: Document -mabi=ibmlongdouble and -mabi=ieeelongdouble require -mlong-double-128. gcc/testsuite/ PR target/87496 * gcc.target/powerpc/pr87496.c: Rename from this... * gcc.target/powerpc/pr87496-1.c: ...to this. Update comment. * gcc.target/powerpc/pr87496-2.c: New test. * gcc.target/powerpc/pr87496-3.c: New test. From-SVN: r266899
Peter Bergner committed -
On top of the previous patch that implements TARGET_ESTIMATED_POLY_VALUE and adds an sve_width tuning field to the CPU structs, this patch implements an -moverride knob to adjust this sve_width field to allow for experimentation. Again, reminder that this only has an effect when compiling for VLA-SVE that is, without msve-vector-bits=<foo>. This just adjusts tuning heuristics in the compiler,, like profitability thresholds for vectorised versioned loops, and others. It can be used, for example like -moverride=sve_width=256 to set the sve_width tuning field to 256. Widths outside of the accepted SVE widths [128 - 2048] are rejected as you'd expect. * config/aarch64/aarch64.c (aarch64_tuning_override_functions): Add sve_width entry. (aarch64_parse_sve_width_string): Define. * gcc.target/aarch64/sve/override_sve_width_1.c: New test. From-SVN: r266898
Kyrylo Tkachov committed
-