re PR middle-end/79732 (ICE in set_ssa_default_def, at tree-dfa.c:327)
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
This commit is contained in:
parent
c7d97b2846
commit
dd3f45609c
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
5
gcc/testsuite/gcc.dg/torture/pr79732.c
Normal file
5
gcc/testsuite/gcc.dg/torture/pr79732.c
Normal file
@ -0,0 +1,5 @@
|
||||
/* { dg-do link } */
|
||||
|
||||
int bar () __attribute__ ((alias ("foo")));
|
||||
void foo () { }
|
||||
int main () { return bar(); }
|
@ -4782,7 +4782,7 @@ expand_call_inline (basic_block bb, gimple *stmt, copy_body_data *id)
|
||||
{
|
||||
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. */
|
||||
|
Loading…
Reference in New Issue
Block a user