From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7301 invoked by alias); 13 Nov 2012 14:21:05 -0000 Received: (qmail 7139 invoked by uid 48); 13 Nov 2012 14:20:09 -0000 From: "markus at trippelsdorf dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/55312] New: libbacktrace doesn't honor --disable-werror Date: Tue, 13 Nov 2012 14:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markus at trippelsdorf dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-11/txt/msg01153.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D55312 Bug #: 55312 Summary: libbacktrace doesn't honor --disable-werror Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned@gcc.gnu.org ReportedBy: markus@trippelsdorf.de When gcc is configured with "--disable-werror" and then build with: % make -j4 BOOT_CFLAGS=3D"-march=3Dnative -O3 -pipe" STAGE1_CFLAGS=3D"-marc= h=3Dnative -O3 -pipe" CFLAGS_FOR_TARGET=3D"-march=3Dnative -O3 -pipe" CXXFLAGS_FOR_TARGET=3D"-march=3Dnative -O3 -pipe" profiledbootstrap One gets: ... /home/markus/gcc/libbacktrace/dwarf.c: In function =E2=80=98build_address_m= ap=E2=80=99: /home/markus/gcc/libbacktrace/dwarf.c:1387:13: error: =E2=80=98val.u.string= =E2=80=99 may be used uninitialized in this function [-Werror=3Dmaybe-uninitialized] lineoff =3D val.u.uint; ... /home/markus/gcc/libbacktrace/dwarf.c: In function =E2=80=98read_referenced= _name=E2=80=99: /home/markus/gcc/libbacktrace/dwarf.c:2078:36: error: =E2=80=98val.u.string= =E2=80=99 may be used uninitialized in this function [-Werror=3Dmaybe-uninitialized] name =3D read_referenced_name (ddata, u, val.u.uint, ... checking ctype.h usability... /home/markus/gcc/libbacktrace/dwarf.c: In function =E2=80=98read_function_entry=E2=80=99: /home/markus/gcc/libbacktrace/dwarf.c:2329:22: error: =E2=80=98val.u.string= =E2=80=99 may be used uninitialized in this function [-Werror=3Dmaybe-uninitialized] function->name =3D val.u.string;