Fix recent small bug
From-SVN: r31671
This commit is contained in:
parent
52bea68432
commit
74dc0d8cab
1 changed files with 3 additions and 1 deletions
|
@ -3938,7 +3938,9 @@ pushdecl (x)
|
|||
if (oldlocal)
|
||||
{
|
||||
tree d = oldlocal;
|
||||
while (oldlocal && DECL_DEAD_FOR_LOCAL (oldlocal))
|
||||
while (oldlocal
|
||||
&& TREE_CODE (oldlocal) == VAR_DECL
|
||||
&& DECL_DEAD_FOR_LOCAL (oldlocal))
|
||||
{
|
||||
oldlocal = DECL_SHADOWED_FOR_VAR (oldlocal);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue