This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/45173] internal compiler error when calling reshape
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Aug 2010 18:43:52 -0000
- Subject: [Bug fortran/45173] internal compiler error when calling reshape
- References: <bug-45173-19518@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from dominiq at lps dot ens dot fr 2010-08-03 18:43 -------
Confirmed for gfortran 4.4.4. This has been fixed in 4.5.0 and trunk:
[macbook] f90/bug% gfc pr45173.f90
pr45173.f90:6.19:
A = reshape(B, S)
1
Error: 'shape' argument of 'reshape' intrinsic at (1) is empty
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45173