Commit 74dc0d8c by Mike Stump

Fix recent small bug

From-SVN: r31671
parent 52bea684
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment