On Thu, Oct 27, 2011 at 9:29 PM, Ian Lance Taylor wrote:
>> 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
>>
Uros Bizjak writes:
> 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
Did this come up in a real situation?
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.