This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/69217] [6 Regression] ICE at var-tracking.c:5038 Segmentation fault


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69217

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2016-01-11
     Ever confirmed|0                           |1

--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> While I should get round to fixing the gimplify stage to conform, I think
> the middle-end should do something other than SEGV when this happens.
> 
> e.g:
> 
>   if (TYPE_FIELDS (type) == NULL_TREE
>       || DECL_CHAIN (TYPE_FIELDS (type)) == NULL_TREE)
>     return false;

Yes, that's the correct thing to do, please test it and post the patch on the
gcc-patches@ list once done.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]