ICE in tree.c
Steve Kargl
sgk@troutmask.apl.washington.edu
Mon Jul 11 03:38:00 GMT 2005
On Sun, Jul 10, 2005 at 10:55:59PM -0400, Andrew Pinski wrote:
>
> On Jul 10, 2005, at 10:52 PM, Steve Kargl wrote:
>
> >I don't know who wants to look at this problem, but I've
> >run into
> >
> >kargl[217] make
> >gfc41 -O -march=athlon -pipe -c -I/home/kargl/work/41/mod FM.f90
> >FM.f90: In function 'fm_abs':
> >FM.f90:35812: internal compiler error: tree check: expected class
> >'type', have 'declaration' (var_decl) in build_array_type, at
> >tree.c:4845
> >Please submit a full bug report,
> >with preprocessed source if appropriate.
> >See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>
> Usually what this means is the front-end is passing the wrong
> tree to build_array_type, it looks like it is passing the decl and not
> the type of that decl. (Which means that there is a missing TREE_TYPE in
> the front-end).
>
Oh my! I combined the three files into 1 big file and everything
compiles fine. This could be a problem with writing and reading
modules.
--
Steve
More information about the Gcc
mailing list