public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/57379] [4.9 Regression]: Segfault in invalidate_any_buried_refs (x=0x0) at ../../gcc-svn/trunk/gcc/gcse.c:3850 Date: Mon, 10 Jun 2013 18:46:00 -0000 [thread overview] Message-ID: <bug-57379-4-QhMXqNG337@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-57379-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57379 Uroš Bizjak <ubizjak at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Target Milestone|4.9.0 |4.7.4 --- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> --- Fixed in mainline and backported to 4.8.1 and 4.7.4 branches. >From gcc-bugs-return-424128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 10 18:52:10 2013 Return-Path: <gcc-bugs-return-424128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20941 invoked by alias); 10 Jun 2013 18:52:10 -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 20882 invoked by uid 48); 10 Jun 2013 18:52:00 -0000 From: "anass.lasram at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/57575] lvalue function accepted as an rvalue Date: Mon, 10 Jun 2013 18:52: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.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: anass.lasram at gmail dot com 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 resolution Message-ID: <bug-57575-4-5XDwmwnRh1@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-57575-4@http.gcc.gnu.org/bugzilla/> References: <bug-57575-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-06/txt/msg00507.txt.bz2 Content-length: 1100 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57575 Anass Lasram <anass.lasram at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Anass Lasram <anass.lasram at gmail dot com> --- (In reply to Daniel Krügler from comment #1) > Your assumptions are mistaken. In C++ it is valid to bind a function value > to an rvalue reference of that function type. It is only so, that binding to > an lvalue reference is preferred. > > In other words, the following is valid as well: > > float f() { return 0.f; } > float (&&r)(void) = f; > > See for example [over.ics.ref] p3 (emphasis mine): > > "Except for an implicit object parameter, for which see 13.3.1, a standard > conversion sequence cannot be formed if it requires [..] binding an rvalue > reference to an lvalue **other than a function lvalue**." Thanks Daniel for the rectification. >From gcc-bugs-return-424129-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 10 19:19:51 2013 Return-Path: <gcc-bugs-return-424129-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4360 invoked by alias); 10 Jun 2013 19:19:51 -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 3599 invoked by uid 48); 10 Jun 2013 19:19:43 -0000 From: "drussel at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/57580] New: Repeated _Pragma message directives in macro causes problems Date: Mon, 10 Jun 2013 19:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 4.7.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: drussel at gmail dot com 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-57580-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-06/txt/msg00508.txt.bz2 Content-length: 831 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57580 Bug ID: 57580 Summary: Repeated _Pragma message directives in macro causes problems Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: drussel at gmail dot com Input: #define BROKEN \ _Pragma("message(\"message0\")") \ _Pragma("message(\"message1\")") BROKEN Output: gcc -c test.cpp test.cpp:5:2: error: stray ‘#’ in program test.cpp:5:27: note: #pragma message: message0 test.cpp:5:3: error: ‘pragma’ does not name a type gcc 4.6.3 and clang are both happy with the code. >From gcc-bugs-return-424130-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 10 19:34:21 2013 Return-Path: <gcc-bugs-return-424130-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20639 invoked by alias); 10 Jun 2013 19:34:20 -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 20582 invoked by uid 48); 10 Jun 2013 19:34:16 -0000 From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug regression/57551] [4.9 Regression]: g++.dg/ext/visibility/anon6.C scan-assembler 1BIiE1cE Date: Mon, 10 Jun 2013 19:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: regression X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: <bug-57551-4-heth2LosGW@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-57551-4@http.gcc.gnu.org/bugzilla/> References: <bug-57551-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-06/txt/msg00509.txt.bz2 Content-length: 437 http://gcc.gnu.org/bugzilla/show_bug.cgi?idW551 Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|jason at gcc dot gnu.org |unassigned at gcc dot gnu.org --- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> --- Reassigning since Honza has been working on this.
prev parent reply other threads:[~2013-06-10 18:46 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-05-22 19:42 [Bug rtl-optimization/57379] New: " ubizjak at gmail dot com 2013-05-22 22:11 ` [Bug target/57379] " ubizjak at gmail dot com 2013-05-23 8:41 ` rguenth at gcc dot gnu.org 2013-06-10 18:46 ` ubizjak at gmail dot com [this message]
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-57379-4-QhMXqNG337@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).