gcc -std=gnu99 -Wall -Werror -O -c -o linux-kernel-modules.o
linux-kernel-modules.i
cc1: warnings being treated as errors
linux-kernel-modules.c: In function dwfl_linux_kernel_report_kernel:
linux-kernel-modules.c:894:1: error: SR.243 may be used uninitialized in this
function
linux-kernel-modules.c:894:1: note: SR.243 was declared here
linux-kernel-modules.c:894:1: error: SR.242 may be used uninitialized in this
function
linux-kernel-modules.c:894:1: note: SR.242 was declared here
--
Summary: [4.5 Regression] Bogus warning about symbols generated
by gcc being used uninitialized
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bero at arklinux dot org
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43347