https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85535
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paolo.carlini at oracle dot com --- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> --- Ah, Ok, I think I understand now. You mean, for our testsuite: DECL_REALLY_EXTERN (decl) && ((TREE_CODE (decl) != FUNCTION_DECL && !optimize) || (TREE_CODE (decl) == FUNCTION_DECL && !opt_for_fn (decl, optimize))) is always false. Then does that mean we have another bug, ie the condition is wrong, or more trivially that we aren't exercising the optimization?? Honza unfortunately didn't add any testcases at the time...