[Bug fortran/56477] [4.8 Regression] ICE on invalid with pointer assignment to function result

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 27 22:15:00 GMT 2013


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

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |ice-on-invalid-code
   Last reconfirmed|                            |2013-02-27
                 CC|                            |burnus at gcc dot gnu.org,
                   |                            |tkoenig at gcc dot gnu.org
     Ever Confirmed|0                           |1
            Summary|ICE on invalid with pointer |[4.8 Regression] ICE on
                   |assignment to function      |invalid with pointer
                   |result                      |assignment to function
                   |                            |result
   Target Milestone|---                         |4.8.0

--- Comment #1 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2013-02-27 22:14:33 UTC ---
The problem is in

       for (ns = rvalue->symtree->n.sym->ns;
        ns->proc_name && ns->proc_name->attr.flavor != FL_PROCEDURE;
        ns = ns->parent)

where value->symtree->n.sym->ns->parent is NULL.

Does not happen with 4.7 or 4.6.



More information about the Gcc-bugs mailing list