GCC proves an uninitialized variable must be 0 and doesn't warn about it
1–10 of 67 posts
Re: GCC proves an uninitialized variable must be 0 and doesn't warn about it
#2Re: GCC proves an uninitialized variable must be 0 and doesn't warn about it
#3This is a variation of an unfixed 2004 GCC bug. Clang detects the issue when the right warnings are enabled. Those warnings are disabled currently. A developer is auditing and fixing all such instances found by Clang so that they can reenable those warnings.
Re: GCC proves an uninitialized variable must be 0 and doesn't warn about it
#4Re: GCC proves an uninitialized variable must be 0 and doesn't warn about it
#5Unrelated, but it's interesting to see the "new" Linus: no cursing, and no calling people morons.
Re: GCC proves an uninitialized variable must be 0 and doesn't warn about it
#6Unrelated, but it's interesting to see the "new" Linus: no cursing, and no calling people morons.
Re: GCC proves an uninitialized variable must be 0 and doesn't warn about it
#7Unrelated, but it's interesting to see the "new" Linus: no cursing, and no calling people morons.
Re: GCC proves an uninitialized variable must be 0 and doesn't warn about it
#8To summarize various replies in the thread: This is a variation of an unfixed 2004 GCC bug. Clang detects the issue when the right warnings are enabled. Those warnings are disabled currently. A developer is auditing and fixing all such instances found by Clang so that they can reenable those warnings.
Re: GCC proves an uninitialized variable must be 0 and doesn't warn about it
#9It's not that GCC proves the uninitialized variable must be 0, it's just that CCP sets it to 0 and everything happens to work out in specific cases.
Re: GCC proves an uninitialized variable must be 0 and doesn't warn about it
#10Unrelated, but it's interesting to see the "new" Linus: no cursing, and no calling people morons.
New Linus? He is a guy who sends dozens of mails every month and has cursed in a few handpicked ones. That doesn't make him especially "cursy". I'd say he's about average.
The "actual" frequency of the outbursts is somewhat secondary to the perception of frequency. Every time Linus writes a profanity-laced rant, even if it's email number 83/175 for the day, that particular piece is preserved, archived, and passed around the internet for giggles, further reinforcing whatever pre-existing conception the person referencing the email is arguing for.