diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 23917cd739190005f1a58f533de5575e6bf344de..fb3c181c530be042127c7a1b101b7b4a385d09ef 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -3547,7 +3547,7 @@ finish_file () /* When we call finish_function in expand_body, it will try to reset DECL_NOT_REALLY_EXTERN so we save and restore it here. */ - saved_not_really = DECL_NOT_REALLY_EXTERN (decl); + saved_not_really_extern = DECL_NOT_REALLY_EXTERN (decl); /* Generate RTL for this function now that we know we need it. */ expand_body (decl);