[Bug ipa/95320] New: [11 Regression] ICE in odr_type_p, at ipa-utils.h:246, during IPA pass: pure-const

2020-05-25 Thread burnus at gcc dot gnu.org
Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: ams at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- For some

[Bug ipa/95320] [11 Regression] ICE in odr_type_p, at ipa-utils.h:246, during IPA pass: pure-const

2020-05-25 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95320 Tobias Burnus changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #

[Bug ipa/95320] [11 Regression] ICE in odr_type_p, at ipa-utils.h:246, during IPA pass: pure-const

2020-05-26 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95320 --- Comment #2 from Tobias Burnus --- Possible patch: diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c index 288e3c0f4c6..6441ab30c8b 100644 --- a/gcc/lto-streamer-out.c +++ b/gcc/lto-streamer-out.c @@ -591,7 +591,7 @@ local_tree_p (

[Bug ipa/95320] [11 Regression] ICE in odr_type_p, at ipa-utils.h:246, during IPA pass: pure-const

2020-05-26 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95320 --- Comment #3 from Tobias Burnus --- Patch: https://gcc.gnu.org/pipermail/gcc-patches/2020-May/546535.html

[Bug ipa/95320] [11 Regression] ICE in odr_type_p, at ipa-utils.h:246, during IPA pass: pure-const

2020-05-26 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95320 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/65181] Support for alloca in nvptx

2020-05-27 Thread burnus at gcc dot gnu.org
||burnus at gcc dot gnu.org --- Comment #4 from Tobias Burnus --- Slightly stupid example which currently fails with: sorry, unimplemented: target cannot support alloca. x86_64-none-linux-gnu-accel-nvptx-none-gcc returned 1 exit status call foo(10) contains subroutine foo(nn

[Bug fortran/95146] gfortran -cpp – leading spaces before '#' preprocessing directive not handled

2020-05-27 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95146 --- Comment #6 from Tobias Burnus --- (In reply to Thomas Koenig from comment #5) > Moving to the non-traditional C preprocessor will cause havoc with > the // operator in Fortran. > c = 'a' // 'b' would then be turned into c = 'a', probably not

[Bug middle-end/94874] [OpenMP] Unhelpful 'defaultmap(none)' diagnostic for 'DECL_ARTIFICIAL': 'error: ‘array_li.0’ not specified in enclosing ‘target’'

2020-06-03 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94874 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/95499] New: ICE: during GIMPLE pass: ssa / segfault in verify_ssa / OpenMP target with deferred-length CHARACTER

2020-06-03 Thread burnus at gcc dot gnu.org
: UNCONFIRMED Keywords: ice-on-valid-code, openmp Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- Created attachment 48668 --> https://gcc.gnu.

[Bug middle-end/95499] ICE: during GIMPLE pass: ssa / segfault in verify_ssa / OpenMP target with deferred-length CHARACTER

2020-06-03 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95499 --- Comment #1 from Tobias Burnus --- Test case need the change (in line 40) to compile - sorry. @@ -40 +40 @@ -if (any (array /= [(-2*i, i = 1, nn)])) error stop 2 +if (any (array /= [(-2*i, i = 1, 10)])) error stop 2 Shorter test case

[Bug middle-end/95506] New: [OpenMP] omp target – private clause and allocatables – unallocated or reallocation

2020-06-03 Thread burnus at gcc dot gnu.org
Keywords: openmp Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone: --- Found when playing around with PR95499

[Bug middle-end/95499] ICE: during GIMPLE pass: ssa / segfault in verify_ssa / OpenMP target with deferred-length CHARACTER

2020-06-03 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95499 Tobias Burnus changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug middle-end/95550] New: [OpenACC] ICE in expand_oacc_for, at omp-expand.c:6075

2020-06-05 Thread burnus at gcc dot gnu.org
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- The following program gives an ICE with -fopenacc: 12 | !$acc loop private(A) | internal compiler error: in

[Bug middle-end/95551] New: [OpenMP, OpenACC] -fopenmp/-fopenacc also with -foffload=disable fails with: (.gnu.offload_vars+0x0): undefined reference to `A.10.2'

2020-06-05 Thread burnus at gcc dot gnu.org
: gcc Version: 10.0 Status: UNCONFIRMED Keywords: openacc, openmp, wrong-code Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Mile

[Bug middle-end/95551] [OpenMP, OpenACC] -fopenmp/-fopenacc also with -foffload=disable fails with: (.gnu.offload_vars+0x0): undefined reference to `A.10.2'

2020-06-05 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95551 Tobias Burnus changed: What|Removed |Added Depends on||94848 --- Comment #1 from Tobias Burnus

[Bug middle-end/95551] [OpenMP, OpenACC] -fopenmp/-fopenacc also with -foffload=disable fails with: (.gnu.offload_vars+0x0): undefined reference to `A.10.2'

2020-06-05 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95551 --- Comment #2 from Tobias Burnus --- (In reply to Tobias Burnus from comment #0) > if (any (array /= [(-2*i, i = 1, 10)])) error stop 2 The A.10.2 is the array {-2,-4,...,-20} in static memory, which has been removed with -O3 but there is s

[Bug middle-end/95551] [OpenMP, OpenACC] -fopenmp/-fopenacc also with -foffload=disable fails with: (.gnu.offload_vars+0x0): undefined reference to `A.10.2'

2020-06-08 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95551 --- Comment #4 from Tobias Burnus --- See RFC patch at https://gcc.gnu.org/pipermail/gcc-patches/2020-June/547500.html → Don't add read-only artificial variables to the offload table (no need to) And see experimental (but not working) patch rega

[Bug middle-end/95583] New: [OpenMP] Offloading – Missed optimization / before LTO stream out, do more IPA optimizations affecting host←→target ABI

2020-06-08 Thread burnus at gcc dot gnu.org
Version: 10.0 Status: UNCONFIRMED Keywords: missed-optimization, openmp Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Depends on: 95551 Target

[Bug middle-end/95622] New: force_output flag on a variable prevents optimization / regresses c-c++-common/goacc/kernels-alias-ipa-pta-2.c

2020-06-10 Thread burnus at gcc dot gnu.org
Status: UNCONFIRMED Keywords: missed-optimization, openacc, openmp Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: jakub at gcc

[Bug fortran/95109] [11 regression] ICE in gfortran.dg/gomp/target1.f90 after r11-349

2020-06-12 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95109 --- Comment #4 from Tobias Burnus --- (In reply to Martin Liška from comment #3) > Any update on the failing target1.f90 test-case? Not yet. What needs to be done is to mark loop variables as "private" – and attach this to the proper OpenMP dire

[Bug middle-end/95622] [11 Regression] force_output flag on a variable prevents optimization / regresses c-c++-common/goacc/kernels-alias-ipa-pta{-2,-4,}.c

2020-06-12 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95622 --- Comment #3 from Tobias Burnus --- I think there are three related issues here: (a) force_output = 1 prevents at least one optimization (b) If not using force_output = 1, we need to find another way to tell the compiler that the variable is

[Bug fortran/95654] nvptx offloading: FAIL: libgomp.fortran/pr66199-5.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test

2020-06-12 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95654 --- Comment #2 from Tobias Burnus --- (In reply to Thomas Schwinge from comment #1) > Have you verified that it's the same underlying issue It's not but would otherwise be a duplicate. > or do you just want to wait for PR95109 being resolved bef

[Bug middle-end/95583] [OpenMP] Offloading – Missed optimization / before LTO stream out, do more IPA optimizations affecting host←→target ABI

2020-06-15 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95583 Bug 95583 depends on bug 95551, which changed state. Bug 95551 Summary: [OpenMP, OpenACC] -fopenmp/-fopenacc also with -foffload=disable fails with: (.gnu.offload_vars+0x0): undefined reference to `A.10.2' https://gcc.gnu.org/bugzilla/show_bug.c

[Bug middle-end/95551] [OpenMP, OpenACC] -fopenmp/-fopenacc also with -foffload=disable fails with: (.gnu.offload_vars+0x0): undefined reference to `A.10.2'

2020-06-15 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95551 Bug 95551 depends on bug 94848, which changed state. Bug 94848 Summary: [Offloading][LTO] error due to only partially eliminated var / -ftree-pre causes link errors | libgomp.fortran/use_device_ptr-optional-3.f90 failures https://gcc.gnu.org/bu

[Bug lto/94848] [Offloading][LTO] error due to only partially eliminated var / -ftree-pre causes link errors | libgomp.fortran/use_device_ptr-optional-3.f90 failures

2020-06-15 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94848 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug middle-end/95551] [OpenMP, OpenACC] -fopenmp/-fopenacc also with -foffload=disable fails with: (.gnu.offload_vars+0x0): undefined reference to `A.10.2'

2020-06-15 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95551 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/92029] [10/11 Regression] 'libgomp.fortran/pr90779.f90' ICE for nvptx offloading

2020-06-16 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92029 Tobias Burnus changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/95837] New: derived-type components of character kind=4 – wrong code with component access (kind=4 ignored)

2020-06-23 Thread burnus at gcc dot gnu.org
Keywords: wrong-code Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- Compare: --- type t character(len=:, kind=4), pointer

[Bug fortran/95837] derived-type components of character kind=4 – wrong code with component access (kind=4 ignored)

2020-06-24 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95837 Tobias Burnus changed: What|Removed |Added Status|WAITING |NEW Keywords|

[Bug fortran/95868] New: Derived-type deferred-length character component handling broken

2020-06-24 Thread burnus at gcc dot gnu.org
-code, wrong-code Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- The following program fails with an ICE or a segfault. Issues I observed: * For the

[Bug fortran/67311] ICE calling subroutine with derived type as argument within OpenMP parallel region

2020-06-24 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67311 --- Comment #7 from Tobias Burnus --- Patch – without one recursively checks the same type. --- a/gcc/fortran/trans-openmp.c +++ b/gcc/fortran/trans-openmp.c @@ -330,6 +330,11 @@ gfc_has_alloc_comps (tree type, tree decl) return false;

[Bug fortran/95837] derived-type components of character kind=4 – wrong code with component access (kind=4 ignored)

2020-06-25 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95837 Tobias Burnus changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/67311] ICE calling subroutine with derived type as argument within OpenMP parallel region

2020-06-25 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67311 --- Comment #8 from Tobias Burnus --- Submitted patch: https://gcc.gnu.org/pipermail/gcc-patches/2020-June/548920.html

[Bug fortran/67311] ICE calling subroutine with derived type as argument within OpenMP parallel region

2020-07-14 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67311 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/92311] Fortran and OpenMP use_device_ptr and OpenACC attach_ptr/dettach_ptr

2020-07-14 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92311 --- Comment #9 from Tobias Burnus --- (In reply to Nichols A. Romero from comment #0) > The error for the OpenMP is shown below: >29 |!$omp target data use_device_ptr(this_bin) > | 1 > Err

[Bug middle-end/95622] [11 Regression] force_output flag on a variable prevents optimization / regresses c-c++-common/goacc/kernels-alias-ipa-pta{-2,-4,}.c

2020-07-15 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95622 --- Comment #7 from Tobias Burnus --- (In reply to Richard Biener from comment #6) > not sure if fixed? Not fixed – only XFAILed. The issue is that optimizations are not done with "node->force_output". As in the example in comment 0: "a = 0;

[Bug fortran/95868] Derived-type deferred-length character component handling broken

2020-07-15 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95868 --- Comment #2 from Tobias Burnus --- (In reply to Dominique d'Humieres from comment #1) > Confirmed. Quite complex test case! Came up when trying to write a patch for OpenMP structure/derived-type element mapping (r11-2079). Hence: Additional t

[Bug testsuite/96212] new test case libgomp.fortran/alloc-3.F fails in r11-2101

2020-07-15 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96212 --- Comment #2 from Tobias Burnus --- (In reply to Bill Seurer from comment #1) > After running on a few more machines this appears to be a BE only issue. alloc-1.F90 uses a proper interface (Fortran module). alloc-3.F uses a header file with th

[Bug fortran/93553] ICE in scan_omp_1_op, at omp-low.c:3485

2020-07-17 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93553 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment

[Bug fortran/93553] ICE in scan_omp_1_op, at omp-low.c:3485

2020-07-17 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93553 --- Comment #7 from Tobias Burnus --- The variable ("D.3940") is produced via the following route. Contrary to variables processed in gimplify.c, which use /* When within an OMP context, notice uses of variables. */ if (gimplify_omp_ctxp &&

[Bug fortran/93553] ICE in scan_omp_1_op, at omp-low.c:3485

2020-07-20 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93553 --- Comment #8 from Tobias Burnus --- Patch: https://gcc.gnu.org/pipermail/gcc-patches/2020-July/550317.html

[Bug target/96306] gcn libgomp build broken after "libomp: Add omp_depend_kind to omp_lib.{f90,h}"

2020-07-24 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96306 --- Comment #2 from Tobias Burnus --- Just as background: While OpenMP uses for C/C++ a typedef for 'omp_depend_t', which maps to a struct with "char[2*sizeof(*void)]", for Fortran an integer kind is required by the OpenMP spec. At least with the

[Bug target/96306] gcn libgomp build broken after "libomp: Add omp_depend_kind to omp_lib.{f90,h}"

2020-07-24 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96306 --- Comment #7 from Tobias Burnus --- At least as in-between solution, one could change libgfortran to disable HAVE_GFC_INTEGER_16 for gcn. — libgfortran exercises a lot of the integer arithmetics, which we do not need here. One just needs to ens

[Bug middle-end/92876] ICE in expand_UNIQUE, at internal-fn.c:2599

2020-07-24 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92876 --- Comment #2 from Tobias Burnus --- I believe this code is invalid as "s" is a device routine but it call outside of 'acc kernels'/'acc parallel' construct. – If one adds either around "call s()" it no longer ICEs. Still, even invalid code sho

[Bug middle-end/92876] ICE in expand_UNIQUE, at internal-fn.c:2599

2020-07-24 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92876 --- Comment #3 from Tobias Burnus --- And: The ICE occurs for .data_dep.1_7 = .UNIQUE (OACC_HEAD_MARK, 0, 1, 132); And then one runs inside expand_UNIQUE into: switch (kind) { default: gcc_unreachable (); This one is generated

[Bug target/96306] gcn libgomp build broken after "libomp: Add omp_depend_kind to omp_lib.{f90,h}"

2020-07-25 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96306 --- Comment #9 from Tobias Burnus --- Initial TI support for AMDGCN has been committed, see: https://gcc.gnu.org/pipermail/gcc-patches/2020-July/550663.html https://gcc.gnu.org/g:8d0b2b33748014ee57973c1d7bc9fd7706bb3da9 commit 8d0b2b33748014ee57

[Bug middle-end/96390] New: [OpenMP] Link errors on the offload side for C++ code with templates

2020-07-30 Thread burnus at gcc dot gnu.org
Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone: --- sollve_vv's tests/4.5/application_ke

[Bug middle-end/96390] [OpenMP] Link errors on the offload side for C++ code with templates

2020-07-30 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96390 --- Comment #1 from Tobias Burnus --- Created attachment 48961 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48961&action=edit Test case from https://bugs.llvm.org/show_bug.cgi?id=43771 (basis for sollve_vv test case, by Jonas Hahnfeld)

[Bug middle-end/96390] [OpenMP] Link errors on the offload side for C++ code with templates

2020-07-31 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96390 --- Comment #2 from Tobias Burnus --- omp-offload.c's omp_discover_declare_target_tgt_fn_r sees the ::S()" It does not call ((vec *) data)->safe_push (*tp); to add it to the work list. (→ follow up issue for "V"?) However, it sets the attribu

[Bug middle-end/96390] [OpenMP] Link errors on the offload side for C++ code with templates

2020-07-31 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96390 --- Comment #3 from Tobias Burnus --- The following helps with the "S<0>::S()" problem – but then one runs into the "V<1>::V" problem. --- a/gcc/omp-offload.c +++ b/gcc/omp-offload.c @@ -207,6 +207,12 @@ omp_discover_declare_target_tgt_fn_r (tre

[Bug target/96428] New: [nvptx] nvptx_gen_shuffle does not handle V2DI mode – Fails with an ICE

2020-08-03 Thread burnus at gcc dot gnu.org
-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: vries at gcc dot gnu.org Target Milestone: --- Target: nvptx Created attachment

[Bug target/96428] [nvptx] nvptx_gen_shuffle does not handle V2DI mode – Fails with an ICE

2020-08-03 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96428 --- Comment #3 from Tobias Burnus --- Created attachment 48988 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48988&action=edit Test case (as diff – two files) I tried the testcase with and without you patch – and with it runs fine :-) Th

[Bug fortran/88463] Rejects conforming source, OpenMP Parallel region Default(None) reference to module parameter array, separate source

2020-08-04 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88463 Tobias Burnus changed: What|Removed |Added CC||daanvanvugt at gmail dot com --- Comment

[Bug fortran/85675] parameters from other modules in openmp default(none) not specified in enclosing 'parallel'

2020-08-04 Thread burnus at gcc dot gnu.org
||burnus at gcc dot gnu.org Status|NEW |RESOLVED --- Comment #4 from Tobias Burnus --- Works for me with 9.3.1 20200406 (and GCC 10 and GCC 11/mainline). I can reproduce the error with GCC 7. My guess is that is has been fixed with PR fortran

[Bug fortran/93826] [OpenMP][OpenACC] Collapsed loop – code silently ignored

2020-08-06 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93826 --- Comment #5 from Tobias Burnus --- Missed to list the PR in the commit :-( * OpenMP 4.5 patch which rejects this is the following: https://gcc.gnu.org/pipermail/gcc-patches/2020-August/551338.html and https://gcc.gnu.org/g:57dd9f3bfca8bb752c6

[Bug middle-end/95499] ICE: during GIMPLE pass: ssa / segfault in verify_ssa / OpenMP target with deferred-length CHARACTER

2020-08-06 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95499 --- Comment #3 from Tobias Burnus --- For 'character(len=:),allocatable :: str' there is '_str' with the string length. One can map it explicitly when mapping 'from(str)' by also mapping 'firstprivate(_str)' but the compiler will later remove i

[Bug bootstrap/96612] New: [11 Regression][submitted patch] Fails to bootstrap with older --build= than --host= compiler due to missing -std=c++11

2020-08-14 Thread burnus at gcc dot gnu.org
Version: 10.0 Status: UNCONFIRMED Keywords: build, patch Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- Patch: https

[Bug bootstrap/96612] [11 Regression][submitted patch] Fails to bootstrap with older --build= than --host= compiler due to missing -std=c++11

2020-08-14 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96612 Tobias Burnus changed: What|Removed |Added Version|10.0|11.0 Target Milestone|---

[Bug fortran/96655] New: [OOP] CLASS dummy arguments: Bogus "Duplicate OPTIONAL attribute specified"

2020-08-17 Thread burnus at gcc dot gnu.org
Keywords: rejects-valid Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- The following fails with: Duplicate OPTIONAL attribute specified subroutine

[Bug libgomp/96661] configure:16984: error: unsupported system, cannot find Fortran int kind=16

2020-08-17 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96661 --- Comment #1 from Tobias Burnus --- (In reply to John David Anglin from comment #0) > Guess this is because target doesn't support int128. For "omp depend", the OpenMP spec requires that an integer type is used – and the libgomp implementation

[Bug fortran/96668] New: [OpenMP] Re-mapping allocated but previously unallocated allocatable does not work

2020-08-17 Thread burnus at gcc dot gnu.org
Keywords: openmp, wrong-code Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone: --- The exact behaviour is not well

[Bug fortran/96668] [OpenMP] Re-mapping allocated but previously unallocated allocatable does not work

2020-08-18 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96668 Tobias Burnus changed: What|Removed |Added CC||cltang at gcc dot gnu.org --- Comment #1

[Bug c/96678] New: [OpenMP] Rejects map(var[:]) of known size with "for pointer type length expression must be specified"

2020-08-18 Thread burnus at gcc dot gnu.org
Status: UNCONFIRMED Keywords: openmp, rejects-valid Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone: --- The

[Bug middle-end/96680] New: [11 Regression][OpenMP][LTO] Declare variant + ICE in lto_fixup_prevailing_decls, at lto/lto-common.c:2595

2020-08-18 Thread burnus at gcc dot gnu.org
: UNCONFIRMED Keywords: ice-on-valid-code, openmp Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone

[Bug middle-end/96680] [11 Regression][OpenMP][LTO] Declare variant + ICE in lto_fixup_prevailing_decls, at lto/lto-common.c:2595

2020-08-18 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96680 --- Comment #1 from Tobias Burnus --- In the debugger, the first call to lto_fixup_prevailing_decls is for main._omp_fn.0 and the second - and failing - one is for (gdb) p debug_tree(t)

[Bug middle-end/96680] [11 Regression][OpenMP][LTO] Declare variant + ICE in lto_fixup_prevailing_decls, at lto/lto-common.c:2595

2020-08-18 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96680 --- Comment #2 from Tobias Burnus --- Created attachment 49075 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49075&action=edit C testcase - de-macro-fied version sollve_vv's 5.0/declare_variant/test_declare_variant.c

[Bug fortran/96668] [OpenMP] Re-mapping allocated but previously unallocated allocatable does not work

2020-08-18 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96668 --- Comment #4 from Tobias Burnus --- (In reply to kargl from comment #3) > > integer, pointer :: p1 => null() > > integer, pointer :: p1 => null() > Module m looks wrong. Should the 2nd p1 be p2? It should be "p2(:)" (Thanks. I wrote it i

[Bug middle-end/96680] [11 Regression][OpenMP][LTO] Declare variant + ICE in lto_fixup_prevailing_decls, at lto/lto-common.c:2595

2020-08-20 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96680 --- Comment #3 from Tobias Burnus --- Some regression hunting: * Fails with r11-652-g79ea774f9a9d36d986152d93f9eae4a9ba36b37b * Works on OG10 = devel/omp/gcc-10 and presumably GCC 10. My bet is that the following commit causes the issue, but tha

[Bug bootstrap/96612] [11 Regression][submitted patch] Fails to bootstrap with older --build= than --host= compiler due to missing -std=c++11

2020-08-20 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96612 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c/96678] [OpenMP] Rejects map(var[:]) of known size with "for pointer type length expression must be specified"

2020-08-25 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96678 --- Comment #1 from Tobias Burnus --- At least for C, there is:

[Bug c/96678] [OpenMP] Rejects map(var[:]) of known size with "for pointer type length expression must be specified"

2020-08-25 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96678 --- Comment #2 from Tobias Burnus --- Side remark: This pops up for SPEC ACCEL 504.polbm; however, it is permitted to require explicit sizes by defining SPEC_NEED_EXPLICIT_SIZE. (The default of the testcase is to expect that it works without tha

[Bug c/96678] [OpenMP] Rejects map(var[:]) of known size with "for pointer type length expression must be specified"

2020-08-25 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96678 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug fortran/96811] New: Power: x**(negative integer) – use libgcc variant for power raised to negative value?

2020-08-27 Thread burnus at gcc dot gnu.org
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- Fabio Azevedo has some observations at https://gcc.gnu.org/pipermail/fortran/2020-August/054931.html In

[Bug fortran/96797] OpenACC fortran acc_get_cuda_stream

2020-08-27 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96797 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment

[Bug fortran/96811] Power: x**(negative integer) – use libgcc variant for power raised to negative value?

2020-08-27 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96811 --- Comment #3 from Tobias Burnus --- (In reply to kargl from comment #2) > For real x, gfortran does not generate a call to libgfortran function. It does – as mentioned in my email reply but not only for 'int' integers: integer(16) :: n real :

[Bug fortran/94672] [10/11 Regression] gfortran/OpenMP chokes on PRESENT(array) despite of SHARED(array): Error: ‘array’ not specified in enclosing ‘parallel’

2020-08-30 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94672 --- Comment #15 from Tobias Burnus --- (In reply to Tomáš Trnka from comment #12) > The fix for this broke assumed length optional character arguments. I have > noticed this on 10.2.1 20200723, which is currently used by Fedora 32. Thanks for th

[Bug middle-end/31892] optimization: Loop not optimized away because of static

2020-08-31 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31892 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug middle-end/44612] -flto -fwhole-program: Never read variable not optimized away

2020-08-31 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44612 --- Comment #8 from Tobias Burnus --- For what it is worth, still occurs with on mainline (GCC 11). (In reply to Richard Biener from comment #6) > Confirmed. > > DSE doesn't remove memset or memcpy calls. > > We also do not have a flag to mar

[Bug fortran/96886] [10 Regression] valgrind error with optional character argument of unknown length

2020-09-02 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96886 --- Comment #3 from Tobias Burnus --- (In reply to Andy May from comment #0) > Looks like a regression between 10.1.0 and 10.2.0. test.f90: I think that's the same issue as reported in PR 94672 comment 12 last week – which has been fixed very re

[Bug fortran/96896] New: Bogus 'Different ranks in pointer assignment' with 'array-variable = scalar' if LHS is a function

2020-09-02 Thread burnus at gcc dot gnu.org
Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- The following program fails with: Error

[Bug fortran/96896] Bogus 'Different ranks in pointer assignment' with 'array-variable = scalar' if LHS is a function

2020-09-02 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96896 --- Comment #1 from Tobias Burnus --- The error occurs for the LHS of: myshape(b) = 0.0 reshape_test:_F.DA0 => myshape[[((reshape_test:b(FULL)))]] (gfc_debug_expr output) (gdb) p lvalue->rank $9 = 0 (gdb) p rvalue->rank $10 = 2 Maybe

[Bug fortran/96896] Bogus 'Different ranks in pointer assignment' with 'array-variable = scalar' if LHS is a function

2020-09-03 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96896 --- Comment #2 from Tobias Burnus --- Patch: https://gcc.gnu.org/pipermail/gcc-patches/2020-September/553154.html

[Bug fortran/96896] Bogus 'Different ranks in pointer assignment' with 'array-variable = scalar' if LHS is a function

2020-09-07 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96896 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug fortran/95654] nvptx offloading: FAIL: libgomp.fortran/pr66199-5.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test

2020-09-09 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95654 Bug 95654 depends on bug 95109, which changed state. Bug 95109 Summary: [11 regression] ICE in gfortran.dg/gomp/target1.f90 after r11-349 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95109 What|Removed |Added -

[Bug fortran/95109] [11 regression] ICE in gfortran.dg/gomp/target1.f90 after r11-349

2020-09-09 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95109 Tobias Burnus changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/94690] [OpenMP] omp ... distribute – lastprivate not permitted and more issues

2020-09-09 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94690 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/97000] [11 Regression][nvptx, openacc] internal compiler error: in nvptx_find_par, at config/nvptx/nvptx.c:3293

2020-09-09 Thread burnus at gcc dot gnu.org
CC||burnus at gcc dot gnu.org, ||rguenth at gcc dot gnu.org --- Comment #4 from Tobias Burnus --- Bisecting points to r11-3009-gfab77644842869adc8871e133e4c3f4c35b2b245 PR tree-optimization/96931 - clear

[Bug fortran/97021] New: [OpenMP] copy out of allocatable scalars does not work.

2020-09-11 Thread burnus at gcc dot gnu.org
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone: --- The following program stops with "STOP 7" – as n

[Bug fortran/97021] [OpenMP] copy out of allocatable scalars does not work.

2020-09-12 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97021 Tobias Burnus changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug fortran/96041] [11 regression] ICE in gfortran.dg/pr93423.f90 after r11-1792

2020-09-14 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96041 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment

[Bug fortran/96668] [OpenMP] Re-mapping allocated but previously unallocated allocatable does not work

2020-09-15 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96668 --- Comment #6 from Tobias Burnus --- Fixed for pointer/allocatable arrays. Still to be done: scalar pointers/allocatable; here, one needs to be careful as pointer/always pointer is already used for, e.g., struct mapping – and always pointer cur

[Bug fortran/95654] nvptx offloading: FAIL: libgomp.fortran/pr66199-5.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test

2020-09-15 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95654 --- Comment #3 from Tobias Burnus --- Created attachment 49222 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49222&action=edit Slightly reduced example, compile with gfortran -fopenmp -O1 -ftracer Some testing; with gfortran -fopenmp -O1

[Bug fortran/97061] New: [OpenMP] ICE in in omp_add_variable, at gimplify.c:6955

2020-09-15 Thread burnus at gcc dot gnu.org
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- Found when looking at PR95654 - reduced + modified version of libgomp.fortran/pr66199-5.f90. The following ICEs with

[Bug fortran/97061] [OpenMP] ICE in in omp_add_variable, at gimplify.c:6955

2020-09-15 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97061 --- Comment #2 from Tobias Burnus --- I think I also got this ICE with an additional 'collapse(2)', which might indicate that a(nother) check is missing.

[Bug fortran/95654] nvptx offloading: FAIL: libgomp.fortran/pr66199-5.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test

2020-09-16 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95654 --- Comment #4 from Tobias Burnus --- (In reply to Tobias Burnus from comment #3) > Created attachment 49222 [details] > Slightly reduced example, compile with gfortran -fopenmp -O1 -ftracer On the host side, a single BB gets inserted – but more

[Bug fortran/97061] [OpenMP] ICE in in omp_add_variable, at gimplify.c:6955

2020-09-16 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97061 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug fortran/95654] nvptx offloading: FAIL: libgomp.fortran/pr66199-5.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test

2020-09-16 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95654 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug fortran/95654] nvptx offloading: FAIL: libgomp.fortran/pr66199-5.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test

2020-09-17 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95654 --- Comment #10 from Tobias Burnus --- (In reply to Tobias Burnus from comment #9) > See also thread at: > https://gcc.gnu.org/pipermail/gcc-patches/2020-September/thread.html#554054 Regarding the patch there, the proper way is to adapt can_du

[Bug fortran/89891] [meta-bug] Accessing memory in rejected statements or expressions

2020-09-17 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89891 Bug 89891 depends on bug 96041, which changed state. Bug 96041 Summary: [11 regression] ICE in gfortran.dg/pr93423.f90 after r11-1792 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96041 What|Removed |Added --

[Bug fortran/96041] [11 regression] ICE in gfortran.dg/pr93423.f90 after r11-1792

2020-09-17 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96041 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

<    1   2   3   4   5   6   7   8   9   10   >