This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [fortran, patch] PR 21881, issue a fatal error instead of an ICE
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: FX <fxcoudert at gmail dot com>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Tue, 8 Nov 2011 20:29:41 -0800
- Subject: Re: [fortran, patch] PR 21881, issue a fatal error instead of an ICE
- References: <E3897ED4-615F-4F5F-BC8F-E2B741F44FFA@gmail.com>
On Tue, Nov 08, 2011 at 10:16:27AM +0100, FX wrote:
> PR21881 is about cases like this:
>
> > type t
> > integer i001(268435456)
> > end type t
> > type(t), allocatable :: x(:)
>
>
> where (on 32-bit systems) the array in the derived type is too large for us to handle (the array descriptor redesign might make the problem go away altogether, but that's not for now AFAIU). So, the attached patch simply turns the ICE into a fatal error. The error being fatal, it doesn't trigger double errors as far as I could check.
>
> I'm not adding a testcase, though I could if you think that's necessary.
>
> Regtested on x86_64-linux, OK to commit to trunk?
OK.
--
Steve