This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] PR middle-end/14289: TREE_STATIC global reg vars
On Wed, Mar 03, 2004 at 09:25:08PM -0800, Zack Weinberg wrote:
> why do we have both TREE_STATIC and TREE_PUBLIC?
STATIC means !automatic, i.e. lives in memory outside any
stack frame. PUBLIC means it is visible to other translation
units, i.e. has .global applied to it at the assembly level.
Not sure what makes most sense for a global register variable;