[Bug fortran/85042] New: Empty derived type allocation ICE

2018-03-22 Thread brichardson at structint dot com
Assignee: unassigned at gcc dot gnu.org Reporter: brichardson at structint dot com Target Milestone: --- Given an empty, abstract derived type, and an empty derived type which extends from it, trying to assign to an allocatable variable of the abstract class causes the compiler to

[Bug fortran/90068] New: Array Constructor Containing Function Call Leaks Memory

2019-04-12 Thread brichardson at structint dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: brichardson at structint dot com Target Milestone: --- It appears that without an intermediate value to save the result of the function call, the value returned by the function ends up being

[Bug fortran/90069] New: Polymorphic Return Type Memory Leak Without Intermediate Variable

2019-04-12 Thread brichardson at structint dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: brichardson at structint dot com Target Milestone: --- It appears that, if a function returns a polymorphic (i.e. class(thing)) variable, if the result is not assigned to a variable

[Bug fortran/90072] New: Polymorphic Dispatch to Polymophic Return Type Memory Leak

2019-04-12 Thread brichardson at structint dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: brichardson at structint dot com Target Milestone: --- It appears that trying to do polymorphic dispatch to a function that has a polymorphic return type leads to a memory leak. But, by

[Bug fortran/90076] New: Polymorphic Allocate on Assignment Memory Leak

2019-04-12 Thread brichardson at structint dot com
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: brichardson at structint dot com Target Milestone: --- Allocate on assignment for polymorphic scalars causes a memory leak. The following program and execution demonstrates the problem. program assignment_memory_leak

[Bug fortran/90069] Polymorphic Return Type Memory Leak Without Intermediate Variable

2019-04-15 Thread brichardson at structint dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90069 --- Comment #2 from Brad Richardson --- (In reply to Dominique d'Humieres from comment #1) > Confirmed from at least 4.8 up to trunk (9.0). Why is it not a duplicate of > pr90072? Because pr90072 occurs even with an intermediate variable.

[Bug fortran/85042] Empty derived type allocation ICE

2018-08-28 Thread brichardson at structint dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85042 Brad Richardson changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---