From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31892 invoked by alias); 16 Apr 2013 15:41:55 -0000 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 Received: (qmail 31710 invoked by uid 48); 16 Apr 2013 15:41:52 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/56980] Misleading note Date: Tue, 16 Apr 2013 15:41: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-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: 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 X-SW-Source: 2013-04/txt/msg01550.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56980 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |guest at mailinator dot com --- Comment #5 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez 2013-04-16 15:41:51 UTC --- *** Bug 52825 has been marked as a duplicate of this bug. *** >>From gcc-bugs-return-420406-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 16 15:46:34 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11085 invoked by alias); 16 Apr 2013 15:46:34 -0000 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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10863 invoked by uid 48); 16 Apr 2013 15:46:31 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/53822] Diagnostic: spell out type in ambiguous call Date: Tue, 16 Apr 2013 15:46: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Last reconfirmed CC Ever Confirmed Message-ID: In-Reply-To: References: 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 X-SW-Source: 2013-04/txt/msg01551.txt.bz2 Content-length: 692 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53822 Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2013-04-16 CC| |manu at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #2 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez 2013-04-16 15:46:30 UTC --- We could say something like 'f(NT&) with [NT =3D unsigned]' like we do for templates. >>From gcc-bugs-return-420407-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 16 15:46:47 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12041 invoked by alias); 16 Apr 2013 15:46:47 -0000 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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11819 invoked by uid 48); 16 Apr 2013 15:46:44 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/56982] [4.8/4.9 Regression] Bad optimization with setjmp() Date: Tue, 16 Apr 2013 15:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.1 X-Bugzilla-Changed-Fields: Status Last reconfirmed CC Target Milestone Summary Ever Confirmed Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-04/txt/msg01552.txt.bz2 Content-length: 1524 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56982 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2013-04-16 CC| |jakub at gcc dot gnu.org Target Milestone|--- |4.8.1 Summary|Bad optimization with |[4.8/4.9 Regression] Bad |setjmp() |optimization with setjmp() Ever Confirmed|0 |1 --- Comment #2 from Jakub Jelinek 2013-04-16 15:46:43 UTC --- Also happens with -Os. Started with http://gcc.gnu.org/r190284 Eyeballing the difference between r190283 and r190284 -Os dumps, I see that *.copyrename4 is still the same appart from losing some SSA_NAME_VARs, but *.uncprop has one difference: - # n_13 = PHI <0(5), 1(6)> + # _13 = PHI <_3(5), 1(6)> The missing n is fine, but _3 instead of 0 there supposedly isn't. _3 is set before the setjmp call, while this PHI is after the returns-twice function, and while for non-zero _3 the code before setjmp exits early, so _3 should contain 0, perhaps while extending the lifetime of _3 over the returns twice function it should have added SSA_NAME_OCCURS_IN_ABNORMAL_PHI or give up on it. Richard, can you please have a look?