This is the mail archive of the gcc@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]

External or local SYMBOL_REF?


If I have an rtx x for which GET_CODE (x) == SYMBOL_REF, how do I
find out whether the symbol is external or local?

E.g.

extern int a; // external
static int b; // local
       int c; // local

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