public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "manu at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/43361] missing uninitialized warning without optimization (loop representation) Date: Mon, 21 Oct 2013 12:08:00 -0000 [thread overview] Message-ID: <bug-43361-4-kizzXeY9WT@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-43361-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43361 Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nocannedmeat at gmail dot com --- Comment #6 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- *** Bug 58823 has been marked as a duplicate of this bug. *** >From gcc-bugs-return-432347-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 12:08:08 2013 Return-Path: <gcc-bugs-return-432347-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30453 invoked by alias); 21 Oct 2013 12:08:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30380 invoked by uid 48); 21 Oct 2013 12:08:04 -0000 From: "manu at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/58823] Uninitialized variable warning is missing Date: Mon, 21 Oct 2013 12:08:00 -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: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: RESOLVED 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: bug_status cc resolution Message-ID: <bug-58823-4-9RK7jJlGAT@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-58823-4@http.gcc.gnu.org/bugzilla/> References: <bug-58823-4@http.gcc.gnu.org/bugzilla/> 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-SW-Source: 2013-10/txt/msg01491.txt.bz2 Content-length: 655 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58823 Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |manu at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- You need to enable optimization (-O1) to get this warning. *** This bug has been marked as a duplicate of bug 43361 *** >From gcc-bugs-return-432349-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 21 12:08:08 2013 Return-Path: <gcc-bugs-return-432349-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30540 invoked by alias); 21 Oct 2013 12:08:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30373 invoked by uid 48); 21 Oct 2013 12:08:03 -0000 From: "joerg.richter@pdv-fs.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/58825] New: endless loop compiling nested bind expression Date: Mon, 21 Oct 2013 12:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 4.8.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joerg.richter@pdv-fs.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-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: <bug-58825-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-10/txt/msg01493.txt.bz2 Content-length: 845 http://gcc.gnu.org/bugzilla/show_bug.cgi?idX825 Bug ID: 58825 Summary: endless loop compiling nested bind expression Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: joerg.richter@pdv-fs.de g++ -std=c++11 -x c++ -c - <<EOF #include <functional> using namespace std; struct Win { void setMini( bool ); bool isMini(); }; bool neg( bool val ); void foo( Win* w ) { function<void()> a = bind( &Win::setMini, w, bind( neg, bind( &Win::isMini, w ) ) ); } EOF #################### Works with GCC 4.7.3 IMHO there are two bugs. One in libstdc++ that valid code is rejected. The other one that the error reporting does not stop.
next prev parent reply other threads:[~2013-10-21 12:08 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-43361-4@http.gcc.gnu.org/bugzilla/> 2011-09-28 22:54 ` paolo.carlini at oracle dot com 2013-10-21 12:08 ` manu at gcc dot gnu.org [this message] 2021-03-29 17:19 ` [Bug tree-optimization/43361] missing uninitialized warning without optimization (-O0) (PHI in always_executed basic block) msebor at gcc dot gnu.org 2021-03-30 7:10 ` rguenth at gcc dot gnu.org 2022-08-29 13:25 ` rguenth at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-43361-4-kizzXeY9WT@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).