public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "zeccav at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/58566] [c++11] ICE with invalid expression in lambda body
Date: Fri, 25 Sep 2015 20:40:00 -0000	[thread overview]
Message-ID: <bug-58566-4-zxpsbUhvkA@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-58566-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58566

Vittorio Zecca <zeccav at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zeccav at gmail dot com

--- Comment #2 from Vittorio Zecca <zeccav at gmail dot com> ---
Still fails on 6.0.0 trunk

~/gcc-trunk/bin/g++ -S p1.C -std=c++11
p1.C: In lambda function:
p1.C:5:25: error: invalid use of member function (did you forget the ‘()’ ?)
     [this]{ return foo; };
                         ^
p1.C:5:25: internal compiler error: in check_return_expr, at cp/typeck.c:8609
0x729126 check_return_expr(tree_node*, bool*)
        ../../gcc/gcc/cp/typeck.c:8609
0x7663fe finish_return_stmt(tree_node*)
        ../../gcc/gcc/cp/semantics.c:873
0x70d5c4 cp_parser_lambda_body
        ../../gcc/gcc/cp/parser.c:9636
0x70d5c4 cp_parser_lambda_expression
        ../../gcc/gcc/cp/parser.c:9141
0x6df257 cp_parser_primary_expression
        ../../gcc/gcc/cp/parser.c:4510
0x6eb64b cp_parser_postfix_expression
        ../../gcc/gcc/cp/parser.c:6201
0x6f00a9 cp_parser_unary_expression
        ../../gcc/gcc/cp/parser.c:7486
0x6f0ce7 cp_parser_binary_expression
        ../../gcc/gcc/cp/parser.c:8223
0x6f13ef cp_parser_assignment_expression
        ../../gcc/gcc/cp/parser.c:8481
0x6f9b61 cp_parser_expression
        ../../gcc/gcc/cp/parser.c:8635
0x6fb6c6 cp_parser_expression_statement
        ../../gcc/gcc/cp/parser.c:10049
0x706ae5 cp_parser_statement
        ../../gcc/gcc/cp/parser.c:9900
0x7076a2 cp_parser_statement_seq_opt
        ../../gcc/gcc/cp/parser.c:10172
0x70780b cp_parser_compound_statement
        ../../gcc/gcc/cp/parser.c:10126
0x707a1b cp_parser_function_body
        ../../gcc/gcc/cp/parser.c:19785
0x707a1b cp_parser_ctor_initializer_opt_and_function_body
        ../../gcc/gcc/cp/parser.c:19821
0x708899 cp_parser_function_definition_after_declarator
        ../../gcc/gcc/cp/parser.c:24428
0x70c45c cp_parser_late_parsing_for_member
        ../../gcc/gcc/cp/parser.c:25232
0x6e7cc1 cp_parser_class_specifier_1
        ../../gcc/gcc/cp/parser.c:20645
0x6e7cc1 cp_parser_class_specifier
        ../../gcc/gcc/cp/parser.c:20671
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
>From gcc-bugs-return-498061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Sep 25 21:06:47 2015
Return-Path: <gcc-bugs-return-498061-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65330 invoked by alias); 25 Sep 2015 21:06:47 -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 65242 invoked by uid 55); 25 Sep 2015 21:06:42 -0000
From: "vmakarov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/61578] [4.9 regression] Code size increase for ARM thumb compared to 4.8.x when compiling with -Os
Date: Fri, 25 Sep 2015 21:06:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: vmakarov at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-61578-4-I8l75pQ8H7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61578-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61578-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: 2015-09/txt/msg02039.txt.bz2
Content-length: 516

https://gcc.gnu.org/bugzilla/show_bug.cgi?ida578

--- Comment #33 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
Author: vmakarov
Date: Fri Sep 25 21:06:08 2015
New Revision: 228153

URL: https://gcc.gnu.org/viewcvs?rev"8153&root=gcc&view=rev
Log:
2015-09-25  Vladimir Makarov  <vmakarov@redhat.com>

        PR target/61578
        * lra-constarints.c (match_reload): Check presence of the input pseudo
        in the output pseudo.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lra-constraints.c


  parent reply	other threads:[~2015-09-25 20:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-28 19:35 [Bug c++/58566] New: [c++0x] " reichelt at gcc dot gnu.org
2013-09-28 19:37 ` [Bug c++/58566] [c++11] " paolo.carlini at oracle dot com
2015-09-25 20:40 ` zeccav at gmail dot com [this message]
2015-10-11 17:05 ` ville.voutilainen at gmail dot com
2015-10-11 17:30 ` ville.voutilainen at gmail dot com
2015-10-12  8:55 ` ville at gcc dot gnu.org
2015-10-12  8:56 ` ville.voutilainen at gmail dot com

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-58566-4-zxpsbUhvkA@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: link
Be 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).