ICE in operand_subword_force, at emit-rtl.c:1353
Daniel Franke
franke.daniel@gmail.com
Mon Sep 25 20:02:00 GMT 2006
On Monday 25 September 2006 21:46, Paul THOMAS wrote:
> > $> cat ice.f90
> > PROGRAM test_ice
> > CHARACTER(len=255), DIMENSION(:,:), ALLOCATABLE :: attrib
> >
> > ALLOCATE(attrib(3,2))
> > attrib = reshape((/ "x", "y", "z", to_string(1.0), to_string(2.0),
> > to_string(3.0) /), &
> > (/ 3, 2 /))
> > DEALLOCATE(attrib)
> >
> > CONTAINS
> > CHARACTER(32) FUNCTION to_string(x)
> > REAL, INTENT(in) :: x
> > WRITE(to_string, FMT="(F6.3)") x
> > END FUNCTION
> > END PROGRAM
> >
> > $> gfortran-4.2 g -Wall ice.f90
> > ice-2.f90: In function 'MAIN__':
> > ice-2.f90:6: internal compiler error: in operand_subword_force, at
> > emit-rtl.c:1353
> > Please submit a full bug report,
> I belive this to be one and the same as, or strongly related to PR18923 and
> possibly PR17741.
>
> The compiler gets into a dreadful mess when it finds beginnings and ends do
> not match or when it finds one without the other.
Paul, are you sure about this?
PRs 17741 (new) and 18923 (reopened) look more like this one:
http://gcc.gnu.org/ml/fortran/2006-09/msg00337.html
Anyway, I never can find dups in gcc's bugzilla, the summaries are far to good
(at least from my vague point of view). That's the reason why I post the ICEs
here instead of opening PRs ...
Regards
Daniel
More information about the Fortran
mailing list