http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56674



Tobias Burnus <burnus at gcc dot gnu.org> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

           Keywords|                            |error-recovery,

                   |                            |ice-on-invalid-code

                 CC|                            |burnus at gcc dot gnu.org



--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-03-21 
14:46:48 UTC ---

Some debugging seems to indicate that it is due to the implementation of the

constructor, i.e. DT name == generic name.



The problem is that for

  iface->sym

"sym" contains undefined memory (presumably created and later freed), which

fails for iface->sym->name.



"iface" is:

resolve.c:      for (iface = sym->generic; iface; iface = iface->next)

and sym->name is "realspace_grid_input_type".



Thus, it seems as if the DT has been deleted but not the entry in the generic

list.

Reply via email to