This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
-fdump-go-spec option does not handle redefinitions
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: gcc at gcc dot gnu dot org, gofrontend-dev at googlegroups dot com
- Date: Thu, 27 Oct 2011 20:29:38 +0200
- Subject: -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.