[Bug c++/119736] rejected/ICEs when non type template parameter used as an argument to a const ref non type template parameter

2025-04-11 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119736 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment

[Bug c++/119692] C++ 'typeinfo', 'vtable' vs. OpenACC, OpenMP 'target' offloading

2025-04-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119692 --- Comment #4 from Tobias Burnus --- Some generic remarks - regarding OpenMP to: > When still 'map'ping C++ 'typeinfo', 'vtable' at the OpenACC compute, > OpenMP 'target' construct Obviously, the type info etc. is required for all work on th

[Bug cobol/119302] cobol.3 manpage is installed without program_transform_name

2025-04-09 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119302 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment

[Bug middle-end/119662] [OpenMP] Wrong-code for 'omp dispatch' with append_args clause and unhelpful debug line location

2025-04-08 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119662 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug libgomp/119677] New: [OpenMP][6.1] Support omp_default_device / Cleanup modify_call_for_omp_dispatch via GOMP_DEVICE_DEFAULT_OMP_61

2025-04-08 Thread burnus at gcc dot gnu.org via Gcc-bugs
: 15.0 Status: UNCONFIRMED Keywords: openmp Severity: normal Priority: P3 Component: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone

[Bug libgomp/119676] New: [OpenMP] Move constant/kind/type documentation from gfortran to libgomp.texi + update/add C/C++

2025-04-08 Thread burnus at gcc dot gnu.org via Gcc-bugs
Keywords: documentation, openmp Severity: normal Priority: P3 Component: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: jakub at gcc dot gnu.org, sandra at gcc dot gnu.org Target

[Bug middle-end/119662] [OpenMP] Wrong-code for 'omp dispatch' with append_args clause and unhelpful debug line location

2025-04-07 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119662 --- Comment #2 from Tobias Burnus --- For 'adjust_args': void f0(int *); #pragma omp declare variant(f0) match(construct={dispatch}) \ adjust_args(need_device_ptr: x) void f(int *x); void g(int *a, int dev) { #pragma omp dispat

[Bug middle-end/119662] [OpenMP] Wrong-code for 'omp dispatch' with append_args clause and unhelpful debug line location

2025-04-07 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119662 Tobias Burnus changed: What|Removed |Added Summary|[OpenMP] Unhelpful debug|[OpenMP] Wrong-code for

[Bug middle-end/119662] New: [OpenMP] Unhelpful debug line location for append_args call

2025-04-07 Thread burnus at gcc dot gnu.org via Gcc-bugs
-debug Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: sandra at gcc dot gnu.org Target Milestone: --- Assume: 66is_targetsync = 0; 67

[Bug middle-end/119559] [15 regression] GOMP: ICE in modify_call_for_omp_dispatch

2025-04-01 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119559 Tobias Burnus changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/119559] [15 regression] GOMP: ICE in modify_call_for_omp_dispatch

2025-03-31 Thread burnus at gcc dot gnu.org via Gcc-bugs
||2025-03-31 Assignee|unassigned at gcc dot gnu.org |burnus at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Tobias Burnus --- Created attachment 60938 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60938&acti

[Bug c/113905] [OpenMP] Declare variant rejects variant-function re-usage

2025-03-31 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113905 --- Comment #6 from Tobias Burnus --- See also bug #118690 for some Fortran issues related to declare variant diagnostic.

[Bug fortran/118690] [OpenMP] declare_variant - multiple use for same procedure not diagnosed

2025-03-31 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118690 --- Comment #1 from Tobias Burnus --- The following (cf. Bug #113905) is related, invalid but probably not detected: !$omp declare target (f1 : f0) match(context={parallel}) !$omp declare target (f2 : f0) match(context={target}) This violates:

[Bug middle-end/119541] [15 Regression] asan: dynamic-stack-buffer-overflow in modify_call_for_omp_dispatch at gimplify.cc:3976

2025-03-31 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119541 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug middle-end/119541] [15 Regression] asan: dynamic-stack-buffer-overflow in modify_call_for_omp_dispatch at gimplify.cc:3976

2025-03-30 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119541 --- Comment #2 from Tobias Burnus --- The following seems to be the cleanest & simplest, namely to add it to the if (nappend < ninterop) error handling: --- a/gcc/gimplify.cc +++ b/gcc/gimplify.cc @@ -3949,6 +3949,7 @@ modify_call_for_om

[Bug middle-end/119541] [15 Regression] asan: dynamic-stack-buffer-overflow in modify_call_for_omp_dispatch at gimplify.cc:3976

2025-03-30 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119541 Tobias Burnus changed: What|Removed |Added Target Milestone|--- |15.0

[Bug middle-end/119541] [15 Regression] asan: dynamic-stack-buffer-overflow in modify_call_for_omp_dispatch at gimplify.cc:3976

2025-03-30 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119541 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment

[Bug middle-end/118627] gcc/omp-general.cc:4197: The code looks like reading uninitialised data

2025-03-25 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118627 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug middle-end/119325] [15 Regression] libgomp.c/simd-math-1.c (gcn offloading): timeout (for fmodf, remainderf) since r15-7257-g54bdeca3c62144

2025-03-25 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119325 --- Comment #23 from Tobias Burnus --- The patch has now landed: https://sourceware.org/git/?p=newlib-cygwin.git;a=commitdiff;h=2ef1a37e7823b21eda524972c006e0e8c26f97b3

[Bug target/119371] [15 Regression][OpenMP] accel/nvptx-none/lto1: ICE in in emit_move_insn, at expr.cc:4636

2025-03-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119371 --- Comment #2 from Tobias Burnus --- BTW: It seems as if none of the testcases in libgomp actually calls expand_GOMP_SIMT_XCHG_IDX! * * * The expansion happens in internal-fn.cc's static void expand_GOMP_SIMT_XCHG_IDX (internal_fn, gcall *st

[Bug middle-end/119325] [15 Regression] libgomp.c/simd-math-1.c (gcn offloading): timeout (for fmodf, remainderf) since r15-7257-g54bdeca3c62144

2025-03-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119325 --- Comment #21 from Tobias Burnus --- Andrew's patch to Newlib's newlib/libm/machine/amdgcn/amdgcn_veclib.h: * [PATCH] Fix GCN SIMD libm bug https://sourceware.org/pipermail/newlib/2025/021582.html

[Bug target/119371] [15 Regression][OpenMP] accel/nvptx-none/lto1: ICE in in emit_move_insn, at expr.cc:4636

2025-03-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119371 --- Comment #1 from Tobias Burnus --- Bisecting points at the following commit - but that seems to rather reveal the issue and not causing it: r15-3135-gcb51e0b236c7d4 lto: Don't check obj.found for offload section obj.found is the num

[Bug target/119371] New: [15 Regression][OpenMP] accel/nvptx-none/lto1: ICE in in emit_move_insn, at expr.cc:4636

2025-03-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
Keywords: ice-on-valid-code, openmp Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: tschwinge at gcc dot gnu.org, vries at gcc dot gnu.org Target

[Bug c++/119370] [15 Regression][OpenMP] ICE in gimple_add_tmp_var, at gimplify.cc:834 for omptest's xt-declare-target-ctors since r15-2799

2025-03-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119370 --- Comment #3 from Tobias Burnus --- > Reduced testcase: > ... > S a[3]; Array size 1 is enough. My reduced testcase was: #pragma omp declare target struct SSD { SSD(); } sd[1]; #pragma omp end declare target input1.ii.018t.ompex

[Bug c++/119370] New: [15 Regression][OpenMP] ICE in gimple_add_tmp_var, at gimplify.cc:834 for omptest's xt-declare-target-ctors

2025-03-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
tatus: UNCONFIRMED Keywords: ice-on-valid-code, openmp Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- This is a GCC 15 regression, at least G

[Bug target/119367] [15 Regression][gcn] libgomp.fortran/target1.f90 with '-O2 -g': '.2byte .LM6-.LM5' – error: ... out of range – since r15-8047-gadb14c7625178b

2025-03-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119367 --- Comment #1 from Tobias Burnus --- The diff for a.xamdgcn-amdhsa.mkoffload.270r.expand shows identical output. When glancing at the diff for a.xamdgcn-amdhsa.mkoffload.1.s, I noticed a large increase in the 'local vars size': - ; loca

[Bug target/119367] [15 Regression][gcn] libgomp.fortran/target1.f90 with '-O2 -g': '.2byte .LM6-.LM5' – error: ... out of range – since r15-8047-gadb14c7625178b

2025-03-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119367 --- Comment #4 from Tobias Burnus --- Quoted too few lines: 13001 dw2_asm_output_delta (2, line_label, prev_label, 13002 "from %s to %s", prev_label, line_label); which calls dw2_asm_output_delta

[Bug target/119367] [15 Regression][gcn] libgomp.fortran/target1.f90 with '-O2 -g': '.2byte .LM6-.LM5' – error: ... out of range – since r15-8047-gadb14c7625178b

2025-03-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119367 --- Comment #3 from Tobias Burnus --- (In reply to Andrew Pinski from comment #2) > https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/dwarf2out.cc; > h=a2acfd1d35654827492b69ec35b571accf2263a4;hb=HEAD#l12994 Namely, output_one_line_info_table: 1

[Bug target/119367] New: [15 Regression][gcn] libgomp.fortran/target1.f90 with '-O2 -g': '.2byte .LM6-.LM5' – error: ... out of range – since r15-8047-gadb14c7625178b

2025-03-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
8047-gadb14c7625178b Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: openmp, wrong-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org

[Bug middle-end/119325] [15 Regression] libgomp.c/simd-math-1.c (gcn offloading): timeout (for fmodf, remainderf) since r15-7257-g54bdeca3c62144

2025-03-18 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119325 --- Comment #19 from Tobias Burnus --- (In reply to Richard Biener from comment #15) > maybe > > #define RESIZE_VECTOR(to_t, from) \ > ({ \ >__auto_type __from = (from); \ >to_t __to; >memcpy (&__to, &__from, MIN (sizeof (to_t), si

[Bug middle-end/119325] [15 Regression] libgomp.c/simd-math-1.c (gcn offloading): timeout (for fmodf, remainderf) since r15-7257-g54bdeca3c62144

2025-03-18 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119325 --- Comment #12 from Tobias Burnus --- BTW, I added some diagnostic to the 'if' clause showing: v64sf_fmod.c:147:109: warning: ‘__from’ (‘v2sf’ {aka ‘__vector(2) float’}): size = 8, align = 64 v64sf_fmod.c:147:198: warning: ‘__from’ (‘v2sf’ {ak

[Bug middle-end/119325] [15 Regression] libgomp.c/simd-math-1.c (gcn offloading): timeout (for fmodf, remainderf) since r15-7257-g54bdeca3c62144

2025-03-18 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119325 --- Comment #11 from Tobias Burnus --- > Can you attach preprocessed source of the libm function? BTW: The relevant newlib source files are (newlib/libm/machine/amdgcn/) the following; looking at those is much more readable: * amdgcn_veclib.h

[Bug middle-end/119325] [15 Regression] libgomp.c/simd-math-1.c (gcn offloading): timeout (for fmodf, remainderf) since r15-7257-g54bdeca3c62144

2025-03-18 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119325 --- Comment #9 from Tobias Burnus --- Created attachment 60801 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60801&action=edit libm_a-v64sf_fmod.i - as requested in comment 8

[Bug middle-end/119325] [15 Regression] libgomp.c/simd-math-1.c (gcn offloading): timeout (for fmodf, remainderf) since r15-7257-g54bdeca3c62144

2025-03-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119325 --- Comment #7 from Tobias Burnus --- I was wondering whether setting GCN_STACK_SIZE= would help; default is 32*1024. Answer: it does not seem to help, but I noticed that from time to time, it succeeds. I have a couple in a semi-row, but then 2

[Bug middle-end/119325] [15 Regression] libgomp.c/simd-math-1.c (gcn offloading): timeout (for fmodf, remainderf) since r15-7257-g54bdeca3c62144

2025-03-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119325 --- Comment #6 from Tobias Burnus --- Some more testing: Copying gfx908/libm.a of the 'failing' build directory to the install directory + re-compiling will make the binary fail, copying from the 'working' build directory, it will work. Thus,

[Bug fortran/119330] New: [OpenMP] GCC wrongly rejects depend(out:var%a(1:10))

2025-03-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- The following is rejected by gfortran with: 12 | !$omp task depend(out:var%a(1:10

[Bug fortran/119330] [OpenMP] GCC wrongly rejects depend(out:var%a(1:10)) - likewise for C/C++'s s.a[1:10]

2025-03-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119330 Tobias Burnus changed: What|Removed |Added Summary|[OpenMP] GCC wrongly|[OpenMP] GCC wrongly

[Bug middle-end/119325] [15 Regression] libgomp.c/simd-math-1.c (gcn offloading): timeout (for fmodf, remainderf) since r15-7257-g54bdeca3c62144

2025-03-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119325 --- Comment #5 from Tobias Burnus --- For both the reduced and the full example: If I write the pragma as: #pragma omp target map(to:a,b) map(from:res) #pragma omp for simd (i.e. I remove the 'parallel' before 'for simd') the code starts

[Bug middle-end/119325] [15 Regression] libgomp.c/simd-math-1.c (gcn offloading): timeout (for fmodf, remainderf) since r15-7257-g54bdeca3c62144

2025-03-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119325 Tobias Burnus changed: What|Removed |Added Summary|[15 Regression] |[15 Regression] |libg

[Bug middle-end/119325] [15 Regression] libgomp.c/simd-math-1.c (gcn offloading): timeout (for fmodf, remainderf) since r15-7284-g6b56e645a7b481

2025-03-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119325 --- Comment #2 from Tobias Burnus --- (In reply to Richard Biener from comment #1) > The bisection is quite odd I am re-testing. Somehow mixed full rebuilds and incremental builds, which affect whether newlib (libm) is rebuild or not. I am now

[Bug middle-end/119325] New: [15 Regression] libgomp.c/simd-math-1.c (gcn offloading): timeout (for fmodf, remainderf) since r15-7284-g6b56e645a7b481

2025-03-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
Version: 15.0 Status: UNCONFIRMED Keywords: openmp, wrong-code Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: ams at gcc dot

[Bug fortran/115271] [OpenMP] Declare variant not stored in Fortran module file

2025-03-15 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115271 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/115076] [OpenMP] "declare variant" scoping rules and visibility

2025-03-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115076 --- Comment #3 from Tobias Burnus --- The testcase mentioned in PR 115271 comment 1, i.e., the existing (xfailed): libgomp/testsuite/libgomp.fortran/declare-variant-2.f90 libgomp/testsuite/libgomp.fortran/declare-variant-2-aux.f90 is interes

[Bug fortran/119288] New: [OpenMP] declare variant - adjust_args only detects invalid use when invoked

2025-03-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
: accepts-invalid, diagnostic, openmp Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- Assume the following, created for PR115271. * As written, the

[Bug middle-end/119036] New: [OpenMP] dispatch with interop(obj) clause and obj == omp_interop_none should not set default-device-var ICV

2025-02-26 Thread burnus at gcc dot gnu.org via Gcc-bugs
: UNCONFIRMED Keywords: openmp Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: sandra at gcc dot gnu.org Target Milestone: --- OpenMP has

[Bug fortran/104651] [OOP] CLASS with assumed-size/assumed-rank array

2025-02-21 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104651 --- Comment #4 from Tobias Burnus --- Cf. also commit r15-7661-g8293b9e40f12e9 – especially the FIXME in in trans-types.cc's gfc_get_derived_type.

[Bug middle-end/118965] New: [OpenMP] require at least one target/targetsync with append_args' interop and 'interop's init clause

2025-02-21 Thread burnus at gcc dot gnu.org via Gcc-bugs
Status: UNCONFIRMED Keywords: accepts-invalid, diagnostic, openmp Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- GCC accepts: omp i

[Bug testsuite/113005] 'libgomp.fortran/rwlock_1.f90', 'libgomp.fortran/rwlock_3.f90' execution test timeouts

2025-02-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113005 --- Comment #19 from Tobias Burnus --- (In reply to Xi Ruoyao from comment #18) > I get warnings like below after building both libgomp and the test program > with tsan (following PR55561 comment 15): > > WARNING: ThreadSanitizer: lock-order-in

[Bug libfortran/118935] Segmentation fault in 'libgomp.fortran/rwlock_1.f90' when compiling libgfortran with '-O0'

2025-02-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118935 Tobias Burnus changed: What|Removed |Added Ever confirmed|1 |0 Status|WAITING

[Bug fortran/118937] New: DO CONCURRENT: Add a warning if 'SHARED' (or LOCAL(_INIT)) is not specified but multiple loop iterations modify a variable

2025-02-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
oduct: gcc Version: 15.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- EXPECTED: Add

[Bug middle-end/118694] OpenMP: target/metadirective/teams directive nesting gives error

2025-02-18 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118694 --- Comment #2 from Tobias Burnus --- gcc/testsuite/gfortran.dg/gomp/metadirective-3.f90 also contains a testcase that triggers (if compiling with offload_nvptx enabled; xfailed).

[Bug fortran/115271] [OpenMP] Declare variant not stored in Fortran module file

2025-02-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115271 --- Comment #5 from Tobias Burnus --- Note the commit of comment 4 only fixes the INTERFACE issue of comment 2. The actual saving into/reading from .mod files has still to be implemented (comment 0, comment 1).

[Bug c++/118876] New: [15 Regression][OpenMP] ICE on valid code

2025-02-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- omptests/xt-declare-target-ctors/test.cpp: In function ‘void __tcfsd(void*)’: omptests/xt-declare-target-ctors/test.cpp:103:5

[Bug middle-end/111042] [OpenMP] 'allocate' clause and combined directive - improve diagnostic, ICE because of missing diagnostic

2025-02-13 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111042 --- Comment #1 from Tobias Burnus --- Regarding Sollve_VV, that's now OpenMP_VV. The testcase is: tests/5.0/teams_loop/test_target_teams_loop_allocate.c And the pull request also migrated to: https://github.com/OpenMP-Validation-and-Verifica

[Bug c++/118859] [C++] dispatch accepts non-pointer template argument with adjust_args

2025-02-13 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118859 Tobias Burnus changed: What|Removed |Added Keywords||wrong-code --- Comment #1 from Tobias B

[Bug c++/118859] New: [C++] dispatch accepts non-pointer template argument with adjust_args

2025-02-13 Thread burnus at gcc dot gnu.org via Gcc-bugs
-invalid, diagnostic Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: parras at gcc dot gnu.org Target Milestone: --- Testcase: g++.dg/gomp/adjust-args-2.C

[Bug c++/118791] [15 Regression][OpenMP] declare variant messes up template instantiation with rvalue arguments

2025-02-12 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118791 --- Comment #11 from Tobias Burnus --- Just FYI without directly validity: clang++ (since 11.0 and up to main) accepts the attached testcase (comment 0 / attachment 60417) * * * Cross ref [vaguely related; C++ return-value + templates with Op

[Bug middle-end/118839] New: [OpenMP] Missing diagnostic when the variant is the same as the base name

2025-02-11 Thread burnus at gcc dot gnu.org via Gcc-bugs
: accepts-invalid, diagnostic, openmp Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- Clang prints: error: variant in '#pragma omp declare varian

[Bug c++/118791] [15 Regression][OpenMP] declare variant messes up template instantiation with rvalue arguments

2025-02-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118791 Tobias Burnus changed: What|Removed |Added Summary|declare variant messes up |[15 Regression][OpenMP]

[Bug c++/118791] declare variant messes up template instantiation with rvalue arguments

2025-02-09 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118791 Tobias Burnus changed: What|Removed |Added CC||jason at redhat dot com --- Comment #5

[Bug fortran/118740] [OpenMP] 'sorry' used without location data

2025-02-05 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118740 Tobias Burnus changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/118745] UBSAN: member access within null pointer of type 'struct gfc_omp_namelist' since r15-7285-gbea86e82146b9b

2025-02-05 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118745 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2025-02-05 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 118745, which changed state. Bug 118745 Summary: UBSAN: member access within null pointer of type 'struct gfc_omp_namelist' since r15-7285-gbea86e82146b9b https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118745 Wh

[Bug middle-end/113067] [OpenMP][5.1] Context selector - handle 'implementation={requires(...)}'

2025-02-05 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113067 Tobias Burnus changed: What|Removed |Added CC||sandra at gcc dot gnu.org --- Comment #

[Bug fortran/118745] UBSAN: member access within null pointer of type 'struct gfc_omp_namelist' since r15-7285-gbea86e82146b9b

2025-02-04 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118745 --- Comment #1 from Tobias Burnus --- I guess it does not show in practice as '&odv->append_args_list->where' will be implemented as '&odv->append_args_list' + offset – and the result is never actually used. - At least, 'valgrind' does not detec

[Bug libfortran/118744] [15 Regression] missing libgfortran.a multilibs

2025-02-04 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118744 Tobias Burnus changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug libfortran/118744] [15 Regression] missing libgfortran.a multilibs

2025-02-04 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118744 --- Comment #1 from Tobias Burnus --- [Maybe I need to bootstrap again and then it will show up again?] I am checking this now - it might have been a pilot error as I do see it in my other build.

[Bug libfortran/118744] New: [15 Regression] missing libgfortran.a multilibs

2025-02-04 Thread burnus at gcc dot gnu.org via Gcc-bugs
: libfortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: ams at gcc dot gnu.org Target Milestone: --- I just noticed that my GCN build has libgfortran.a only in amdgcn-amdhsa/lib while lib{c,g,m,gomp,ssp} exist there and in

[Bug middle-end/118741] New: [OpenMP] metadirectives for declarative use rejected

2025-02-04 Thread burnus at gcc dot gnu.org via Gcc-bugs
: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: sandra at gcc dot gnu.org Target Milestone: --- Probably not the highest priority but the following could be useful

[Bug fortran/118740] New: [OpenMP] 'sorry' used without location data

2025-02-04 Thread burnus at gcc dot gnu.org via Gcc-bugs
ty: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: sandra at gcc dot gnu.org Target Milestone: --- Message like f951: sorry, unimplemented: declarative directive varian

[Bug fortran/118690] New: [OpenMP] declare_variant - multiple use for same procedure not diagnosed

2025-01-29 Thread burnus at gcc dot gnu.org via Gcc-bugs
: accepts-invalid, openmp Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- The following cases are accepted but shouldn't: ! (A) Self refe

[Bug fortran/101602] [F2018] local and local_init are not supported in DO CONCURRENT

2025-01-25 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101602 --- Comment #6 from Tobias Burnus --- Created attachment 60279 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60279&action=edit Draft patch - see comment 6 for known issues ... this includes REDUCE. Note that no real concurrency except fo

[Bug fortran/101602] [F2018] local and local_init are not supported in DO CONCURRENT

2025-01-25 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101602 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment

[Bug c/118639] New: [OpenMP] c_parser_omp_variable_list wrongly accepts a tailing comma: 'omp flush(a,)'

2025-01-24 Thread burnus at gcc dot gnu.org via Gcc-bugs
NCONFIRMED Keywords: accepts-invalid, diagnostic, openmp 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, waffl3x at protonmail dot co

[Bug middle-end/118627] gcc/omp-general.cc:4197: The code looks like reading uninitialised data

2025-01-23 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118627 Tobias Burnus changed: What|Removed |Added Keywords||openmp --- Comment #3 from Tobias Burnu

[Bug c/118579] New: [OpenMP] c-parser.cc: Improve location of c_parser_omp_variable_list for kind=0

2025-01-21 Thread burnus at gcc dot gnu.org via Gcc-bugs
Keywords: diagnostic, openmp Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: parras at gcc dot gnu.org Target Milestone: --- tree list

[Bug fortran/118321] [OpenMP] declare_variant's 'adjust_args' yields wrong code if the result is passed by argument

2025-01-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118321 --- Comment #7 from Tobias Burnus --- (In reply to Thomas Schwinge from comment #6) > Curious, for C we don't need any such changes, to handle nested functions, > for example? (I don't remember how these are implemented exactly.) For internal

[Bug c++/118530] [OpenMP] declare_variant - non-arg variant with non-template return value type not selected

2025-01-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118530 Tobias Burnus changed: What|Removed |Added Depends on||112810 --- Comment #3 from Tobias Burnu

[Bug fortran/118321] [OpenMP] declare_variant's 'adjust_args' yields wrong code if the result is passed by argument

2025-01-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118321 --- Comment #5 from Tobias Burnus --- > Fixed the main Fortran issue. And now also the 'this' pointer issue for C++. * * * Still to do: * Possibly add more test cases, e.g., static member function in C++ or ... * Check whether we want/have

[Bug c++/118530] [OpenMP] declare_variant - non-arg variant with non-template return value type not selected

2025-01-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118530 --- Comment #2 from Tobias Burnus --- Related variant, again by waffl3x, which fails with both GCC and Clang, but works when changing the base-functions 'auto' to 'int'. For GCC, the error is [SIC!]: : In substitution of 'template auto base(T)

[Bug middle-end/118496] [OpenMP] "omp unroll" parsed — but not active

2025-01-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118496 --- Comment #4 from Tobias Burnus --- Too many open tabs → the last comment, comment 3, was supposed to go to PR 118530. Sorry for the spam :-/

[Bug c++/118530] [OpenMP] declare_variant - non-arg variant with non-template return value type not selected

2025-01-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118530 --- Comment #1 from Tobias Burnus --- Clang-19 -fopenmp prints for this also an error: foo.C:4:29: error: variant in '#pragma omp declare variant' with type '' is incompatible with type 'void ()' 4 | #pragma omp declare variant(variant) mat

[Bug middle-end/118496] [OpenMP] "omp unroll" parsed — but not active

2025-01-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118496 --- Comment #3 from Tobias Burnus --- Clang-19 -fopenmp prints for this also an error: foo.C:4:29: error: variant in '#pragma omp declare variant' with type '' is incompatible with type 'void ()' 4 | #pragma omp declare variant(variant) mat

[Bug c++/118530] New: [OpenMP] declare_variant - non-arg variant with non-template return value type not selected

2025-01-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
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, waffl3x at protonmail dot com Target

[Bug c++/118488] [OpenMP] Return types and templates with 'declare variant' mishandled

2025-01-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118488 --- Comment #1 from Tobias Burnus --- > Cf. discussion at OpenMP spec Issue […] Got that wrong; the correct OpenMP spec issue number is: 4446.

[Bug fortran/118321] [OpenMP] declare_variant's 'adjust_args' yields wrong code if the result is passed by argument

2025-01-16 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118321 --- Comment #3 from Tobias Burnus --- Fixed the main Fortran issue. Still to do: * Fix C++ issue ('this' pointer), comment 1 * For Fortran, we may want to check for ENTRY master functions ...

[Bug fortran/118441] [15 Regression] [openmp] ICE with assignment of PACK of string array

2025-01-15 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118441 Tobias Burnus changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug fortran/118441] [15 Regression] [openmp] ICE with assignment of PACK of string array

2025-01-15 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118441 --- Comment #5 from Tobias Burnus --- >if (sym->formal_ns > + && sym->attr.proc != PROC_INTRINSIC // temporary hack I am afraid that this might break /usr/include/finclude/math-vector-fortran.h which contains lines like: !GCC$

[Bug middle-end/118496] [OpenMP] "omp unroll" parsed — but not active

2025-01-15 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118496 --- Comment #1 from Tobias Burnus --- Variant — for GCC, you need to switch to 'gcc (trunk)': https://godbolt.org/z/Yce7rqdrW

[Bug middle-end/118496] New: [OpenMP] "omp unroll" parsed — but not active

2025-01-15 Thread burnus at gcc dot gnu.org via Gcc-bugs
ty: 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: --- Trying the following with GCC 15 still keeps the loop: void f() { #pragma

[Bug c++/118486] [OpenMP] declare_variant - bogus diagnostic 'not found' when only return-type is wrong

2025-01-15 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118486 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/118488] New: [OpenMP] Return types and templates with 'declare variant' mishandled

2025-01-15 Thread burnus at gcc dot gnu.org via Gcc-bugs
ds: openmp, rejects-valid Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- Cf. discussion at OpenMP spec Issue 4371. The following code compiles with clan

[Bug fortran/118478] [OpenMP][5.0] Use defined assignment for FIRSTPRIVATE etc., if available

2025-01-15 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118478 --- Comment #3 from Tobias Burnus --- > I don't believe we should do two copy constructors for target, > one on the host and one on the device. My understanding is that the (first)privatization happens twice. I am not saying that the implementa

[Bug c++/118486] [OpenMP] declare_variant - bogus diagnostic 'not found' when only return-type is wrong

2025-01-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118486 Tobias Burnus changed: What|Removed |Added Keywords||rejects-valid --- Comment #2 from Tobia

[Bug c++/118486] [OpenMP] declare_variant - bogus diagnostic 'not found' when only return-type is wrong

2025-01-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118486 --- Comment #1 from Tobias Burnus --- For the first case, omp_declare_variant_finalize_one's 8550variant = finish_call_expr (variant, &args, /*disallow_virtual=*/false, has (gdb) p debug(variant) TARGET_EXPR But after 8555 var

[Bug c++/118486] New: [OpenMP] declare_variant - bogus diagnostic 'not found' when only return-type is wrong

2025-01-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
NCONFIRMED Keywords: diagnostic, openmp 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: --- GCC [12 to mainline

[Bug ipa/118484] New: ICE during IPA pass: cp in determine_versionability ipa-cp.cc:467

2025-01-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
-valid-code Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: tschwinge at gcc dot gnu.org Target Milestone: --- Target: nvptx Created attachment

[Bug fortran/118478] [OpenMP][5.0] Use defined assignment for FIRSTPRIVATE etc., if available

2025-01-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118478 --- Comment #1 from Tobias Burnus --- Same Issue with C++ and the copy constructor. It seems as, technically, there are two new copies + assignments with !$omp target firstprivate(x) [Cf. OpenMP Spec Pull Req. 4435] - Namely: one when creat

[Bug fortran/118479] [OpenMP] Warn if a non-definable/INTENT(IN) appears in a 'from' clause or with a map-exiting map type (from, tofrom, or storage)

2025-01-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118479 --- Comment #1 from Tobias Burnus --- We also need to handle implicit mapping with INTENT(IN) – in which case it should decay a 'from' should decay to 'release' on map exiting.

[Bug fortran/118479] New: [OpenMP] Warn if a non-definable/INTENT(IN) appears in a 'from' clause or with a map-exiting map type (from, tofrom, or storage)

2025-01-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
oduct: gcc Version: 15.0 Status: UNCONFIRMED Keywords: diagnostic, openmp Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: ---

  1   2   3   4   5   6   7   8   9   10   >