[Bug middle-end/103384] New: [OpenMP] declare variant with device={kind(nohost)} does not use GPU, kind(gpu) works

2021-11-23 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103384 Bug ID: 103384 Summary: [OpenMP] declare variant with device={kind(nohost)} does not use GPU, kind(gpu) works Product: gcc Version: 12.0 Status: UNCONFIRMED Ke

[Bug c/103385] New: [OpenMP] reduction(+: temp[0], temp[1]) rejected with 'appears more than once'

2021-11-23 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103385 Bug ID: 103385 Summary: [OpenMP] reduction(+: temp[0], temp[1]) rejected with 'appears more than once' Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug target/103396] New: [GCN][BUILD] ICE RTL check: access of elt 4 of vector with last elt 3 in move_callee_saved_registers, at config/gcn/gcn.c:2821

2021-11-23 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103396 Bug ID: 103396 Summary: [GCN][BUILD] ICE RTL check: access of elt 4 of vector with last elt 3 in move_callee_saved_registers, at config/gcn/gcn.c:2821 Product: gcc

[Bug target/103396] [GCN][BUILD] ICE RTL check: access of elt 4 of vector with last elt 3 in move_callee_saved_registers, at config/gcn/gcn.c:2821

2021-11-23 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103396 --- Comment #3 from Tobias Burnus --- Created attachment 51864 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51864&action=edit Reduced testcase – compile with -O2 -march=gfx900 / gfx906 / gfx908 Note: No ICE with -match=fiji ICE at: Br

[Bug target/103396] [12 Regression][GCN][BUILD] ICE RTL check: access of elt 4 of vector with last elt 3 in move_callee_saved_registers, at config/gcn/gcn.c:2821

2021-11-23 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103396 Tobias Burnus changed: What|Removed |Added Summary|[GCN][BUILD] ICE RTL check: |[12 Regression][GCN][BUILD]

[Bug middle-end/103416] New: [12 Regression][OpenMP] Bogus firstprivate(n) map(to:n [len: 4][implicit])

2021-11-24 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103416 Bug ID: 103416 Summary: [12 Regression][OpenMP] Bogus firstprivate(n) map(to:n [len: 4][implicit]) Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ope

[Bug middle-end/103416] [12 Regression][OpenMP] Bogus firstprivate(n) map(to:n [len: 4][implicit])

2021-11-25 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103416 --- Comment #2 from Tobias Burnus --- (In reply to Chung-Lin Tang from comment #1) > Can you see if adding this patch: > https://gcc.gnu.org/pipermail/gcc-patches/2021-November/583279.html > fixes this problem? If so, then it should be another o

[Bug middle-end/103416] [12 Regression][OpenMP] Bogus firstprivate(n) map(to:n [len: 4][implicit])

2021-11-25 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103416 --- Comment #3 from Tobias Burnus --- Okay, the map(to:D.4217 [len: 4][implicit]) map(tofrom:n [len: 4][implicit]) issue is not new – only the '[implicit]' + the misaligned address one (fixed by the patch from comment 1). * * * Thus regress

[Bug fortran/80330] OpenACC: Unexpected data mapping instead of implicit firstprivate

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

[Bug middle-end/103416] [12 Regression][OpenMP] Bogus firstprivate(n) map(to:n [len: 4][implicit])

2021-11-25 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103416 --- Comment #4 from Tobias Burnus --- Created attachment 51872 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51872&action=edit RFC Patch to avoid the pointless evaluation, see comment 4 (In reply to Tobias Burnus from comment #3) > * Wh

[Bug middle-end/103416] [12 Regression][OpenMP] Bogus firstprivate(n) map(to:n [len: 4][implicit])

2021-11-25 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103416 --- Comment #5 from Tobias Burnus --- (In reply to Tobias Burnus from comment #4) > Created attachment 51872 [details] > RFC Patch to avoid the pointless evaluation, see comment 4 The default was supposed to be 'false' - to be overridden where

[Bug fortran/103496] New: [F2018][TS29113] C_SIZEOF – rejects now valid args with 'must be an interoperable data entity'

2021-11-30 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103496 Bug ID: 103496 Summary: [F2018][TS29113] C_SIZEOF – rejects now valid args with 'must be an interoperable data entity' Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug fortran/103496] [F2018][TS29113] C_SIZEOF – rejects now valid args with 'must be an interoperable data entity'

2021-11-30 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103496 --- Comment #2 from Tobias Burnus --- (In reply to anlauf from comment #1) > https://j3-fortran.org/doc/year/21/21-134r2.txt > but it still requires using interoperable types etc. > Just asking: did you simply forget to "decorate" your declarati

[Bug middle-end/103416] [OpenMP] Double mapping via firstprivate(n) map(to:n [len: 4][implicit])

2021-12-02 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103416 Tobias Burnus changed: What|Removed |Added Summary|[12 Regression][OpenMP] |[OpenMP] Double mapping via

[Bug fortran/103576] [12 Regression] gcc/fortran/openmp.c:7556:8: warning: overlapping comparisons always evaluate to true [-Wtautological-overlap-compare] since r12-5793-g689407ef916503b2f5a3c8c07fe7

2021-12-06 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103576 --- Comment #2 from Tobias Burnus --- (In reply to Martin Liška from comment #1) > I suppose it should be: > expr->ts.type != foo && expr->ts.type != bar ... Rather the following. There are some more fixes I should do in this area; I added this

[Bug middle-end/103642] New: [12 Regression] ICE in lower_omp_target: omp-low.c:12977 (fold_convert_loc) for omp target map(from: t.s->a[:N])

2021-12-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103642 Bug ID: 103642 Summary: [12 Regression] ICE in lower_omp_target: omp-low.c:12977 (fold_convert_loc) for omp target map(from: t.s->a[:N]) Product: gcc Version: 12

[Bug middle-end/103643] New: [12 Regression][OpenMP] ICE in create_tmp_var, at gimple-expr.c:482 - via gimplify_omp_affinity

2021-12-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103643 Bug ID: 103643 Summary: [12 Regression][OpenMP] ICE in create_tmp_var, at gimple-expr.c:482 - via gimplify_omp_affinity Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug driver/103644] New: [OpenMP] -foffload= suggest also 'disable' (and 'default')

2021-12-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103644 Bug ID: 103644 Summary: [OpenMP] -foffload= suggest also 'disable' (and 'default') Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: diagnostic, openmp

[Bug fortran/103576] [12 Regression] gcc/fortran/openmp.c:7556:8: warning: overlapping comparisons always evaluate to true [-Wtautological-overlap-compare] since r12-5793-g689407ef916503b2f5a3c8c07fe7

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

[Bug middle-end/103708] New: [OpenMP][OMP 5.0/5.x] use_device_addr - array sections not supported

2021-12-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103708 Bug ID: 103708 Summary: [OpenMP][OMP 5.0/5.x] use_device_addr - array sections not supported Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: openmp, r

[Bug driver/103644] [OpenMP] -foffload= suggest also 'disable' (and 'default')

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

[Bug target/97827] bootstrap error building the amdgcn-amdhsa offload compiler with LLVM 11

2021-12-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97827 --- Comment #18 from Tobias Burnus --- POST SCRIPT / STATUS UPDATE (This PR remains FIXED) (In reply to Tobias Burnus from comment #16) > > I unfortunately missed in my the LLVM patch that '.rodata' implies flags and > > messed up the check. Sho

[Bug fortran/92482] BIND(C) with array-descriptor mishandled for type character

2021-08-31 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92482 Tobias Burnus changed: What|Removed |Added Last reconfirmed||2021-08-31 Ever confirmed|0

[Bug fortran/93524] [ISO C Binding][F2018] CFI_allocate – elem_size mishandled + sm wrongly set?

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

[Bug target/102215] [GCN offloading] Missing '__atomic_compare_exchange_1' etc.

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

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

2021-09-06 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94070 --- Comment #9 from Tobias Burnus --- I think my patch for moving the CFI<->GFC conversion to FE-generated code partially helps, https://gcc.gnu.org/pipermail/gcc-patches/2021-September/578904.html However, I still see the following issues:

[Bug fortran/101308] Bind(C): gfortran does not create C descriptors for scalar pointer/allocatable arguments

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

[Bug bootstrap/102302] New: [12 Regression] ICE during RTL pass: expand: in gen_lowpart_general, at rtlhooks.c:57

2021-09-13 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102302 Bug ID: 102302 Summary: [12 Regression] ICE during RTL pass: expand: in gen_lowpart_general, at rtlhooks.c:57 Product: gcc Version: 12.0 Status: UNCONFIRMED Ke

[Bug bootstrap/102302] [12 Regression] ICE during RTL pass: expand: in gen_lowpart_general, at rtlhooks.c:57

2021-09-13 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102302 --- Comment #2 from Tobias Burnus --- Reduced testcase: --- typedef float HFtype __attribute__ ((mode (HF))); union _FP_UNION_H { HFtype flt; struct { unsigned frac } }; typedef float SFtype __attribute__ ((mode (SF))); __truncsfhf

[Bug fortran/102313] [12 Regression] ICE in gfc_ascii_statement(): Bad statement code since r12-2962-gf8d535f3fec81c1c

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

[Bug fortran/102330] [12 Regression] ICE in expand_gimple_stmt_1, at cfgexpand.c:3932 since r12-980-g29a2f51806c

2021-09-15 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102330 Tobias Burnus changed: What|Removed |Added CC||cltang at gcc dot gnu.org Key

[Bug target/102353] powerpc64le-linux-gnu build failure when build != host

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

[Bug target/102353] powerpc64le-linux-gnu build failure when build != host

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

[Bug fortran/55534] -Wno-missing-include-dirs does not work with gfortran

2021-09-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55534 --- Comment #11 from Tobias Burnus --- The problem is an ordering problem. Namely: * toplev.c calls: lang_hooks.init_options (save_decoded_options_count, save_decoded_options); which in turn is: gfc_init_options ( { ... SET_OPTION

[Bug fortran/55534] -Wno-missing-include-dirs does not work with gfortran

2021-09-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55534 --- Comment #12 from Tobias Burnus --- Patch: https://gcc.gnu.org/pipermail/gcc-patches/2021-September/579678.html

[Bug c++/102409] New: _pragma ("omp ...") expansion issue - placed in the wrong scope

2021-09-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102409 Bug ID: 102409 Summary: _pragma ("omp ...") expansion issue - placed in the wrong scope Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug fortran/55534] -Wno-missing-include-dirs does not work with gfortran

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

[Bug target/102429] New: nvptx: ICE with expand_GOMP_SIMT_XCHG_BFLY : in expand_insn, at optabs.c:7947

2021-09-21 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102429 Bug ID: 102429 Summary: nvptx: ICE with expand_GOMP_SIMT_XCHG_BFLY : in expand_insn, at optabs.c:7947 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug fortran/93834] [9/10/11/12 Regression] ICE in trans_caf_is_present, at fortran/trans-intrinsic.c:8469

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

[Bug fortran/56659] Segfault due to missing libcpp error handler for "gfortran -cpp"

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

[Bug fortran/62226] Encode CPP options in lang.opt

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

[Bug fortran/102500] [12 regression] Missing include for gfortran.dg/include_15.f90 in r12-3722

2021-09-28 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102500 --- Comment #1 from Tobias Burnus --- While the patch outputs proper warnings, it was deemed to be aggressive by default. Thus, the default value has been downgraded to print by commit Fortran: Improve -Wmissing-include-dirs warnings [PR555

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

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

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

2021-09-28 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96661 --- Comment #5 from Tobias Burnus --- Note the commit in comment 4 does not solve the problem that the hppa64-hp-hpux11.11 target in does not support TImode alias __int128 (yet) However, when building libgomp without Fortran support, it now sh

[Bug fortran/93148] Pointer-function-result as LVALUE variable – function called multiple times with copy-in/out

2021-10-04 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93148 --- Comment #2 from Tobias Burnus --- Also when looking at gfc_conv_subref_array_arg – the function is called seemingly up to 3 times – once per: * gfc_conv_loop_setup (&loop, &expr->where); which calls gfc_conv_loop_setup → gfc_conv_loop_set

[Bug fortran/93148] Pointer-function-result as LVALUE variable – function called multiple times with copy-in/out

2021-10-04 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93148 --- Comment #3 from Tobias Burnus --- Additionally, it seems as if the contiguous check used for gfortran.dg/contiguous_10.f90 currently unconditionally copies in the data – which causes a problem when the pointer address escapes. (Okay, whether

[Bug fortran/56659] Segfault due to missing libcpp error handler for "gfortran -cpp"

2021-10-06 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56659 --- Comment #6 from Tobias Burnus --- (In reply to Paul from comment #5) > Just tried all versions of gfortran available up to 10.2.0: the very same > 'internal compiler error' is still reported using the initial reproducer. Can you share the i

[Bug fortran/56659] Segfault due to missing libcpp error handler for "gfortran -cpp"

2021-10-07 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56659 --- Comment #8 from Tobias Burnus --- (In reply to kapinos from comment #7) > The output of gfortran 10.2.0 was added previously, cf. > > f951: Warning: Include directory ‘./foo/bar’: Permission denied > > f951: internal compiler error: in cpp_

[Bug fortran/102641] Bogus error for intent(out) dummy that is a polymorphic assumed-rank array

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

[Bug fortran/56659] Segfault due to missing libcpp error handler for "gfortran -cpp"

2021-10-08 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56659 --- Comment #10 from Tobias Burnus --- (In reply to Manuel López-Ibáñez from comment #9) > (In reply to Tobias Burnus from comment #8) > > f951: Warning: Include directory ‘foo/bar/’: Permission denied > > : Error: foo/bar: Permission denied

[Bug fortran/102689] New: Segfault with RESHAPE of CLASS as actual argument

2021-10-11 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102689 Bug ID: 102689 Summary: Segfault with RESHAPE of CLASS as actual argument Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal

[Bug fortran/102701] New: CLASS (polymorphism) + symbol/expression attribute – wrong attribute status (audit task)

2021-10-12 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102701 Bug ID: 102701 Summary: CLASS (polymorphism) + symbol/expression attribute – wrong attribute status (audit task) Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug fortran/102541] [12 Regression] runtime error: load of value 208393040, which is not a valid value for type 'ar_type' since r12-3897-g00f6de9c69119594f7dad3bd525937c94c8200d0

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

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

2021-10-12 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 102541, which changed state. Bug 102541 Summary: [12 Regression] runtime error: load of value 208393040, which is not a valid value for type 'ar_type' since r12-3897-g00f6de9c69119594f7dad3bd525937c94c8200d0 https://gcc.

[Bug fortran/54322] [OOP] Wrong TARGET-attribute handling with CLASS IS/TYPE IS

2021-10-12 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54322 Tobias Burnus changed: What|Removed |Added Keywords||rejects-valid --- Comment #2 from Tobias

[Bug fortran/102708] New: Improve ''array temporary was created for argument" diagnostic

2021-10-12 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102708 Bug ID: 102708 Summary: Improve ''array temporary was created for argument" diagnostic Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: diagnostic

[Bug fortran/102729] New: Assumed rank: ICE when passing noncontiguous to CONTIGUOUS assume rank (assumed-rank loop handling)

2021-10-13 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102729 Bug ID: 102729 Summary: Assumed rank: ICE when passing noncontiguous to CONTIGUOUS assume rank (assumed-rank loop handling) Product: gcc Version: 12.0 Status: UNCONFIRME

[Bug fortran/102729] Assumed rank: ICE when passing noncontiguous to CONTIGUOUS assume rank (assumed-rank loop handling)

2021-10-13 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102729 Tobias Burnus changed: What|Removed |Added Blocks||102641 --- Comment #1 from Tobias Burnu

[Bug fortran/102708] Improve ''array temporary was created for argument" diagnostic

2021-10-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102708 --- Comment #1 from Tobias Burnus --- Actually, it prints the line number at the call site. Thus, there is probably no need for adding the name of callee. However, related to the fsym/proc_name passing: Currently, the callers in gfc_conv_proce

[Bug fortran/102745] New: CLASS → TYPE check fails after RESHAPE

2021-10-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102745 Bug ID: 102745 Summary: CLASS → TYPE check fails after RESHAPE Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: accepts-invalid, diagnostic Severity: normal

[Bug bootstrap/102766] New: [12 Regression] internal compiler error: in df_insn_delete, at df-scan.c:949

2021-10-15 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102766 Bug ID: 102766 Summary: [12 Regression] internal compiler error: in df_insn_delete, at df-scan.c:949 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: b

[Bug bootstrap/102766] [12 Regression][nvptx] internal compiler error: in df_insn_delete, at df-scan.c:949

2021-10-15 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102766 Tobias Burnus changed: What|Removed |Added Target Milestone|--- |12.0 CC|

[Bug bootstrap/102766] [12 Regression][nvptx] internal compiler error: in df_insn_delete, at df-scan.c:949

2021-10-15 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102766 --- Comment #3 from Tobias Burnus --- ... However, there is no effect when using -f(no-)var-tracking(-uninit), it has still an ICE in all cases. (Well, except that -fvar-tracking-uninit shows the following before the ICE: cc1: error: variable

[Bug bootstrap/102766] [12 Regression][nvptx] internal compiler error: in df_insn_delete, at df-scan.c:949

2021-10-15 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102766 --- Comment #6 from Tobias Burnus --- [x86_64 build/host with target nvptx] .../gcc/cc1 -fpreprocessed task.i -quiet -dumpbase task.c -dumpbase-ext .c -mgomp -g -O2 -Wall -Werror -version -o task.s * * * Another variant of reducted testcase:

[Bug fortran/102815] gfortran.dg/bind-c-contiguous-5.f90 fails at execution on armeb

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

[Bug fortran/101635] FAIL: gfortran.dg/PR93963.f90 – alias-handling issue with BIND(C)'s _gfortran_cfi_desc_to_gfc_desc

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

[Bug fortran/94331] Bind(C) corrupts array descriptors

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

[Bug fortran/94327] Bind(c) argument attributes are incorrectly set

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

[Bug fortran/97046] Bad interaction between lbound/ubound, allocatable arrays and bind(C) subroutine with dimension(..) parameter

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

[Bug fortran/102086] [F2008][TS29113] Accepts invalid scalar TYPE(*) as actual argument to assumed-rank

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

[Bug fortran/92189] Fortran-written bind(C) function with allocatable argument does not update C descriptor on exit

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

[Bug fortran/92284] Subroutine with bind(c) attribute causing varied problems

2021-10-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92284 Bug 92284 depends on bug 92189, which changed state. Bug 92189 Summary: Fortran-written bind(C) function with allocatable argument does not update C descriptor on exit https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92189 What|Remove

[Bug fortran/101308] Bind(C): gfortran does not create C descriptors for scalar pointer/allocatable arguments

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

[Bug fortran/101309] Bind(C): gfortran creates invalid C descriptor for result of TRANSPOSE intrinsic

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

[Bug fortran/92482] BIND(C) with array-descriptor mishandled for type character

2021-10-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92482 Tobias Burnus changed: What|Removed |Added Keywords||wrong-code --- Comment #8 from Tobias Bu

[Bug fortran/102745] CLASS → TYPE check fails after RESHAPE

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

[Bug fortran/92482] BIND(C) with array-descriptor mishandled for type character

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

[Bug fortran/93963] Select rank mishandling allocatable and pointer arguments with bind(c)

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

[Bug fortran/102815] gfortran.dg/bind-c-contiguous-5.f90 fails at execution on armeb

2021-10-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102815 --- Comment #3 from Tobias Burnus --- (In reply to Tobias Burnus from comment #1) > I don't have a big endian system at hand. Can you check whether the attached > patch fixes it? Thanks - and sorry for not taking big endian into account. Now co

[Bug c++/102854] New: [OpenMP] Bogus "initializer expression refers to iteration variable" when using templates

2021-10-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102854 Bug ID: 102854 Summary: [OpenMP] Bogus "initializer expression refers to iteration variable" when using templates Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/102854] [OpenMP] Bogus "initializer expression refers to iteration variable" when using templates

2021-10-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102854 --- Comment #1 from Tobias Burnus --- For the non-template case (with int / IndexType reversed, (ups!)): finish_omp_for's vec *orig_inits is an empty vector but for the template, it isn't (it contains '0' and 'i'); thus, the following check is

[Bug libgomp/100753] Implement in_reduction clause on target construct

2021-10-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100753 --- Comment #3 from Tobias Burnus --- (In reply to Tobias Burnus from comment #2) > Additionally missing: Fortran support. Fortran support was implemented in r12-4574-gd98626bf451dea6a28a42d953f7d0bd7659ad4d5 Still to do: Proper nowait support

[Bug fortran/102859] New: [OpenMP] Missing testsuite coverage for Fortran task reductions

2021-10-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102859 Bug ID: 102859 Summary: [OpenMP] Missing testsuite coverage for Fortran task reductions Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: openmp

[Bug fortran/102862] New: CLASS(*) – various issues, esp. with assumed-rank

2021-10-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102862 Bug ID: 102862 Summary: CLASS(*) – various issues, esp. with assumed-rank Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: diagnostic, rejects-valid Severity: no

[Bug middle-end/102766] [12 Regression][nvptx] internal compiler error: in df_insn_delete, at df-scan.c:949

2021-10-21 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102766 --- Comment #7 from Tobias Burnus --- Cross ref – Martin's patch (current iteration) for this PR and PR102585 is at https://gcc.gnu.org/pipermail/gcc-patches/2021-October/582103.html

[Bug fortran/92621] Problems with memory handling with allocatable intent(out) arrays with bind(c)

2021-10-22 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92621 Tobias Burnus changed: What|Removed |Added Status|ASSIGNED|NEW --- Comment #22 from Tobias Burnus

[Bug fortran/96870] Class name on error message

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

[Bug fortran/100907] Bind(c): failure handling wide character

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

[Bug fortran/100916] Bind(c): CFI_type_other unimplemented.

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

[Bug fortran/102843] [12 regression] gfortran.dg/deferred_type_param_6.f90 fails after r12-4457

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

[Bug fortran/102503] ICE in gfc_conv_array_bound, at fortran/trans-types.c:1224

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

[Bug fortran/102900] New: ICE via gfc_class_data_get in alloc_comp_class_4.f03 with -fcheck=all

2021-10-22 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102900 Bug ID: 102900 Summary: ICE via gfc_class_data_get in alloc_comp_class_4.f03 with -fcheck=all Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-v

[Bug fortran/102901] New: ICE (segfault) when compiling pdt_13.f03 with -fcheck=all in gfc_check_pdt_dummy -> structure_alloc_comps

2021-10-22 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102901 Bug ID: 102901 Summary: ICE (segfault) when compiling pdt_13.f03 with -fcheck=all in gfc_check_pdt_dummy -> structure_alloc_comps Product: gcc Version: 12.0

[Bug fortran/102900] ICE via gfc_class_data_get with alloc_comp_class_4.f03 or proc_ptr_52.f90 using -fcheck=all

2021-10-22 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102900 Tobias Burnus changed: What|Removed |Added Summary|ICE via gfc_class_data_get |ICE via gfc_class_data_get

[Bug fortran/102903] New: Invalid gfortran.dg testcases or wrong-code with -fcheck=all -fsanitize=undefined

2021-10-22 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102903 Bug ID: 102903 Summary: Invalid gfortran.dg testcases or wrong-code with -fcheck=all -fsanitize=undefined Product: gcc Version: 12.0 Status: UNCONFIRMED Keywor

[Bug fortran/92621] Problems with memory handling with allocatable intent(out) arrays with bind(c)

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

[Bug testsuite/102910] cf-descriptor-5-c.c fails to build

2021-10-25 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102910 --- Comment #8 from Tobias Burnus --- I wonder whether something likewise (using __builtin_alloca) should also be done in libgomp/testsuite/libgomp.oacc-c-c++-common/loop-gwv-2.c, which currently uses "#include " + "alloca".

[Bug fortran/102885] [12 Regression] ICE when compiling gfortran.dg/bind_c_char_10.f90 with -flto since r12-4467-g64f9623765da3306

2021-10-26 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102885 --- Comment #3 from Tobias Burnus --- Further reduced testcase: module m use iso_c_binding, only: c_char, c_size_t implicit none (type, external) contains subroutine ar3 (xn, n) bind(C) integer(c_size_t), intent(in) :: n character(len=n

[Bug fortran/102885] [12 Regression] ICE when compiling gfortran.dg/bind_c_char_10.f90 with -flto since r12-4467-g64f9623765da3306

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

[Bug middle-end/102972] New: [OpenMP] Strictly-nested diagnostic missing

2021-10-27 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102972 Bug ID: 102972 Summary: [OpenMP] Strictly-nested diagnostic missing Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: openmp Severity: normal Priority:

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