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
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
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
: 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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53389
--- Comment #2 from Stephan Kramer
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 a lot of
unnecessary refactoring.
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.
Classification:
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