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

Eli Friedman eli.friedman at gmail.com
Mon Sep 1 15:18:52 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?

-Eli



More information about the cfe-commits mailing list