From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 214033851C39; Sun, 3 May 2020 16:16:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 214033851C39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1588522579; bh=CIops4zaCPn+MU395rHVOcr4Cb5AE7osJ28enrmqtsY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=lg7iKpi6AVzbE5E5e6OGSo4cDcxGJiNrrII1XjfOvBThrtw4i/JC/SmzKKJIBMROr p9JaIc02MekX38RsK857ektDQyiNc8SmkVziLN0jKPU1w/R04ZteZ8thrRevoMNWPA PNqn411Zw9/UuTofOSXw9ggUvB9hOuzd29rGFDeQ= From: "bug-apl at gnu dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/94905] Bogus warning -Werror=maybe-uninitialized Date: Sun, 03 May 2020 16:16:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bug-apl at gnu dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2020 16:16:19 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94905 --- Comment #5 from Dr. J=C3=BCrgen Sauermann --- Hi, above is one preprocessed source file for which the warning has occurred. g= ++ version was 11.0.0 (latest from github).=20 Compiled with: g++ -E -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -Werror -I/usr/include -I/usr/include/postgresql -rdynamic -g -O2 -MT apl-Bif_F12_FORMAT.o -MD -= MP -MF .deps/apl-Bif_F12_FORMAT.Tpo -c -o apl-Bif_F12_FORMAT.cxx Interestingly, if I compile the file apl-Bif_F12_FORMAT.cxx separately (with -Wall) then the warning does not show up. Not sure how I can create a testcase file other than preprocessing or minimizing it.=