This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/79785] [5/6/7 Regression] ICE in gimplify_expr, at gimplify.c:11950
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 07 Mar 2017 18:14:35 +0000
- Subject: [Bug c++/79785] [5/6/7 Regression] ICE in gimplify_expr, at gimplify.c:11950
- Auto-submitted: auto-generated
- References: <bug-79785-4@http.gcc.gnu.org/bugzilla/>
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.