[Bug fortran/54753] assumed-rank dummies: Reject assumed-size actuals in in some cases (C535c; in F2018: C839)

2021-03-01 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54753 Tobias Burnus changed: What|Removed |Added Summary|assumed-rank dummies: |assumed-rank dummies:

[Bug fortran/94289] Assumed-rank array bounds resuscitate on the second call

2021-03-01 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94289 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #3

[Bug fortran/94070] Assumed-rank arrays – bounds mishandled, SIZE/SHAPE/UBOUND/LBOUND

2021-03-01 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94070 --- Comment #6 from Tobias Burnus --- Some bound issues were fixed with PR99043 – but my bet is that the BIND(C) issues still exist. (→ testcase (C + Fortran) attached to this PR). * * * Additionally: PR 94020 (duplicate of this PR) with attac

[Bug fortran/97694] ICE with optional assumed rank class(*) argument

2021-03-01 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97694 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #8

[Bug fortran/99307] FAIL: gfortran.dg/class_assign_4.f90 -O0 execution test

2021-03-01 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99307 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #4

[Bug fortran/99308] [OOP] passing array of object as class(TYPE) to procedure leads to incorrect length of array

2021-03-01 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99308 Tobias Burnus changed: What|Removed |Added Keywords||missed-optimization CC|

[Bug c/99329] New: [OpenMP] device_type(nohost) & host code diagnostic

2021-03-01 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99329 Bug ID: 99329 Summary: [OpenMP] device_type(nohost) & host code diagnostic Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: accepts-invalid, openmp Severity: norm

[Bug fortran/99326] [9/10/11 Regression] ICE in gfc_build_dummy_array_decl, at fortran/trans-decl.c:1299

2021-03-02 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99326 --- Comment #2 from Tobias Burnus --- This looks very much like an error I looked at before. I think that was for 'select rank (y => x)', which has the same issue as 'select type (y => x)' or as this PR shows 'associate (y=>x)'. Additionally, t

[Bug fortran/99355] -freal-X-real-Y -freal-Z-real-X promotes Z to Y

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

[Bug fortran/99359] Unexpected result of the allocation status when the allocatable variable has been deallocated

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

[Bug fortran/99355] -freal-X-real-Y -freal-Z-real-X promotes Z to Y

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

[Bug fortran/99355] -freal-X-real-Y -freal-Z-real-X promotes Z to Y

2021-03-04 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99355 Tobias Burnus changed: What|Removed |Added CC||dominiq at lps dot ens.fr --- Comment #9

[Bug fortran/99355] -freal-X-real-Y -freal-Z-real-X promotes Z to Y

2021-03-04 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99355 --- Comment #11 from Tobias Burnus --- (In reply to Dominique d'Humieres from comment #8) > r11-7501 changed the output of the test in comment O, is this expected? (In reply to Dominique d'Humieres from comment #10) > % gfc pr57871.f90 I am sli

[Bug fortran/99355] -freal-X-real-Y -freal-Z-real-X promotes Z to Y

2021-03-04 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99355 --- Comment #12 from Tobias Burnus --- Additional patch – my need some cleanup & check whether the other flags agree with the description. However, it should match the implementation: --- a/gcc/fortran/invoke.texi +++ b/gcc/fortran/invoke.texi @

[Bug fortran/99355] -freal-X-real-Y -freal-Z-real-X promotes Z to Y

2021-03-04 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99355 --- Comment #14 from Tobias Burnus --- (In reply to Dominique d'Humieres from comment #13) > I have changed the test in pr57871 comment 0 to [...] > It is not the result I expect. Does the patch of comment 11 produce the expected result?

[Bug fortran/99355] -freal-X-real-Y -freal-Z-real-X promotes Z to Y

2021-03-04 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99355 --- Comment #16 from Tobias Burnus --- Patch: https://gcc.gnu.org/pipermail/gcc-patches/2021-March/566301.html

[Bug fortran/99400] New: OpenMP: ICE in install_var_field, at omp-low.c:789 with "map(alloc: A) map(to: A)"

2021-03-04 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99400 Bug ID: 99400 Summary: OpenMP: ICE in install_var_field, at omp-low.c:789 with "map(alloc: A) map(to: A)" Product: gcc Version: 11.0 Status: UNCONFIRMED Keyword

[Bug fortran/99355] -freal-X-real-Y -freal-Z-real-X promotes Z to Y

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

[Bug fortran/57871] gfortran -freal-4-real-16 gives wrong result for selected_real_kind(1)

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

[Bug fortran/97927] gfortran: ICE in lookup_field_for_decl, at tree-nested.c:288

2021-03-05 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97927 --- Comment #12 from Tobias Burnus --- (In reply to Matthias Klose from comment #10) > seen again with 20210227 I tried it with the attached file and the build.sh but calling gfortran directly w/o mpif90 wrapper. That's with --enable-checking=y

[Bug fortran/97927] gfortran: ICE in lookup_field_for_decl, at tree-nested.c:288

2021-03-05 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97927 --- Comment #13 from Tobias Burnus --- Created attachment 50313 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50313&action=edit Reduced testcase - run with 'gfortran file.f90' (seems to require --enable-checking=yes) The generated code ha

[Bug fortran/97927] gfortran: ICE in lookup_field_for_decl, at tree-nested.c:288

2021-03-05 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97927 Tobias Burnus changed: What|Removed |Added Status|WAITING |NEW --- Comment #14 from Tobias Burnus

[Bug fortran/97927] gfortran: ICE in lookup_field_for_decl, at tree-nested.c:288

2021-03-06 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97927 --- Comment #15 from Tobias Burnus --- Patch: https://gcc.gnu.org/pipermail/gcc-patches/2021-March/566366.html

[Bug c/99137] ICE in gimplify_scan_omp_clauses, at gimplify.c:9833

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

[Bug fortran/88438] [F2008][F08] A pointer function reference can denote a variable in any variable definition context.

2021-03-09 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88438 Tobias Burnus changed: What|Removed |Added Summary|[F08] A pointer function|[F2008][F08] A pointer

[Bug c++/99509] New: [OpenMP] 'omp declare target' for global variable → "hasn't been marked to be included in the offloaded code"

2021-03-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99509 Bug ID: 99509 Summary: [OpenMP] 'omp declare target' for global variable → "hasn't been marked to be included in the offloaded code" Product: gcc Version: 11.0

[Bug c++/99509] [OpenMP] 'omp declare target' for global variable → "hasn't been marked to be included in the offloaded code"

2021-03-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99509 --- Comment #1 from Tobias Burnus --- Variant which also is valid C: #pragma omp declare target int data[]={5}; #pragma omp end declare target inline int foo(int idx) { return data[idx]; } int main() { int i; #pragma omp target map(to:i)

[Bug fortran/99514] incorrect Error: Threadprivate at (1) isn't SAVEd ( implicit save via DATA initialization )

2021-03-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99514 --- Comment #1 from Tobias Burnus --- (In reply to markus.weil...@ipp.mpg.de from comment #0) > I believe the ifort behavior is correct here, because the initialization of > NTest via DATA causes an implicit save, which seems not to be identified

[Bug fortran/99514] incorrect Error: Threadprivate at (1) isn't SAVEd ( implicit save via DATA initialization )

2021-03-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99514 --- Comment #3 from Tobias Burnus --- Patch: https://gcc.gnu.org/pipermail/gcc-patches/2021-March/566548.html

[Bug c++/99509] [OpenMP] 'omp declare target' for global variable → "hasn't been marked to be included in the offloaded code"

2021-03-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99509 --- Comment #3 from Tobias Burnus --- Patch: https://gcc.gnu.org/pipermail/gcc-patches/2021-March/566547.html

[Bug fortran/99519] New: [OpenMP] PRIVATE/FIRSTPRIVATE with CLASS / polymorphic list items

2021-03-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99519 Bug ID: 99519 Summary: [OpenMP] PRIVATE/FIRSTPRIVATE with CLASS / polymorphic list items Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-c

[Bug fortran/86470] [8/9/10/11 Regression] [OOP] ICE with OMP

2021-03-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86470 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #1

[Bug fortran/99529] New: libgfortran I/O: Data races related to new unit / new unit calls for I/O to strings

2021-03-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99529 Bug ID: 99529 Summary: libgfortran I/O: Data races related to new unit / new unit calls for I/O to strings Product: gcc Version: 11.0 Status: UNCONFIRMED Severi

[Bug fortran/99529] libgfortran I/O: Data races related to new unit / new unit calls for I/O to strings

2021-03-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99529 --- Comment #1 from Tobias Burnus --- Regarding calling newunit_alloc, that's due to libgfortran/io/unit.c's: get_unit (st_parameter_dt *dtp, int do_create) { gfc_unit *unit; if ((dtp->common.flags & IOPARM_DT_HAS_INTERNAL_UNIT) != 0) {

[Bug fortran/99529] libgfortran I/O: Data races related to new unit / new unit calls for I/O to strings

2021-03-11 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99529 --- Comment #5 from Tobias Burnus --- (In reply to martin from comment #4) > Ok, here is another suspicious data race in unit.c (backtrace from helgrind): It looks as if - for the libgfortran internal use - it first gets the unit based on that n

[Bug fortran/99529] libgfortran I/O: Data races related to new unit / new unit calls for I/O to strings

2021-03-11 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99529 --- Comment #6 from Tobias Burnus --- Patch: https://gcc.gnu.org/pipermail/gcc-patches/2021-March/566596.html @Martin: Besides helgrind, you could also try building your program with -fsanitize=thread - this might also help finding some issues (

[Bug fortran/93660] Decl mismatch between fndecl TYPE and used arglist / ICE in ipa_simd_modify_function_body, at omp-simd-clone.c:993

2021-03-11 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93660 Tobias Burnus changed: What|Removed |Added Keywords||wrong-code Summary|ICE in

[Bug fortran/98858] OpenMP offload target data ICE at use_device_ptr

2021-03-11 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98858 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug fortran/88899] Derived type IO in conjunction with openmp fails with invalid memory read

2021-03-12 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88899 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org,

[Bug c++/99509] [OpenMP] 'omp declare target' for global variable → "hasn't been marked to be included in the offloaded code"

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

[Bug fortran/98858] OpenMP offload target data ICE at use_device_ptr

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

[Bug fortran/99529] libgfortran I/O: Data races related to new unit / new unit calls for I/O to strings

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

[Bug fortran/99514] incorrect Error: Threadprivate at (1) isn't SAVEd ( implicit save via DATA initialization )

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

[Bug fortran/93660] Decl mismatch between fndecl TYPE and used arglist / ICE in ipa_simd_modify_function_body, at omp-simd-clone.c:993

2021-03-15 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93660 --- Comment #3 from Tobias Burnus --- Patch: https://gcc.gnu.org/pipermail/fortran/2021-March/055816.html

[Bug fortran/92782] [OpenMP] ICE in fold_convert_loc, at fold-const.c:2431

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

[Bug fortran/97927] gfortran: ICE in lookup_field_for_decl, at tree-nested.c:288

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

[Bug fortran/57141] Cannot change attributes of USE-associated intrinsic

2021-03-16 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57141 --- Comment #6 from Tobias Burnus --- (In reply to Antonio from comment #5) > I am experiencing this problem in gfortran from gcc version 10.2.0 and the > same workaround also works. It seems to be a regression. Hi Antonio. Do you use exactly t

[Bug fortran/99609] Pure Function that has a Variable with Value Attribute that is modified

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

[Bug fortran/97491] Wrong restriction for VALUE arguments of pure procedures

2021-03-16 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97491 Tobias Burnus changed: What|Removed |Added CC||Boyce at engineer dot com --- Comment #8

[Bug fortran/99651] Cannot change attributes of USE-associated intrinsic

2021-03-18 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99651 Tobias Burnus changed: What|Removed |Added Keywords||rejects-valid CC|

[Bug fortran/99651] Cannot change attributes of USE-associated intrinsic

2021-03-18 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99651 Tobias Burnus changed: What|Removed |Added Last reconfirmed||2021-03-18 Status|UNCONFIRME

[Bug fortran/99651] Cannot change attributes of USE-associated intrinsic

2021-03-18 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99651 --- Comment #3 from Tobias Burnus --- The obvious idea to do: if (sym->attr.flavor == FL_UNKNOWN || sym->attr.flavor == FL_PROCEDURE) in gfc_intrinsic_func_interface works, but has the side effect that for print *, allocated(f) ('f' is a

[Bug fortran/99651] Cannot change attributes of USE-associated intrinsic

2021-03-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99651 --- Comment #4 from Tobias Burnus --- Patch: https://gcc.gnu.org/pipermail/gcc-patches/2021-March/566956.html

[Bug middle-end/99666] New: [OpenMP][5.0] Support 'affinity' clause in 'omp task'

2021-03-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99666 Bug ID: 99666 Summary: [OpenMP][5.0] Support 'affinity' clause in 'omp task' Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: openmp Severity: normal Pr

[Bug fortran/99688] AddressSanitizer: stack-buffer-overflow on address at gfc_match_name(char*) gcc/fortran/match.c:685

2021-03-21 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99688 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #2

[Bug fortran/99688] AddressSanitizer: stack-buffer-overflow on address at gfc_match_name(char*) gcc/fortran/match.c:685

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

[Bug other/86656] [meta-bug] Issues found with -fsanitize=address

2021-03-24 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86656 Bug 86656 depends on bug 99688, which changed state. Bug 99688 Summary: AddressSanitizer: stack-buffer-overflow on address at gfc_match_name(char*) gcc/fortran/match.c:685 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99688 What|Re

[Bug fortran/99369] [10/11 Regression] ICE in gfc_resolve_expr, at fortran/resolve.c:7167

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

[Bug fortran/99765] Explicit dimension size declaration of pointer array allowed

2021-03-25 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99765 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #3

[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

2021-03-25 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95622 --- Comment #8 from Tobias Burnus --- I am not sure whether this is a sensible solution, but it fixes the issue for c-c++-common/goacc/kernels-alias-ipa-pta-2.c ... diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index 529e

[Bug fortran/99765] Explicit dimension size declaration of pointer array allowed

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

[Bug fortran/93660] Decl mismatch between fndecl TYPE and used arglist / ICE in ipa_simd_modify_function_body, at omp-simd-clone.c:993

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

[Bug fortran/93660] Decl mismatch between fndecl TYPE and used arglist / ICE in ipa_simd_modify_function_body, at omp-simd-clone.c:993

2021-03-29 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93660 --- Comment #8 from Tobias Burnus --- (In reply to Christophe Lyon from comment #7) > Excess errors: > /gcc/testsuite/gfortran.dg/gomp/declare-simd-coarray-lib.f90:8:18: Warning: > GCC does not currently support mixed size types for 'simd' functi

[Bug middle-end/99928] New: [OpenMP] reduction variable in combined target construct wrongly mapped as firstprivate

2021-04-06 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99928 Bug ID: 99928 Summary: [OpenMP] reduction variable in combined target construct wrongly mapped as firstprivate Product: gcc Version: 11.0 Status: UNCONFIRMED Ke

[Bug fortran/94446] Bogus "type mismatch" with TYPE(c_ptr) and sizeof()

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

[Bug middle-end/99928] [OpenMP] reduction variable in combined target construct wrongly mapped as firstprivate

2021-04-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99928 --- Comment #2 from Tobias Burnus --- Patch: https://gcc.gnu.org/pipermail/gcc-patches/2021-April/567838.html

[Bug fortran/99817] [10/11 Regression] ICE in create_function_arglist, at fortran/trans-decl.c:2838 (etc.)

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

[Bug middle-end/100059] New: [OpenMP] wrong code with 'declare target link' and a scalar variable

2021-04-13 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100059 Bug ID: 100059 Summary: [OpenMP] wrong code with 'declare target link' and a scalar variable Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: openmp, w

[Bug middle-end/100059] [OpenMP] wrong code with 'declare target link' and a scalar variable

2021-04-13 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100059 Tobias Burnus changed: What|Removed |Added CC||vries at gcc dot gnu.org --- Comment #1

[Bug middle-end/100059] [OpenMP] wrong code with 'declare target link' and a scalar variable

2021-04-13 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100059 --- Comment #2 from Tobias Burnus --- Probably a read herring as I still get for a.xnvptx-none.c: static const char *const var_mappings[] = { "b$linkptr", "i$linkptr", "c$linkptr", "a$linkptr" };

[Bug middle-end/100059] [OpenMP] wrong code with 'declare target link' and a scalar variable

2021-04-13 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100059 --- Comment #3 from Tobias Burnus --- With GCN it does work: i=5: A=5, B=6, C=7 i=5: A=6, B=8, C=10 i=5: A=7, B=10, C=13 And the follow testcase prints: * with nvptx: 42, 5, 0, 0 * with amdgcn: 5, 42, 43, 44 This something must be rever

[Bug middle-end/100059] [OpenMP] wrong code with 'declare target link' and a scalar variable

2021-04-13 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100059 Tobias Burnus changed: What|Removed |Added Last reconfirmed||2021-04-13 Assignee|unassigne

[Bug middle-end/100144] New: [OpenMP] Data race with "omp parallel master taskloop ... shared(scalar)"

2021-04-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100144 Bug ID: 100144 Summary: [OpenMP] Data race with "omp parallel master taskloop ... shared(scalar)" Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ope

[Bug c/97880] [8/9/10 Regression] [OpenACC] ICE in emit_library_call_value_1, at calls.c:5298

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

[Bug middle-end/100144] [OpenMP] Data race with "omp parallel master taskloop ... shared(scalar)"

2021-04-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100144 --- Comment #2 from Tobias Burnus --- Sollve_vv's testcase has been fixed: Issue: https://github.com/SOLLVE/sollve_vv/issues/324 Patch test_parallel_master_taskloop.c: https://github.com/SOLLVE/sollve_vv/pull/325 Patch test_parallel_master_task

[Bug fortran/100154] [9/10/11 Regression] ICE in gfc_conv_procedure_call, at fortran/trans-expr.c:6131

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

[Bug target/100181] hot-cold partitioned code doesn't assemble

2021-04-21 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100181 --- Comment #7 from Tobias Burnus --- I can reproduce this one with LLVM trunk when compiled with '-save-temps -O2' and then llvm-mc --triple=amdgcn--amdhsa -mcpu=fiji -filetype=obj --amdhsa-code-object-version=3 a.xamdgcn-amdhsa.mkoffload.1.s

[Bug target/100181] hot-cold partitioned code doesn't assemble

2021-04-21 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100181 --- Comment #9 from Tobias Burnus --- (In reply to Thomas Schwinge from comment #8) > (In reply to Tobias Burnus from comment #7) > > (I could not reproduce the LLVM 9 issue in PR94278 back then.) > > Hmm, but didn't you say in the LLVM issue >

[Bug target/100232] New: [OpenMP][nvptx] Reduction fails with optimization and 'loop'/'for simd' but not with 'for'

2021-04-23 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100232 Bug ID: 100232 Summary: [OpenMP][nvptx] Reduction fails with optimization and 'loop'/'for simd' but not with 'for' Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug target/100232] [OpenMP][nvptx] Reduction fails with optimization and 'loop'/'for simd' but not with 'for'

2021-04-23 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100232 --- Comment #2 from Tobias Burnus --- (In reply to Tom de Vries from comment #1) > Can you try the patch for PR81778 ? > It's possible you're looking at a duplicate. Unfortunately, it does not seem to make a difference - it still fails

[Bug target/97385] [nvptx, docs] -msoft-stack-reserve-local= missing documentation

2020-10-12 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97385 Tobias Burnus changed: What|Removed |Added Keywords||documentation --- Comment #1 from Tobias

[Bug fortran/97390] [OpenAError compiling acc data present

2020-10-13 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97390 Tobias Burnus changed: What|Removed |Added Summary|Error compiling acc data|[OpenAError compiling acc

[Bug fortran/97408] Handle ac-do-variable KIND argument to intrinsics

2020-10-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97408 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org Keyw

[Bug driver/81358] libatomic not automatically linked with C11 code

2020-10-22 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81358 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #1

[Bug libgomp/97649] New: OpenMP: 'target teams' with host-fallback: race condition according to TSAN

2020-10-30 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97649 Bug ID: 97649 Summary: OpenMP: 'target teams' with host-fallback: race condition according to TSAN Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: open

[Bug libgomp/97649] OpenMP: 'target teams' with host-fallback: race condition according to TSAN

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

[Bug fortran/97655] gcc/fortran/openmp.c:4133: possible cut'n'paste error ?

2020-11-01 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97655 --- Comment #3 from Tobias Burnus --- (In reply to Jakub Jelinek from comment #2) > Guess the second condition should be !c->capture. I concur. > Now, something I have clearly missed in the review, why is capture not part > of atomic_op? capt

[Bug middle-end/97672] New: [11 Regression] gfortran.dg/pdt_14.f03 – runtime: timeout with -O2 (and higher)

2020-11-02 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97672 Bug ID: 97672 Summary: [11 Regression] gfortran.dg/pdt_14.f03 – runtime: timeout with -O2 (and higher) Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords:

[Bug fortran/97655] gcc/fortran/openmp.c:4133: possible cut'n'paste error ?

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

[Bug testsuite/97699] [11 regression] zero-scratch-regs tests fail on arm

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

[Bug fortran/95847] [9/10/11 Regression] Internal error when processing pFUnit generated files with --coverage

2020-11-05 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95847 --- Comment #7 from Tobias Burnus --- Patch: https://gcc.gnu.org/pipermail/gcc-patches/2020-November/558214.html

[Bug target/96835] Constructor in offload template class

2020-11-09 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96835 --- Comment #5 from Tobias Burnus --- (In reply to Tobias Weinzierl from comment #4) > Created attachment 49339 [details] > Reproducer Compiles here with mainline (11.0.0 20201104) and nvptx offloading (-O0). I wonder whether that was fixed by:

[Bug fortran/90111] Placement of Fortran OpenACC 'routine' directive inside 'specification-part'

2020-11-09 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90111 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org St

[Bug c++/97776] New: [C/C++][OpenMP] 'error: array section is not contiguous in ‘map’ clause' for: map(alloc: p[i][0:C])

2020-11-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97776 Bug ID: 97776 Summary: [C/C++][OpenMP] 'error: array section is not contiguous in ‘map’ clause' for: map(alloc: p[i][0:C]) Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug fortran/97782] [Fortran] Confused location information for OpenACC compute constructs

2020-11-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97782 --- Comment #1 from Tobias Burnus --- Created attachment 49540 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49540&action=edit Draft patch There are probably more – like 'omp sections', 'omp parallel', if I glanced at it correctly. (Searc

[Bug fortran/97782] [Fortran] Confused location information for OpenACC compute constructs

2020-11-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97782 --- Comment #2 from Tobias Burnus --- Technically, the issue is (was): The input_location is used which is obtained when finishing the the block (= '!$acc end kernels') - or rather whatever comes before and bumps the line location.

[Bug c/97810] New: [OpenACC] [C/C++] Decide about 'acc atomic update capture' – remove support or keep it

2020-11-12 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97810 Bug ID: 97810 Summary: [OpenACC] [C/C++] Decide about 'acc atomic update capture' – remove support or keep it Product: gcc Version: 11.0 Status: UNCONFIRMED Key

[Bug fortran/95847] [9/10/11 Regression] Internal error when processing pFUnit generated files with --coverage

2020-11-12 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95847 --- Comment #9 from Tobias Burnus --- (In reply to johannes.ziegenbalg from comment #2) > I get the same bug with GCC 10.2.0 in one of my c++ test-cases. Johannes: Can you fill a bugreport for the C++ test case? This PR is only about Fortran – a

[Bug fortran/95847] [9/10/11 Regression] Internal error when processing pFUnit generated files with --coverage

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

[Bug fortran/97782] [Fortran] Confused location information for OpenACC compute constructs

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

  1   2   3   4   5   6   7   8   9   10   >