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 c++/79785] [5/6/7 Regression] ICE in gimplify_expr, at gimplify.c:11950


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.

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