-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"
Description
Bugzilla Link | 3671 |
Resolution | FIXED |
Resolved on | Mar 12, 2010 00:57 |
Version | unspecified |
OS | Linux |
Attachments | Reduced testcase. |
CC | @DougGregor,@efriedma-quic,@pwo |
Extended Description
As Eli Friedman requested in http://lists.cs.uiuc.edu/pipermail/cfe-dev/2009-February/004474.html reporting it here.
Here is a code causing problem:
struct __gconv_step_data {};
typedef struct __gconv_info
{
void * dumb;
extension struct __gconv_step_data __data [];
} *__gconv_t;
typedef union
{
struct __gconv_info __cd;
struct
{
struct __gconv_info __cd;
struct __gconv_step_data __data;
} __combined;
} _G_iconv_t;
reduced.c:15:25: error: variable sized type '__cd' must be at end of struct or class
struct __gconv_info __cd;
union _G_iconv_t definition is in <_G_config.h>, struct _gconv_info in <gconv.h>
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"