ICE in tree.c

Andrew Pinski pinskia@physics.uc.edu
Mon Jul 11 02:56:00 GMT 2005


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).


Thanks,
Andrew Pinski



More information about the Gcc mailing list