https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79537
--- Comment #7 from Marek Polacek ---
Author: mpolacek
Date: Mon Feb 20 15:05:53 2017
New Revision: 245604
URL: https://gcc.gnu.org/viewcvs?rev=245604&root=gcc&view=rev
Log:
PR middle-end/79537
* gimplify.c (gimplify_expr): Handl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79537
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79537
Richard Biener changed:
What|Removed |Added
Priority|P3 |P2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79537
--- Comment #5 from Marek Polacek ---
This
void fn1 ()
{
L: goto *&&L;
}
doesn't ICE because we handle the goto here
11406 case GOTO_EXPR:
11407 /* If the target is not LABEL, then it is a computed jump
11408 an
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79537
--- Comment #4 from Marek Polacek ---
I wonder if something like this would be appropriate:
--- a/gcc/gimplify.c
+++ b/gcc/gimplify.c
@@ -12003,6 +12003,10 @@ gimplify_expr (tree *expr_p, gimple_seq *pre_p,
gimple_seq *post_p,
g
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79537
--- Comment #3 from Marek Polacek ---
gimplify_expr has code to handle taking the address of a label:
11610 case LABEL_DECL:
11611 /* We get here when taking the address of a label. We mark
11612 the label as "forc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79537
--- Comment #2 from Marek Polacek ---
Even r104500 ICEs so an ancient issue.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79537
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|