This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/18017] New: -Winit-self should automatically turn on -Wuninitialized


The documentation clearly states that -Winit-self doesn't work without
-Wuninitialized.  I think it would be a lot better if it just automatically
turned on -Wuninitialized instead.  For example, compiling the example in bug
18016 with -Winit-self but not -Wuninitialized doesn't generate any warnings at
all, which is  as expected based on the documentation, but is still somewhat
counter-intuitive.

-- 
           Summary: -Winit-self should automatically turn on -Wuninitialized
           Product: gcc
           Version: 3.4.2
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ejb at ql dot org
                CC: ejb at ql dot org,gcc-bugs at gcc dot gnu dot org
 GCC build triplet: any
  GCC host triplet: any
GCC target triplet: any


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18017


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]