mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* TRACE_BRANCH_PROFILING breaks gcc warnings
@ 2009-04-14 22:28 Johannes Berg
  2009-04-14 22:31 ` Steven Rostedt
  0 siblings, 1 reply; 5+ messages in thread
From: Johannes Berg @ 2009-04-14 22:28 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: LKML, Steven Rostedt

[-- Attachment #1: Type: text/plain, Size: 277 bytes --]

With TRACE_BRANCH_PROFILING enabled you get "dummy may be used
uninitialised" with code like the following (and gcc 4.3.3):

void *dummy, *c;

if (a && (dummy = b()))
	c = dummy;

Therefore, allyesconfig has become useless for looking at warnings.

:(

johannes


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-04-15  8:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-14 22:28 TRACE_BRANCH_PROFILING breaks gcc warnings Johannes Berg
2009-04-14 22:31 ` Steven Rostedt
2009-04-15  7:37   ` Ingo Molnar
2009-04-15  7:46     ` Sam Ravnborg
2009-04-15  8:12       ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome