2017-02-28 Richard Biener <rguenther@suse.de>
PR tree-optimization/79732
* tree-inline.c (expand_call_inline): Do not shadow var.
* gcc.dg/torture/pr79732.c: New testcase.
From-SVN: r245773
+2017-02-28 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/79732
+ * tree-inline.c (expand_call_inline): Do not shadow var.
+
2017-02-28 Richard Biener <rguenther@suse.de>
PR tree-optimization/79723
+2017-02-28 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/79732
+ * gcc.dg/torture/pr79732.c: New testcase.
+
2017-02-28 Richard Biener <rguenther@suse.de>
PR tree-optimization/79723
--- /dev/null
+/* { dg-do link } */
+
+int bar () __attribute__ ((alias ("foo")));
+void foo () { }
+int main () { return bar(); }
{
if (!var)
{
- tree var = create_tmp_reg_fn (cfun, TREE_TYPE (name), NULL);
+ var = create_tmp_reg_fn (cfun, TREE_TYPE (name), NULL);
SET_SSA_NAME_VAR_OR_IDENTIFIER (name, var);
}
/* Otherwise make this variable undefined. */