------- Comment #19 from manu at gcc dot gnu dot org 2008-08-18 14:09 ------- (In reply to comment #18) > This defect has been open nearly 4 years. Any hope of > actually getting a fix commited?
To be bluntly honest. No, do not expect a fix in the near/medium future. Not for GCC 4.4 for sure. CCP relies on this behaviour to optimize code, so we cannot disable it. Moving passes around (warning before CCP, warning before DCE) would just generate different false positives/negatives. This is a complex issue: http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings#problem_ccp Plus, no one is working or planning to work on this at the moment AFAIK. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501