[Bug c++/88983] ICE in label_matches, at cp/constexpr.c:4035

2019-01-31 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88983 --- Comment #5 from Marek Polacek --- Author: mpolacek Date: Fri Feb 1 00:30:46 2019 New Revision: 268438 URL: https://gcc.gnu.org/viewcvs?rev=268438=gcc=rev Log: PR c++/88983 - ICE with switch in constexpr function. *

[Bug c++/88983] ICE in label_matches, at cp/constexpr.c:4035

2019-01-31 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88983 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/88983] ICE in label_matches, at cp/constexpr.c:4035

2019-01-31 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88983 --- Comment #4 from Marek Polacek --- I except to have a fix in a bit.

[Bug c++/88983] ICE in label_matches, at cp/constexpr.c:4035

2019-01-31 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88983 --- Comment #3 from Marek Polacek --- I think I see the problem: we're evaluating the body of the switch, and cond is "1" so we're jumping over everything until we find "case 1": if (1) { case 1:; return = 1; } else {

[Bug c++/88983] ICE in label_matches, at cp/constexpr.c:4035

2019-01-31 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88983 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/88983] ICE in label_matches, at cp/constexpr.c:4035

2019-01-31 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88983 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|