[Bug fortran/95476] Reading file of length zero

2020-06-07 Thread m.diehl at mpie dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95476 Martin Diehl changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/95476] New: Reading file of length zero

2020-06-02 Thread m.diehl at mpie dot de
Assignee: unassigned at gcc dot gnu.org Reporter: m.diehl at mpie dot de Target Milestone: --- There is some ambiguity when reading a file of zero length: program test character(len=:), allocatable :: a a = IO_read('empty.txt') print*, len(a) print*, '#

[Bug fortran/95446] False positive for optional arguments of elemental procedure

2020-05-31 Thread m.diehl at mpie dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95446 --- Comment #2 from Martin Diehl --- many thanks for the quick reply!

[Bug fortran/95446] New: False positive for optional arguments of elemental procedure

2020-05-30 Thread m.diehl at mpie dot de
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: m.diehl at mpie dot de Target Milestone: --- to my understanding, the following code is valid program elemental_optional implicit none integer :: m(5), r(5) m = 1 r = outer

[Bug fortran/83705] [8/9/10 Regression] ICE/wrong code with large values of REPEAT after revision r256284

2020-03-29 Thread m.diehl at mpie dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83705 Martin Diehl changed: What|Removed |Added CC||m.diehl at mpie dot de --- Comment #15

[Bug fortran/93251] New: Valid code rejected: Shape of array depends on parameter array

2020-01-13 Thread m.diehl at mpie dot de
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: m.diehl at mpie dot de Target Milestone: --- Created attachment 47647 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47647&action=edit source code The following code fo

[Bug fortran/91813] New: Derived types: Issues with user defined I/O and recursive function of abstract type

2019-09-18 Thread m.diehl at mpie dot de
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: m.diehl at mpie dot de Target Milestone: --- Created attachment 46896 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46896&action=edit Example code wi

[Bug fortran/85839] [F2018] warn for obsolescent features

2019-06-28 Thread m.diehl at mpie dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85839 Martin Diehl changed: What|Removed |Added CC||m.diehl at mpie dot de --- Comment #5

[Bug fortran/83113] Bogus "duplicate allocatable attribute" error for submodule character function

2019-05-18 Thread m.diehl at mpie dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83113 --- Comment #5 from Martin Diehl --- forgot to mention: 1) I have encountered this for gfortran 8.3.0 2) Intel fortran accepts the code 3) Would it be possible to change the title? It is not only related to characters and allocatable but for gen

[Bug fortran/83113] Bogus "duplicate allocatable attribute" error for submodule character function

2019-05-18 Thread m.diehl at mpie dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83113 --- Comment #4 from Martin Diehl --- The same error occurs for the dimension attribute and real variables gfortran -c test_module.f90 test_module.f90:20:27: real, dimension(2) :: p 1 Error: Duplicate DIMENSION at

[Bug fortran/83113] Bogus "duplicate allocatable attribute" error for submodule character function

2019-05-18 Thread m.diehl at mpie dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83113 Martin Diehl changed: What|Removed |Added CC||m.diehl at mpie dot de --- Comment #3

[Bug fortran/87937] [8 Regression] LHS reallocation broken inside "select type" and "associate"

2018-12-08 Thread m.diehl at mpie dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87937 Martin Diehl changed: What|Removed |Added CC||m.diehl at mpie dot de --- Comment #15

[Bug fortran/88412] Associate segmentation fault assigning to derived type

2018-12-08 Thread m.diehl at mpie dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88412 Martin Diehl changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug fortran/88412] New: Associate segmentation fault assigning to derived type

2018-12-07 Thread m.diehl at mpie dot de
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: m.diehl at mpie dot de Target Milestone: --- The following program fails with a segmentation fault with 8.2.1 20181127 but works with 8.2.1 20180831 program derivedType

[Bug fortran/87477] [meta-bug] [F03] issues concerning the ASSOCIATE statement

2018-12-07 Thread m.diehl at mpie dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87477 Bug 87477 depends on bug 87449, which changed state. Bug 87449 Summary: -Wunused-variable and associate https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87449 What|Removed |Added

[Bug fortran/87449] -Wunused-variable and associate

2018-12-07 Thread m.diehl at mpie dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87449 Martin Diehl changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/87707] actual argument to assumed type dummy argument (i.e. type(*)) cannot have type-bound procedures

2018-10-23 Thread m.diehl at mpie dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87707 Martin Diehl changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/87707] New: actual argument to assumed type dummy argument (i.e. type(*)) cannot have type-bound procedures

2018-10-23 Thread m.diehl at mpie dot de
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: m.diehl at mpie dot de Target Milestone: --- gfortran (confirmed for 6.3.0 and 8.2.1) rejects passing in a derived type to a subroutine with a type

[Bug fortran/87449] -Wunused-variable and associate

2018-09-28 Thread m.diehl at mpie dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87449 --- Comment #3 from Martin Diehl --- Dear Dominique, sorry for the duplicated reports, I always got an server error and assumed filing the report failed. best regards, Martin On Fri, 2018-09-28 at 17:06 +, dominiq at lps dot ens.fr wrote:

[Bug fortran/87459] New: -Wunused-variable: False positive for associated variables

2018-09-27 Thread m.diehl at mpie dot de
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: m.diehl at mpie dot de Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Warning messages about unused

[Bug fortran/87450] New: -Wunused-variable: false positive for associate

2018-09-27 Thread m.diehl at mpie dot de
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: m.diehl at mpie dot de Target Milestone: --- Target: x86_64-pc-linux-gnu Warning messages about unused variables (-Wunused-variable) appear wrongly when associate is used

[Bug fortran/87449] New: -Wunused-variable and associate

2018-09-27 Thread m.diehl at mpie dot de
Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: m.diehl at mpie dot de Target Milestone: --- Target: x86_64-pc-linux-gnu Warning messages about unused variables (-Wunused-variable) appear wrongly when associate is used (false positive

[Bug fortran/86277] New: Presence of optional arguments not recognized for zero length arrays

2018-06-21 Thread m.diehl at mpie dot de
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: m.diehl at mpie dot de Target Milestone: --- present(arg) does not recognize the presence of an optional argument 'arg' if 'arg' is an array of s

[Bug fortran/86033] New: Automated reallocation of empty string array fails with -fcheck=all

2018-06-02 Thread m.diehl at mpie dot de
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: m.diehl at mpie dot de Target Milestone: --- The following code fails at runtime with > Fortran runtime error: Different CHARACTER lengths (0/64) in array constructor if I comp

[Bug fortran/85816] New: nested spread fails with "Integer overflow in xmallocarray"

2018-05-17 Thread m.diehl at mpie dot de
ty: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: m.diehl at mpie dot de Target Milestone: --- I'm having trouble with nested spread statements on GCC 8.1.0 (Linux 4.16.8-1-ARCH). The same code runs on GCC 7.3.0 (Linux 4