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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |14.0
            Summary|ICE: tree check: expected   |[12/13/14 Regression] ICE:
                   |array_type, have error_mark |tree check: expected
                   |in array_ref_low_bound, at  |array_type, have error_mark
                   |tree.cc                     |in array_ref_low_bound, at
                   |                            |tree.cc

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #2)
> Started with r12-3278-g823685221de986.

I figured that caused this issue. 

> it would be nice if the frontend wouldn't emit

If the C front-end had its own AST, then it would be easier but it does not.
Maybe we should not gimplify things if there was an error (from the front-end);
that might help.

Reply via email to