[Bug middle-end/79537] [5/6/7 Regression] ICE in gimplify_expr, at gimplify.c:12009

2017-02-20 Thread mpolacek at gcc dot gnu.org
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

[Bug middle-end/79537] [5/6/7 Regression] ICE in gimplify_expr, at gimplify.c:12009

2017-02-16 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79537 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug middle-end/79537] [5/6/7 Regression] ICE in gimplify_expr, at gimplify.c:12009

2017-02-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79537 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug middle-end/79537] [5/6/7 Regression] ICE in gimplify_expr, at gimplify.c:12009

2017-02-15 Thread mpolacek at gcc dot gnu.org
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

[Bug middle-end/79537] [5/6/7 Regression] ICE in gimplify_expr, at gimplify.c:12009

2017-02-15 Thread mpolacek at gcc dot gnu.org
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

[Bug middle-end/79537] [5/6/7 Regression] ICE in gimplify_expr, at gimplify.c:12009

2017-02-15 Thread mpolacek at gcc dot gnu.org
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

[Bug middle-end/79537] [5/6/7 Regression] ICE in gimplify_expr, at gimplify.c:12009

2017-02-15 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79537 --- Comment #2 from Marek Polacek --- Even r104500 ICEs so an ancient issue.

[Bug middle-end/79537] [5/6/7 Regression] ICE in gimplify_expr, at gimplify.c:12009

2017-02-15 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79537 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|