lkml.org 
[lkml]   [2008]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] sdhci: 'scratch' may be used uninitialized

    * Pierre Ossman <drzeus@drzeus.cx> wrote:

    > > Correct. Would you be interested in sending a patch for a
    > > (default-off) debug feature that allows the disabling of all the gcc
    > > annotations? That way we can do regular sweeps to determine whether
    > > old annotations are still relevant on latest and greatest GCC.
    >
    > How would you find the ones that are no longer needed though?

    ideally gcc should not emit _any_ bogus warning. Life is too short to
    comb through crappy warnings and to keep in mind which ones are relevant
    and which ones are not. compiler-intel.h does not make use of the
    annotations for example.

    > Perhaps we could make it so that uninitialized_var() itself emits a
    > warning. That way you could turn that option on and check that you
    > always have pairs of warnings.

    ok - when CONFIG_CC_DEBUG_ALLOW_WARNINGS=y - and then the work flow
    would be to go for single-occurance warnings and eliminate them (because
    their annotation is moot).

    Ingo


    \
     
     \ /
      Last update: 2008-10-06 10:29    [W:5.890 / U:0.196 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site