Summary: | GCC throws incorrect "may be used uninitialized" warnings | ||
---|---|---|---|
Product: | gcc | Reporter: | William Witt <william> |
Component: | c | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | manu |
Priority: | P3 | ||
Version: | 4.5.0 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: |
Description
William Witt
2010-11-27 15:12:06 UTC
As only constant initializers are involved CCP optimizes based on undefinedness of uninitialized variables. (In reply to comment #1) > As only constant initializers are involved CCP optimizes based on undefinedness > of uninitialized variables. Ergo, bug 18501. *** This bug has been marked as a duplicate of bug 18501 *** |