This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/38184] New: invariant RESHAPE not expanded if SOURCE is empty
- From: "mikael at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Nov 2008 20:53:55 -0000
- Subject: [Bug fortran/38184] New: invariant RESHAPE not expanded if SOURCE is empty
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
This is a clone of PR38135.
Reduced (a bit) testcase:
integer, parameter :: N = 3
integer A(N,N)
A(1:N,1:N)=reshape([integer::],[N,N],[1,2,2,2])
write(*,'(3i5)') A
end
--
Summary: invariant RESHAPE not expanded if SOURCE is empty
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mikael at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38184