[Bug fortran/53389] New: memory leak when assigning array function result to allocatable array, where one of its supplied arguments is itself an array function result.

2012-05-17 Thread stephan.kramer at imperial dot ac.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53389 Bug #: 53389 Summary: memory leak when assigning array function result to allocatable array, where one of its supplied arguments is itself an array function result.

[Bug fortran/53389] [4.6/4.7/4.8 Regression] -frealloc-lhs: memory leak when assigning array function result to allocatable array, where one of its supplied arguments is itself an array function resul

2012-05-18 Thread stephan.kramer at imperial dot ac.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53389 --- Comment #2 from Stephan Kramer stephan.kramer at imperial dot ac.uk 2012-05-18 15:27:54 UTC --- (In reply to comment #1) Confirmed. Workaround is to use -fno-realloc-lhs Excellent. Thanks for the suggested workaround. That'll save us

[Bug fortran/57798] New: Incorrect handling of sum over first dimension of a product of automatic arrays

2013-07-03 Thread stephan.kramer at imperial dot ac.uk
: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: stephan.kramer at imperial dot ac.uk The test code below results in a segfault evaluating the sum() in the print statement. This is compiling with gfortran 4.8.1 (4.8.1

[Bug fortran/49693] New: Spurious unused-variable warnings for COMMON block module variables.

2011-07-09 Thread stephan.kramer at imperial dot ac.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49693 Summary: Spurious unused-variable warnings for COMMON block module variables. Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/85750] New: Default initialization of derived type array missing

2018-05-11 Thread stephan.kramer at imperial dot ac.uk
Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: stephan.kramer at imperial dot ac.uk Target Milestone: --- In The following program, the derived type array that is returned by make_list does not have its components initialized. module bar implicit none type

[Bug fortran/85938] New: Spurious assert failure for matmul with reshaped array

2018-05-26 Thread stephan.kramer at imperial dot ac.uk
Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: stephan.kramer at imperial dot ac.uk Target Milestone: --- The following program program foo real, dimension(9) :: A real, dimension(3) :: b integer :: n = 3 A = 1.0 b = 1.0 print *, matmul(reshape

[Bug libfortran/85975] New: Incorrect size for spread array

2018-05-29 Thread stephan.kramer at imperial dot ac.uk
Assignee: unassigned at gcc dot gnu.org Reporter: stephan.kramer at imperial dot ac.uk Target Milestone: --- With the following program program foo implicit none call bar(2, 3, 5, 7) contains subroutine bar(k, l, m, n) integer, intent(in) :: k, l, m, n real