This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Internal compiler error on runtime-selected array size
- From: "Manfred Schwarb" <manfred99 at gmx dot ch>
- To: Jonathan Dursi <ljdursi at cita dot utoronto dot ca>
- Cc: paulthomas2 at wanadoo dot fr,pinskia at physics dot uc dot edu,fortran at gcc dot gnu dot org
- Date: Thu, 2 Feb 2006 11:23:36 +0100 (MET)
- Subject: Re: Internal compiler error on runtime-selected array size
- References: <20060202061057.GA31502@cita.utoronto.ca>
> --- Ursprüngliche Nachricht ---
> Von: Jonathan Dursi <ljdursi@cita.utoronto.ca>
> An: Paul Thomas <paulthomas2@wanadoo.fr>
> Kopie: Andrew Pinski <pinskia@physics.uc.edu>, Fortran List
> <fortran@gcc.gnu.org>
> Betreff: Re: Internal compiler error on runtime-selected array size
> Datum: Thu, 2 Feb 2006 01:10:57 -0500
>
> On Thu, Feb 02, 2006 at 07:04:44AM +0100, Paul Thomas wrote:
> > Andrew and Jonathan,
> >
> > >This works on the mainline of GCC and I assume it also works on
> > >4.1 branch of GCC.
> >
> > It compiles fine on 4.0, 4.1 and 4.2.
>
> Ok; it broke on gcc version 4.0.2 20051125. I've pulled down
> a more recent version and will use that for now on.
>
Well, your
integer, dimension(nelements(indx)), intent(OUT) :: arrayvals
smells like my pet bug
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18271
i.e.
INTEGER,INTENT(IN):: IMAX
REAL:: AUX1(25000+INT(0.82*IMAX))
And indeed, it's gone!
4.2.0 20051203 crashes, 4.2.0 20060101 works
At FX's site there are no linux binaries for last year, so I can not
narrow it further.
I will update my PR with this information.
I will not close the PR, as it is invalid code.
thanks®ards,
Manfred
> - Jonathan
> --
> Jonathan Dursi
> ljdursi@cita.utoronto.ca
> http://www.cita.utoronto.ca/~ljdursi
>
--
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie