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]
Other format: [Raw text]

-fdump-go-spec option does not handle redefinitions


Hello!

This testfile:

#define aa 2
#undef aa
#define aa 3

does not generate correct output with -fdump-go-spec. The result is:

const _aa = 2
// undef _aa

One would expect:

const _aa = 2
// undef _aa
const _aa = 3

xgcc (GCC) 4.7.0 20111027 (experimental) [trunk revision 180567]

Uros.


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