[Bug fortran/83763] New: PDT variable sees content deallocated if variable is passed as an input to a function, and the function result is assigned to that same variable

2018-01-09 Thread berke.durak at gmail dot com
Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: berke.durak at gmail dot com Target Milestone: --- % cat test_case.f90 module bar

[Bug fortran/83762] New: ICE on variable declaration with undefined PDT parameter

2018-01-09 Thread berke.durak at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: berke.durak at gmail dot com Target Milestone: --- % cat test_case2.f90 module bar implicit none type :: foo(n) integer, len :: n=10 end type foo contains subroutine main type

[Bug fortran/83747] New: Errors using the max intrinsic in a PDT length parameter expression for a function result

2018-01-08 Thread berke.durak at gmail dot com
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: berke.durak at gmail dot com Target Milestone: --- Found another one. When a length parameter for a function result is dynamically computed from argument

[Bug fortran/83746] New: Errors using the max intrinsic in a PDT length parameter expression for a function result

2018-01-08 Thread berke.durak at gmail dot com
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: berke.durak at gmail dot com Target Milestone: --- Found another one. When a length parameter for a function result is dynamically computed from argument

[Bug fortran/83731] PDT length parameter incorrectly rejected at run-time with -fcheck=bounds

2018-01-08 Thread berke.durak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83731 --- Comment #6 from Berke Durak --- (In reply to Paul Thomas from comment #3) > Hi Berke, > > The fix for this turns out to be so trivial that I will roll it in to the > patch for pr83611. > > I know that this must be frustrating but please kee

[Bug fortran/83731] New: PDT length parameter incorrectly rejected at run-time with -fcheck=bounds

2018-01-07 Thread berke.durak at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: berke.durak at gmail dot com Target Milestone: --- Using the nightly 20180107 trunk rev. 256317: % cat pdt.f90 module pdt_m implicit none type :: vec(k) integer

[Bug fortran/83567] New: Parametrized derived types: Segmentation fault when assigning a function return value

2017-12-23 Thread berke.durak at gmail dot com
Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: berke.durak at gmail dot com Target Milestone: --- Just wrote a small program to test the new parametrized derived types. Unfortunately I get runtime memory

[Bug fortran/79440] internal compiler error: in fold_convert_loc, at fold-const.c:2373

2017-05-11 Thread berke.durak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79440 Berke Durak changed: What|Removed |Added CC||berke.durak at gmail dot com --- Comment