[Bug c++/79785] [5/6/7 Regression] ICE in gimplify_expr, at gimplify.c:11950

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 7 18:14:00 GMT 2017


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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot gnu.org

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
enum E {
  e1 = 0xffffffffffffffff,
  e2
} e = e2;

is enough to provoke the ICE.  The gimplifier gets "e = <<< error >>>" and
crashes at that error_mark.  It doesn't ICE with -fsyntax-only.


More information about the Gcc-bugs mailing list