-
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 | 2100 |
| Resolution | FIXED |
| Resolved on | Mar 12, 2010 00:57 |
| Version | unspecified |
| OS | All |
| CC | @efriedma-quic,@nunoplopes |
Extended Description
Codegen crashes on this:
static int a[10];
static int a[] = { 1, 2, 3 };
because sema is saying the type of the second 'a' is int[3] instead of int[10]. Apparently sema should merge the previous int[10] into the array type before analyzing the initializer.
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"