[Bug gcov-profile/60897] Mangled function name in warning during -fprofile-use phase of Firefox build
jamborm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 22 12:14:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60897
--- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Right. IPA-SRA however uses ipa_modify_formal_parameters in ipa-prop
to manipulate parameters which des not reset DECL_LANG_SPECIFIC. And
it probably should because this means it can currently probably
trigger some variant of PR 60002.
So, if it passes tests, would the following be OK for trunk and the
4.9 branch?
--- a/gcc/ipa-prop.c
+++ b/gcc/ipa-prop.c
@@ -3650,6 +3650,7 @@ ipa_modify_formal_parameters (tree fndecl,
ipa_parm_adjustment_vec adjustments)
TREE_TYPE (fndecl) = new_type;
DECL_VIRTUAL_P (fndecl) = 0;
+ DECL_LANG_SPECIFIC (fndecl) = NULL;
otypes.release ();
oparms.release ();
}
More information about the Gcc-bugs
mailing list