[Bug middle-end/22028] [4.0/4.1 Regression] ICE after invalid struct declaration

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Jun 12 00:10:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-12 00:10 -------
Confirmed, caused by:

2005-06-01  Jakub Jelinek  <jakub@redhat.com>

        PR c/21536
        PR c/20760
        * gimplify.c (gimplify_decl_expr): Call gimplify_type_sizes
        on variable sizes types if a decl is a pointer to a VLA.
        (gimplify_type_sizes): Handle POINTER_TYPE and REFERENCE_TYPE.
        Call gimplify_type_sizes on aggregate fields.  Prevent infinite
        recursion.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
          Component|c                           |middle-end
     Ever Confirmed|                            |1
      Known to fail|                            |4.0.1 4.1.0
      Known to work|                            |4.0.0
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-12 00:10:15
               date|                            |
            Summary|ICE after invalid struct    |[4.0/4.1 Regression] ICE
                   |declaration                 |after invalid struct
                   |                            |declaration
   Target Milestone|---                         |4.0.1


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



More information about the Gcc-bugs mailing list