Re: [PATCH] FIx up ANNOTATE_EXPR gimplification (PR middle-end/59706)

2014-01-17 Thread Richard Biener
Jakub Jelinek wrote: >Hi! > >When gimplifying ANNOTATE_EXPR, gimplify_expr used create_tmp_var_raw, >which unfortunately (among tons of other desirable things) doesn't set >DECL_CONTEXT on the temporary var and tree-nested.c then ICEs on it >because of that. The following patch fixes that. Unfor

[PATCH] FIx up ANNOTATE_EXPR gimplification (PR middle-end/59706)

2014-01-17 Thread Jakub Jelinek
Hi! When gimplifying ANNOTATE_EXPR, gimplify_expr used create_tmp_var_raw, which unfortunately (among tons of other desirable things) doesn't set DECL_CONTEXT on the temporary var and tree-nested.c then ICEs on it because of that. The following patch fixes that. Unfortunately, on the second (inv