[go: nahoru, domu]

Bug 24639 (Wuninitialized)

Summary: [meta-bug] bug to track all Wuninitialized issues
Product: gcc Reporter: Andrew Pinski <pinskia>
Component: middle-endAssignee: Not yet assigned to anyone <unassigned>
Status: NEW ---    
Severity: trivial CC: dimhen, fang, gcc-bugs, James.Juran, jeffreyalaw, manu, P.Schaffnit
Priority: P3 Keywords: diagnostic, meta-bug
Version: 4.1.0   
Target Milestone: ---   
URL: http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings
Host: Target:
Build: Known to work:
Known to fail: Last reconfirmed: 2007-07-09 08:47:37
Bug Depends on: 18501, 18635, 19430, 31279, 36823, 41953, 47386, 48829, 54554, 55496, 56574, 56670, 60488, 61677, 63446, 63943, 66459, 67194, 67196, 67872, 72826, 73550, 78081, 78391, 78394, 78398, 80681, 80824, 81674, 81714, 81809, 81958, 82090, 82101, 82601, 83382, 85563, 85872, 88175, 88897, 89697, 89723, 89976, 90043, 90710, 90844, 91442, 92002, 93181, 93432, 94953, 95594, 95681, 95825, 95848, 96047, 96300, 96564, 96629, 96988, 97108, 97353, 97858, 97931, 98049, 98405, 98406, 98900, 99768, 99919, 99944, 99945, 99959, 100047, 100073, 100115, 100126, 100215, 100417, 101674, 101768, 101770, 101793, 101799, 102070, 102088, 102192, 102196, 102329, 102381, 102631, 102887, 102996, 104060, 105237, 105423, 105616, 105749, 106008, 106155, 106511, 106541, 106992, 107138, 107140, 107287, 107290, 107663, 107743, 107751, 107838, 108230, 108402, 108466, 108467, 108667, 108906, 109418, 109448, 109530, 109550, 109561, 109714, 109720, 110670, 110743, 110896, 111123, 111240, 111397, 111489, 111944, 112546, 112637, 113111, 113987, 114253, 114360, 114592, 114675, 114789, 114952, 115700, 115827, 116026, 116090, 116213, 116214, 116220, 116221, 116222, 179, 2972, 5035, 7258, 10138, 10538, 12792, 13127, 13615, 13863, 14204, 15880, 16036, 16865, 17506, 17518, 18016, 18232, 19371, 19808, 19833, 20644, 20968, 21005, 21124, 21513, 21548, 21733, 21750, 22197, 22207, 22297, 22456, 23497, 23563, 23648, 24004, 24612, 24931, 27120, 27289, 29458, 30680, 31707, 31841, 32395, 32759, 33802, 34721, 34772, 34793, 35609, 36168, 36296, 36550, 36814, 38908, 38945, 39133, 39502, 39799, 39936, 40059, 40146, 40156, 40206, 40469, 40635, 40695, 40943, 41817, 41952, 42000, 42145, 42290, 42561, 43163, 43361, 43459, 44133, 44547, 45085, 45609, 47307, 48001, 48801, 49754, 49848, 50966, 51544, 52078, 52167, 52523, 53480, 53802, 53917, 54804, 55060, 55288, 55644, 55759, 55985, 56654, 56705, 56748, 57072, 57127, 57832, 58410, 58455, 58488, 58698, 59500, 59908, 59970, 60256, 60741, 61112, 61409, 61428, 61869, 63224, 63418, 63518, 63660, 63748, 65178, 65182, 65244, 67679, 68301, 68548, 69026, 69578, 70069, 70246, 70392, 70410, 70736, 70765, 70987, 70991, 71011, 71699, 71701, 71974, 74762, 74765, 78044, 78141, 78370, 78915, 78993, 79658, 79768, 80147, 80152, 80548, 80635, 80787, 81329, 81638, 81782, 81889, 81897, 81962, 81981, 82203, 82552, 82800, 82810, 82839, 82958, 83468, 84078, 84299, 84772, 85233, 85301, 85777, 85855, 86465, 86485, 87143, 87209, 87564, 87968, 88455, 88518, 88721, 89192, 89202, 89230, 89284, 89296, 89501, 89551, 89651, 89733, 90058, 90307, 90873, 90994, 91195, 91290, 91395, 91470, 91691, 91825, 92011, 92118, 92194, 92433, 92540, 92700, 92722, 93100, 94769, 94774, 94905, 94952, 95136, 95768, 95818, 96121, 96295, 96368, 96987, 97067, 97840, 98508, 98583, 98871, 99340, 99536, 99756, 99989, 100250, 100496, 100699, 101300, 101494, 101573, 101584, 101734, 101831, 101912, 102403, 102539, 102608, 102633, 102700, 102801, 103036, 103159, 103899, 104550, 105646, 105937, 106089, 106722, 106754, 106922, 107206, 107274, 107411, 107793, 107839, 107919, 108780, 109339, 109434, 109559, 109801, 110368, 110534, 110761, 110861, 111090, 111094, 111254, 112766, 112909, 113769, 115390, 115840    
Bug Blocks:    
Attachments: Proposed patch and new testcases

Description Andrew Pinski 2005-11-02 18:53:01 UTC
To get a better feeling for the issues which have been reported, this meta-bug should get the better feeling for them.
Comment 1 Andrew Pinski 2005-11-02 19:00:16 UTC
There are at least 19 bugs related to the uninit warnings.
Comment 2 Andrew Pinski 2005-11-02 19:01:45 UTC
Adding Jeff Law and Diego so they know what the bug numbers are.
Comment 3 Andrew Pinski 2005-11-02 19:17:16 UTC
Some more, this time closed ones.  There are many more.
Comment 4 Jeffrey A. Law 2005-11-09 00:02:55 UTC
Created attachment 10181 [details]
Proposed patch and new testcases

I'm not comfortable self-approving this patch; the option processing code is totally new to me and I have no idea if I got it right.  And while I believe the sense of -Wuninitialized is correct (no change in current behavior), I don't think we have reached a consensus on that issue.

I will note that after reviewing all the PRs, by far the most common complaint is false positives,  #2 is missing warnings, particularly for objects which have had their address taken, #3 is missing warnings in unreachable/dead code (which we can now detect with -Wuninitialized=2 using this patch).
Comment 5 Manuel López-Ibáñez 2007-03-06 15:09:16 UTC
Another one.
Comment 6 Manuel López-Ibáñez 2007-10-12 09:44:20 UTC
I am collecting all info about Wuninitialized issues and proposals to solve them here:

http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings

Feel free to comment and contribute. The Summer of Code passed (unfortunately, I didn't have enough time to succeed) but the project goes on.

Comment 7 Manuel López-Ibáñez 2008-08-18 16:42:43 UTC
Alias Wuninitialized