[lkml]   [2009]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: TRACE_BRANCH_PROFILING breaks gcc warnings

On Wed, 2009-04-15 at 00:28 +0200, Johannes Berg wrote:
> 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.
> :(

This has been mentioned before, and I've asked about sending a patch
that would prevent TRACE_BRANCH_PROFILING from being selected with an

It is easy to do. I could make it a selection and not a boolean and it
will not select it as default, even for allyes/modconfig


-- Steve

 \ /
  Last update: 2009-04-15 00:35    [W:0.032 / U:7.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site