https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106511

            Bug ID: 106511
           Summary: [13 Regression] New -Werror=maybe-uninitialized since
                    r13-1268-g8c99e307b20c502e
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: aldyh at gcc dot gnu.org
  Target Milestone: ---

Created attachment 53404
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53404&action=edit
test-case

Knowing the warning has a significant false-positive rate, but still, it may be
an interesting test-case. It's reduced from xen package:

$ gcc bunzip.i -Werror=maybe-uninitialized -O1
bunzip2.c: In function ‘get_next_block’:
bunzip2.c:261:27: error: ‘length’ may be used uninitialized
[-Werror=maybe-uninitialized]
bunzip2.c:224:17: note: ‘length’ declared here
cc1: some warnings being treated as errors

Reply via email to