This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/65284] [5 Regression] ICE (segfault) on arm-linux-gnueabihf
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 03 Mar 2015 10:01:53 +0000
- Subject: [Bug c++/65284] [5 Regression] ICE (segfault) on arm-linux-gnueabihf
- Auto-submitted: auto-generated
- References: <bug-65284-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65284
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2015-03-03
CC| |rguenth at gcc dot gnu.org
Component|target |c++
Target Milestone|--- |5.0
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I get (on x86_64-linux):
./cc1plus -quiet t.ii -std=c++11
t.ii: In lambda function:
t.ii:50:7: error: using result of function returning 'void'
});
^
so assuming the testcase is valid this is a C++ rejects-valid bug now
(4.9 accepts it)?
and with a cross to arm:
> ./cc1plus -quiet -std=c++11 ../../trunk-g/gcc/t.ii -I include
../../trunk-g/gcc/t.ii: In lambda function:
../../trunk-g/gcc/t.ii:48:30: error: non-trivial conversion at assignment
.map([this](uint64_t childId) {
^
struct ParsedSchema
struct ParsedSchema *
<retval> = D.4929;
../../trunk-g/gcc/t.ii:48:30: internal compiler error: verify_gimple failed
0xf83713 verify_gimple_in_seq(gimple_statement_base*)
/space/rguenther/src/svn/trunk2/gcc/tree-cfg.c:4736
0xcb9d25 gimplify_body(tree_node*, bool)
do you have checking disabled?