Summary: | lack of warning when initializing a class member from an uninitialized variable | ||
---|---|---|---|
Product: | gcc | Reporter: | Imre Pentek <pentek.imre> |
Component: | c++ | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | fang, gcc-bugs, manu, myselfhimself, pawel_sikora, pentek.imre |
Priority: | P3 | ||
Version: | 4.1.2 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | ||
Attachments: | any.cpp |
Description
Imre Pentek
2008-07-17 19:15:04 UTC
Created attachment 15925 [details]
any.cpp
To fix this testcase we would need to fix a few of the -Wuninitialized issues, since -Wuninitialized does not work without optimisation, we don't handle VOPs (no -Wunitialized for pointers then), and -Winit-self is broken for some cases. Nonetheless, fixing PR19808 would be a start. *** This bug has been marked as a duplicate of 19808 *** |