-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:static analyzerduplicateResolved as duplicateResolved as duplicate
Description
| Bugzilla Link | 3458 |
| Resolution | DUPLICATE |
| Resolved on | Feb 17, 2011 22:06 |
| Version | unspecified |
| OS | MacOS X |
| Attachments | zip of crashes directory |
| Reporter | LLVM Bugzilla Contributor |
| CC | @nunoplopes |
Extended Description
scan-build fails on locally declared labels:
void test(void)
{
label out;
out: return;
}
/usr/local/checker-0.147/scan-build -v gcc -c clang3.c
scan-build: Emitting reports for this run to '/var/folders/+T/+TiBcl+bE-44SggZya2FFk+++TI/-Tmp-//scan-build-2009-02-02-13'.
clang3.c:3:3: error: expected expression
label out;
^
1 diagnostic generated.
scan-build: 0 bugs found.
scan-build: The analyzer crashed on some source files.
I have a large source tree depending heavily on macros using those labels,
thats why I qualified it as "blocker".
Kind regards, Bjoern
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:static analyzerduplicateResolved as duplicateResolved as duplicate