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] | |
> > + /* Do not track global variables. */ > > + if (GET_CODE (XEXP (decl_rtl, 0)) == SYMBOL_REF > > + || GET_CODE (XEXP (decl_rtl, 0)) == CONST) > > + return 0; > > A more Correct test is TREE_STATIC (decl). Thank you! Josef
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |