[Bug libfortran/95177] error: array subscript has type char

2020-05-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 Thomas Koenig changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug libfortran/95177] error: array subscript has type char

2020-05-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment

[Bug fortran/94978] [8/9/10/11 Regression] Bogus warning "Array reference at (1) out of bounds in loop beginning at (2)"

2020-05-18 Thread tkoenig at gcc dot gnu.org
||90302 Status|UNCONFIRMED |NEW Last reconfirmed||2020-05-18 CC||tkoenig at gcc dot gnu.org --- Comment #2 from Thomas Koenig --- Two ways to fix this: When checking for outer do loops

[Bug fortran/94925] Undesired runtime warning message

2020-05-18 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94925 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org

[Bug fortran/95053] [11 regression] ICE in f951: gfc_divide()

2020-05-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95053 --- Comment #26 from Thomas Koenig --- (In reply to wschmidt from comment #24) > I'm afraid I disagree.  A divide-by-zero that cannot ever be executed is > not an error. Well, there is PR90302. We could insert some piece of code into the IL.

[Bug fortran/95119] [9/10 Regression] CLOSE hangs when -fopenmp is specified in compilation

2020-05-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95119 Thomas Koenig changed: What|Removed |Added Target Milestone|--- |9.4 Summary|CLOSE hangs when

[Bug fortran/95119] CLOSE hangs when -fopenmp is specified in compilation

2020-05-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95119 Thomas Koenig changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #5 from Thomas

[Bug fortran/95119] CLOSE hangs when -fopenmp is specified in compilation

2020-05-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95119 --- Comment #4 from Thomas Koenig --- So, in order for this to hang, two close statements on the same unit are needed, the first one with an error message. Seems like the unit is not unlocked on the error return.

[Bug fortran/95119] CLOSE hangs when -fopenmp is specified in compilation

2020-05-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95119 Thomas Koenig changed: What|Removed |Added CC||jb at gcc dot gnu.org --- Comment #3

[Bug fortran/95119] CLOSE hangs when -fopenmp is specified in compilation

2020-05-13 Thread tkoenig at gcc dot gnu.org
||2020-05-14 CC||tkoenig at gcc dot gnu.org Status|UNCONFIRMED |NEW --- Comment #2 from Thomas Koenig --- Confirmed with current trunk.

[Bug libfortran/95101] Optimize libgfortran library handling of arrays

2020-05-13 Thread tkoenig at gcc dot gnu.org
dot gnu.org |tkoenig at gcc dot gnu.org Severity|normal |enhancement Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2020-05-13

[Bug libfortran/95101] Optimize libgfortran library handling of arrays

2020-05-13 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95101 Thomas Koenig changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libfortran/95101] New: Optimize libgfortran library handling of arrays

2020-05-13 Thread tkoenig at gcc dot gnu.org
: libfortran Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- Here are some ideas: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018#c30

[Bug target/95018] [10/11 Regression] Excessive unrolling for Fortran library array handling

2020-05-13 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018 --- Comment #29 from Thomas Koenig --- It is also interesting that this variant --- a/libgfortran/generated/in_pack_i4.c +++ b/libgfortran/generated/in_pack_i4.c @@ -88,7 +88,7 @@ internal_pack_4 (gfc_array_i4 * source) count[0]++;

[Bug fortran/95053] [11 regression] ICE in f951: gfc_divide()

2020-05-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95053 Thomas Koenig changed: What|Removed |Added Status|REOPENED|WAITING --- Comment #16 from Thomas

[Bug target/95018] [10/11 Regression] Excessive unrolling for Fortran library array handling

2020-05-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018 --- Comment #22 from Thomas Koenig --- Here are the details of how I tested this. I generated the in_pack_r4.i and in_unpack_r4.i by adding -save-temps to the Makefile options in ~/trunk-bin/powerpc64le-unknown-linux-gnu/libgfortran , then

[Bug target/95018] [10/11 Regression] Excessive unrolling for Fortran library array handling

2020-05-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018 --- Comment #21 from Thomas Koenig --- (In reply to Richard Biener from comment #19) > Is libgfortran built with -O2 -funroll-loops or with -O3 (IIRC -O3?). Just plain -O2 (for size reasons), with matmul as an exception where we add

[Bug target/95018] [10/11 Regression] Excessive unrolling for Fortran library array handling

2020-05-11 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018 --- Comment #16 from Thomas Koenig --- Hi, I was unable to find a performance problem, so I take back my presumption of the original problem. I have checked two versions of the preprocessed source, with +#pragma GCC unroll 1 while

[Bug target/95018] [10/11 Regression] Excessive unrolling for Fortran library array handling

2020-05-11 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018 --- Comment #14 from Thomas Koenig --- Most Fortran arrays are one- or two-dimensional. Assuming a 10*10 two-dimensional array that is being packed, the condition will be tested 121 times and the loop body will be entered 12 times. Only once

[Bug target/95018] [10/11 Regression] Excessive unrolling for Fortran library array handling

2020-05-10 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018 --- Comment #9 from Thomas Koenig --- Created attachment 48502 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48502=edit Assembly file on x86 with -O2 -funroll-loops So, it seems the decisions made for unrolling are bad for this case

[Bug target/95018] [10/11 Regression] Excessive unrolling for Fortran library array handling

2020-05-10 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018 Thomas Koenig changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/95018] [10/11 Regression] Excessive unrolling for Fortran library array handling

2020-05-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018 --- Comment #7 from Thomas Koenig --- Just checked aarch64, and that also isn't affected: tkoenig@gcc116:~/gcc-bin/aarch64-unknown-linux-gnu/libgfortran$ objdump --disassemble in_pack_i4.o | wc -l 95

[Bug target/95018] [10/11 Regression] Excessive unrolling for Fortran library array handling

2020-05-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018 Thomas Koenig changed: What|Removed |Added Summary|[11 Regression] Excessive |[10/11 Regression]

[Bug target/95018] [11 Regression] Excessive unrolling for Fortran library array handling

2020-05-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018 --- Comment #5 from Thomas Koenig --- For 9.3.0, I get $ objdump --disassemble in_pack_i4.o | wc -l 123

[Bug target/95018] [11 Regression] Excessive unrolling for Fortran library array handling

2020-05-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018 --- Comment #4 from Thomas Koenig --- 9.3.0 is also not affected.

[Bug target/95018] [11 Regression] Excessive unrolling for Fortran library array handling

2020-05-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018 Thomas Koenig changed: What|Removed |Added Target Milestone|--- |11.0 Summary|Excessive

[Bug target/95018] Excessive unrolling for Fortran library array handling

2020-05-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018 --- Comment #2 from Thomas Koenig --- Created attachment 48490 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48490=edit -fdump-tree-optimized dumpj Finally, the -fdump-tree-optimized dump. Unrolling already appears to happen in the

[Bug target/95018] Excessive unrolling for Fortran library array handling

2020-05-09 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95018 --- Comment #1 from Thomas Koenig --- Created attachment 48489 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48489=edit Preprocessed source

[Bug target/95018] New: Excessive unrolling for Fortran library array handling

2020-05-09 Thread tkoenig at gcc dot gnu.org
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- Created attachment 48488 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48488=edit Generated assembly The code generated for in_pack_i4.c from libgfort

[Bug fortran/93114] Use span passing components of derived types

2020-05-02 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93114 --- Comment #2 from Thomas Koenig --- Created attachment 48430 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48430=edit Preliminary partial patch Here is a very preliminary implementation, which only looks at the return values of maxloc

[Bug fortran/94788] [8/9 Regression] Severe regression leading to double free in tcache

2020-05-01 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94788 --- Comment #40 from Thomas Koenig --- Yes, that test case works. Thanks a lot for putting in all the effort! Because we need -fsanitize=address to reliably detect this bug, I have proposed

[Bug fortran/94788] [8/9 Regression] Severe regression leading to double free in tcache

2020-04-30 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94788 --- Comment #37 from Thomas Koenig --- (In reply to Jürgen Reuter from comment #36) > Hm, I hope I didn't change the flavor of the bug, but you can cross-check > with the very first reproducer which contains our code more or less > unchanged

[Bug fortran/94788] [8/9 Regression] Severe regression leading to double free in tcache

2020-04-30 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94788 --- Comment #35 from Thomas Koenig --- (In reply to Jürgen Reuter from comment #34) > Created attachment 48411 [details] > Final reproducer, less than 300 lines ;) > > This one should be sufficient. No further files or input is necessary, it >

[Bug fortran/94788] [8/9 Regression] Severe regression leading to double free in tcache

2020-04-29 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94788 Thomas Koenig changed: What|Removed |Added Status|WAITING |NEW --- Comment #33 from Thomas Koenig

[Bug fortran/94841] [10 Regression]527.cam4_r 7.68% regression on Intel Cascadelaker with -O2, 9.57% regression with -Ofast -march=native -funroll-loops -flto

2020-04-29 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94841 Thomas Koenig changed: What|Removed |Added Resolution|--- |FIXED See Also|

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2020-04-29 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 94841, which changed state. Bug 94841 Summary: [10 Regression]527.cam4_r 7.68% regression on Intel Cascadelaker with -O2, 9.57% regression with -Ofast -march=native -funroll-loops -flto

[Bug fortran/94788] [8/9 Regression] Severe regression leading to double free in tcache

2020-04-28 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94788 --- Comment #27 from Thomas Koenig --- (In reply to Jürgen Reuter from comment #25) > Ok, Simon and I try our best, working independently, me reducing the > existing case further, and he tries to write a small reproducer from scratch. Thanks a

[Bug fortran/94788] [8/9 Regression] Severe regression leading to double free in tcache

2020-04-27 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94788 Thomas Koenig changed: What|Removed |Added Status|NEW |WAITING Blocks|

[Bug fortran/94788] [8/9 Regression] Severe regression leading to double free in tcache

2020-04-27 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94788 Thomas Koenig changed: What|Removed |Added Version|10.0|9.3.1 Summary|[10

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-27 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 Thomas Koenig changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug fortran/94788] [10 Regression] Severe regression leading to double free in tcache

2020-04-27 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94788 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/94788] [10 Regression] Severe regression leading to double free in tcache

2020-04-27 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94788 --- Comment #10 from Thomas Koenig --- (In reply to Richard Biener from comment #3) > Can you maybe bisect this to a specific (fortran) commit in GCC? Richard, when is the last time (presumably) that either a fix can go in or the patch can be

[Bug fortran/94788] [10 Regression] Severe regression leading to double free in tcache

2020-04-27 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94788 --- Comment #8 from Thomas Koenig --- I'd like to understand what went wrong here... I suspect that the fix exposed another bug somewhere :-( Is it possible to isolate a test case like that? If that is the offending patch, I think it is

[Bug fortran/94769] Possible use of uninitialized variable num

2020-04-27 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94769 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment

[Bug fortran/94578] Incorrect assignment of RESHAPE() result to a Fortran pointer

2020-04-27 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94578 Thomas Koenig changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug fortran/93114] Use span passing components of derived types

2020-04-27 Thread tkoenig at gcc dot gnu.org
|1 Last reconfirmed||2020-04-27 Assignee|unassigned at gcc dot gnu.org |tkoenig at gcc dot gnu.org --- Comment #1 from Thomas Koenig --- Assigning to myself so I do not forget this.

[Bug fortran/94737] BIND(C) names are not always treated as case sensitive.

2020-04-26 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94737 --- Comment #8 from Thomas Koenig --- So, test case committed. Thanks for the bug report! Even though it turned out to be invalid, it still ended up making the compiler better.

[Bug fortran/94737] BIND(C) names are not always treated as case sensitive.

2020-04-26 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94737 --- Comment #6 from Thomas Koenig --- (In reply to Lee Busby from comment #4) > (In reply to kargl from comment #3) > > (In reply to Thomas Koenig from comment #2) > > > Correction, this is not a regression. > > > > > > F2018 has, in 19.2,

[Bug fortran/94737] BIND(C) names are not always treated as case sensitive.

2020-04-25 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94737 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED Summary|[8/9/10

[Bug fortran/94737] [8/9/10 Regression] BIND(C) names are not always treated as case sensitive.

2020-04-25 Thread tkoenig at gcc dot gnu.org
CC| |tkoenig at gcc dot gnu.org Target Milestone|--- |8.5

[Bug fortran/93563] Wrong code makes the compiler hang

2020-04-25 Thread tkoenig at gcc dot gnu.org
|UNCONFIRMED |NEW Ever confirmed|0 |1 CC||tkoenig at gcc dot gnu.org Keywords||ice-on-invalid-code, ||memory-hog --- Comment #1

[Bug fortran/93924] ICE in gfc_class_len_get at trans_expr.c:231 with function returning a procedure pointer

2020-04-25 Thread tkoenig at gcc dot gnu.org
||2020-04-25 CC||tkoenig at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Thomas Koenig --- Confirmed.

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 --- Comment #11 from Thomas Koenig --- Fixed on all open branches. Thanks a lot for the bug report! Regards

[Bug fortran/90350] ubound ICE on assumed size array even though explicit bound is specified

2020-04-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90350 Thomas Koenig changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-21 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 --- Comment #7 from Thomas Koenig --- Created attachment 48328 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48328=edit Patch which sould create the right temporaries Well, this should to the trick - at least fixes the test case.

[Bug middle-end/91512] [10 Regression] Fortran compile time regression.

2020-04-21 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91512 --- Comment #26 from Thomas Koenig --- (In reply to Bill Seurer from comment #25) > This is affecting us on powerpc64 as well. It takes twice as long to build > the spec2017 test cases with most of the difference in a few of the fortran >

[Bug fortran/92993] [8/9 Regression] ICE in maybe_canonicalize_comparison_1, at fold-const.c:8845

2020-04-20 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92993 Thomas Koenig changed: What|Removed |Added Summary|[8/9/10 Regression] ICE in |[8/9 Regression] ICE in

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-20 Thread tkoenig at gcc dot gnu.org
at gcc dot gnu.org |tkoenig at gcc dot gnu.org --- Comment #6 from Thomas Koenig --- Let's see if I can get this fixed.

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-20 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 --- Comment #5 from Thomas Koenig --- So, the problem seems to be that sym->attr.subref_array_pointer is not set on the original test case. It should be set by p => get(r(:)) (or by an equivalent call get2(r)) because we don't know what the

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-20 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 --- Comment #4 from Thomas Koenig --- Taking the slightly modified test case program array_temps implicit none type :: tt integer :: u = 1 integer :: v = 2 end type tt type(tt), dimension(:), pointer :: r integer :: n

[Bug fortran/91800] ICE in gfc_code2string(): Bad code

2020-04-20 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91800 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/93338] [8/9/10 Regression] ICE in make_ssa_name_fn, at tree-ssanames.c:282

2020-04-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93338 --- Comment #7 from Thomas Koenig --- (In reply to Richard Biener from comment #2) > Likely another missing DECL_EXPR for variable-size stuff. TYPE_SIZE has > > (bitsizetype) (sizetype) _29 * 8 > > and _29 is released. This is confusing.

[Bug fortran/93338] [8/9/10 Regression] ICE in make_ssa_name_fn, at tree-ssanames.c:282

2020-04-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93338 --- Comment #6 from Thomas Koenig --- Correction: Fails with -O, does not fail without optimization.

[Bug fortran/93338] [8/9/10 Regression] ICE in make_ssa_name_fn, at tree-ssanames.c:282

2020-04-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93338 --- Comment #5 from Thomas Koenig --- Works now, probably fixed by Paul's work on associate.

[Bug fortran/94347] Assignment pointer at declaration

2020-04-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94347 Thomas Koenig changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/94347] Assignment pointer at declaration

2020-04-19 Thread tkoenig at gcc dot gnu.org
||2020-04-19 CC||tkoenig at gcc dot gnu.org Status|UNCONFIRMED |NEW --- Comment #2 from Thomas Koenig --- Works with current trunk and gcc 9.

[Bug fortran/93500] ICE in gfc_numeric_ts, at fortran/expr.c:891

2020-04-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93500 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libfortran/94143] [9/10 Regression] Asynchronous execute_command_line() breaks following synchronous calls

2020-04-18 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94143 Thomas Koenig changed: What|Removed |Added Last reconfirmed||2020-04-18 Keywords|

[Bug fortran/94090] ICE on mismatched interface

2020-04-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94090 Thomas Koenig changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/94578] Incorrect assignment of RESHAPE() result to a Fortran pointer

2020-04-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94578 --- Comment #9 from Thomas Koenig --- Here's what a solution could look like. I am not really sure that this is the way to go, there may be some corner cases (pointer to an argument which was passed as a transposed argument?) which this might

[Bug fortran/94578] Incorrect assignment of RESHAPE() result to a Fortran pointer

2020-04-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94578 --- Comment #8 from Thomas Koenig --- The bug appears to affect intrinsics only, for example this program main implicit none type foo integer :: x, y end type foo integer, dimension(:), pointer :: bp type (foo), dimension(4),

[Bug fortran/94578] Incorrect assignment of RESHAPE() result to a Fortran pointer

2020-04-16 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94578 --- Comment #6 from Thomas Koenig --- Also wrong: program main implicit none type foo integer :: x, y end type foo integer :: i integer, dimension (2,2) :: array2d integer, dimension(:), pointer :: array1d type(foo),

[Bug fortran/94578] Incorrect assignment of RESHAPE() result to a Fortran pointer

2020-04-16 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94578 --- Comment #5 from Thomas Koenig --- Somewhat smaller test case: program main implicit none type foo integer :: x, y end type foo integer :: i integer, dimension (2,2) :: array2d integer, dimension(:), pointer :: array1d

[Bug fortran/88452] gfortran (Gentoo 8.2.0-r5 p1.6) 8.2.0 reports internal error

2020-04-16 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88452 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org

[Bug fortran/94030] [8/9/10 Regression] ICE equivalence of an integer and an element of an array of size n

2020-04-16 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94030 Thomas Koenig changed: What|Removed |Added CC||jiri.pitt...@jh-inst.cas.cz --- Comment

[Bug fortran/93500] ICE in gfc_numeric_ts, at fortran/expr.c:891

2020-04-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93500 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org

[Bug fortran/93948] Surprising option processing of -fdec and -fdec-math in combination with -std

2020-04-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93948 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-14 Thread tkoenig at gcc dot gnu.org
||pault at gcc dot gnu.org, ||tkoenig at gcc dot gnu.org Last reconfirmed||2020-04-14 Status|UNCONFIRMED |NEW --- Comment #2 from Thomas Koenig --- (In reply to martin from comment

[Bug fortran/94022] Array slices of assumed-size arrays

2020-04-14 Thread tkoenig at gcc dot gnu.org
||tkoenig at gcc dot gnu.org Ever confirmed|0 |1 Status|UNCONFIRMED |WAITING --- Comment #1 from Thomas Koenig --- Can you simplify this somewhat, and not use assumed shape in your test case? This adds a complication

[Bug fortran/94110] Passing an assumed-size to an assumed-shape argument should be rejected

2020-04-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94110 Thomas Koenig changed: What|Removed |Added Severity|normal |enhancement

[Bug fortran/94270] [8/9 Regression] Bogus unused dummy argument warning/error

2020-04-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94270 Thomas Koenig changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/94578] Incorrect assignment of RESHAPE() result to a Fortran pointer

2020-04-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94578 --- Comment #4 from Thomas Koenig --- Looks like span is not handled in reshape (at all). It will be interesting to see how other intrinsics such as maxloc and just about everything else handles this.

[Bug fortran/94578] Incorrect assignment of RESHAPE() result to a Fortran pointer

2020-04-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94578 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug fortran/94270] [8/9 Regression] Bogus unused dummy argument warning/error

2020-04-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94270 --- Comment #7 from Thomas Koenig --- (In reply to Ignacio Fernández Galván from comment #6) > Will the fix be backported to gcc7? I noticed this when Ubuntu updated the > gcc7 version, so I would like to have the chance of seeing it fixed >

[Bug fortran/94270] [8/9/10 Regression] Bogus unused dummy argument warning/error

2020-04-13 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94270 --- Comment #3 from Thomas Koenig --- Not quite a one-liner, but looks good: diff --git a/gcc/fortran/interface.c b/gcc/fortran/interface.c index 75a50c999b7..8f041f0a0a8 100644 --- a/gcc/fortran/interface.c +++ b/gcc/fortran/interface.c @@

[Bug fortran/94270] [8/9/10 Regression] Bogus unused dummy argument warning/error

2020-04-13 Thread tkoenig at gcc dot gnu.org
|--- |8.5 Summary|Bogus unused dummy argument |[8/9/10 Regression] Bogus |warning/error |unused dummy argument ||warning/error Assignee|unassigned at gcc dot gnu.org |tkoenig

[Bug fortran/94270] Bogus unused dummy argument warning/error

2020-04-13 Thread tkoenig at gcc dot gnu.org
||tkoenig at gcc dot gnu.org Last reconfirmed||2020-04-13 Status|UNCONFIRMED |NEW --- Comment #1 from Thomas Koenig --- Confirmed.

[Bug fortran/94110] Erroneous code compiling

2020-04-13 Thread tkoenig at gcc dot gnu.org
|WAITING CC||tkoenig at gcc dot gnu.org Last reconfirmed||2020-04-13 --- Comment #1 from Thomas Koenig --- (In reply to José Rui Faustino de Sousa from comment #0) > Created attachment 48000 [details] >

[Bug fortran/94192] ICE on wrong code

2020-04-13 Thread tkoenig at gcc dot gnu.org
||tkoenig at gcc dot gnu.org Status|NEW |RESOLVED --- Comment #4 from Thomas Koenig --- Fixed on trunk, closing. Thanks for the bug report!

[Bug fortran/94090] ICE on mismatched interface

2020-04-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94090 Thomas Koenig changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tkoenig at gcc dot gnu.org

[Bug fortran/94090] ICE on mismatched interface

2020-04-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94090 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org Last

[Bug fortran/94091] Erroneous __builtin_memcpy warning for character assignment

2020-04-12 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94091 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/94091] Erroneous __builtin_memcpy warning for character assignment

2020-04-11 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94091 Thomas Koenig changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tkoenig at gcc dot gnu.org

[Bug fortran/94104] Request for diagnostic improvement

2020-04-11 Thread tkoenig at gcc dot gnu.org
||2020-04-11 Status|UNCONFIRMED |NEW CC||tkoenig at gcc dot gnu.org Severity|normal |enhancement --- Comment #1 from Thomas Koenig --- Would be useful, yes.

[Bug fortran/94109] Memory leak introduced in 8.3.0->8.3.1

2020-04-11 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94109 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org Last

[Bug fortran/93762] Truncation of deferred-length string when passing as optional

2020-04-10 Thread tkoenig at gcc dot gnu.org
|NEW Last reconfirmed||2020-04-10 CC||tkoenig at gcc dot gnu.org --- Comment #1 from Thomas Koenig --- Unfortunately, the test case fails with different ways on current trunk: $ gfortran -g a.f90 $ ./a.out

[Bug target/94551] New: [10 Regression] Bootstrap failure on powerpc64le-unknown-linux-gnu

2020-04-10 Thread tkoenig at gcc dot gnu.org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: tkoenig at gcc dot gnu.org Target Milestone: --- This is with commit e26bd694c790b7c8f68c6736b2683c60a8fcbcfe, as of just now.l The machine is gcc135.fsffrance.org, in case anybody

[Bug fortran/93579] [9/10 Regression] ICE in gfc_conv_substring_expr, at fortran/trans-expr.c:8587

2020-04-10 Thread tkoenig at gcc dot gnu.org
||tkoenig at gcc dot gnu.org Status|NEW |RESOLVED --- Comment #4 from Thomas Koenig --- Fixed, then.

[Bug fortran/94386] [10 Regression] FAIL: gfortran.dg/pr93365.f90

2020-03-29 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94386 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

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