This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [LTO][PATCH] Check for defintions in prevailing DECLs


Diego Novillo wrote:
Jason, Mark, is there a special meaning for a TREE_STATIC function
decl to also have DECL_EXTERNAL set?

In C++, we leave DECL_EXTERNAL set on functions which may or may not be emitted in the current translation unit until we decide to emit them, at which point the flag is cleared. As I recall, this was necessary to get the necessary assemble_external calls for functions we don't emit but do use.


Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]