[cfe-commits] r55607 - in /cfe/trunk: lib/Sema/SemaDecl.cpp test/Sema/array-init.c

Nuno Lopes nunoplopes at sapo.pt
Mon Sep 1 15:26:30 PDT 2008


> On Mon, Sep 1, 2008 at 2:22 PM, Eli Friedman <eli.friedman at gmail.com> 
> wrote:
>>> +
>>> +// ptrs are constant
>>> +struct soft_segment_descriptor {
>>> +       int ssd_base;
>>> +};
>>> +static int dblfault_tss;
>>> +
>>> +union uniao { int ola; } xpto[1];
>>> +
>>> +struct soft_segment_descriptor gdt_segs[] = {
>>> +       {(int) &dblfault_tss},
>>> +       { (int)xpto},
>>> +};
>>
>> Thank you for the testcase. However, the fix isn't correct.  I'll file
>> a bug momentarily for this issue, and I'll generally try to be
>> responsive for issues like this.
>
> Actually, this testcase already passes with trunk clang... what
> exactly is the patch trying to fix?

very weird.. Or I'm crazy or I dunno what happened. But yesterday I saw that 
test failing.
But if it passes, well maybe it can be readded to the test suite..

Nuno 




More information about the cfe-commits mailing list