[Bug fortran/38471] [4.3/4.4 Regression] ICE with subreference pointer where pointer is a DUMMY argument
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Dec 10 18:27:00 GMT 2008
------- Comment #3 from burnus at gcc dot gnu dot org 2008-12-10 18:25 -------
OK. I found it, though I'm not sure yet how to solve it best (maybe something
else needs to be moved up as well?) - and I won't have time to work on this the
next day(s?).
gfc_get_symbol_decl (gfc_symbol * sym)
[...]
if ((sym->attr.dummy && ! sym->attr.function) || (sym->attr.result && byref))
{
// We enter here as the POINTER is a DUMMY
[...]
return sym->backend_decl;
}
[...]
if (sym->attr.subref_array_pointer)
{
tree span;
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.3/4.4 Regression] ICE |[4.3/4.4 Regression] ICE
|with subreference pointer |with subreference pointer
| |where pointer is a DUMMY
| |argument
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38471
More information about the Gcc-bugs
mailing list