public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/66786] New: [6 Regression] ICE: Segmentation fault
@ 2015-07-07 7:16 trippels at gcc dot gnu.org
2015-07-07 8:05 ` [Bug c++/66786] " rguenth at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-07-07 7:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66786
Bug ID: 66786
Summary: [6 Regression] ICE: Segmentation fault
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: trippels at gcc dot gnu.org
Target Milestone: ---
% cat strong_datatypes.ii
template <typename> auto list = [](auto... xs) { [=](auto f) { f(xs...); }; };
int main() { list<int>(0); }
% c++ -c strong_datatypes.ii
strong_datatypes.ii: In instantiation of ‘auto list<int>’:
strong_datatypes.ii:2:14: required from here
strong_datatypes.ii:1:26: error: use of ‘list<int>’ before deduction of ‘auto’
template <typename> auto list = [](auto... xs) { [=](auto f) { f(xs...); }; };
^
strong_datatypes.ii: In instantiation of ‘<lambda(auto:1 ...)> [with auto:1 =
{int}; <template-parameter-1-1> = int]’:
strong_datatypes.ii:2:25: required from here
strong_datatypes.ii:1:50: internal compiler error: Segmentation fault
template <typename> auto list = [](auto... xs) { [=](auto f) { f(xs...); }; };
^
0x10b5cbd3 crash_signal
../../gcc/gcc/toplev.c:360
0x10408140 contains_struct_check
../../gcc/gcc/tree.h:2971
0x10408140 build_lambda_object(tree_node*)
../../gcc/gcc/cp/lambda.c:92
0x102186c3 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool,
bool)
../../gcc/gcc/cp/pt.c:15821
0x101f752b tsubst_expr
../../gcc/gcc/cp/pt.c:14519
0x101f8053 tsubst_expr
../../gcc/gcc/cp/pt.c:13930
0x101f7047 tsubst_expr
../../gcc/gcc/cp/pt.c:13916
0x101f7ddb tsubst_expr
../../gcc/gcc/cp/pt.c:14102
0x101f7ddb tsubst_expr
../../gcc/gcc/cp/pt.c:14102
0x10234bdf instantiate_decl(tree_node*, int, bool)
../../gcc/gcc/cp/pt.c:20586
0x10292b3b mark_used(tree_node*, int)
../../gcc/gcc/cp/decl2.c:5087
0x10175747 build_over_call
../../gcc/gcc/cp/call.c:7502
0x101882df build_op_call_1
../../gcc/gcc/cp/call.c:4297
0x101882df build_op_call(tree_node*, vec<tree_node*, va_gc, vl_embed>**, int)
../../gcc/gcc/cp/call.c:4320
0x10374c03 finish_call_expr(tree_node*, vec<tree_node*, va_gc, vl_embed>**,
bool, bool, int)
../../gcc/gcc/cp/semantics.c:2409
0x102cff3f cp_parser_postfix_expression
../../gcc/gcc/cp/parser.c:6346
0x102d3a07 cp_parser_unary_expression
../../gcc/gcc/cp/parser.c:7410
0x102d4eef cp_parser_binary_expression
../../gcc/gcc/cp/parser.c:8148
0x102d595b cp_parser_assignment_expression
../../gcc/gcc/cp/parser.c:8405
0x102d9633 cp_parser_expression
../../gcc/gcc/cp/parser.c:8559
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.
Clang accepts the code.
>From gcc-bugs-return-491618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jul 07 07:39:01 2015
Return-Path: <gcc-bugs-return-491618-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 65309 invoked by alias); 7 Jul 2015 07:39:01 -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 59666 invoked by uid 48); 7 Jul 2015 07:38:57 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/66538] Parameter not in scope of generic lambda trailing decltype
Date: Tue, 07 Jul 2015 07:39: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: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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 cf_reconfirmed_on cc everconfirmed
Message-ID: <bug-66538-4-T8ligkXIP0@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66538-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66538-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-07/txt/msg00508.txt.bz2
Content-length: 654
https://gcc.gnu.org/bugzilla/show_bug.cgi?idf538
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-07-07
CC| |trippels at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
The ICE is dup of PR66533.
There are two other Boost.Hana related ICEs: PR66281 and PR66786.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-07 8:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-07 7:16 [Bug c++/66786] New: [6 Regression] ICE: Segmentation fault trippels at gcc dot gnu.org
2015-07-07 8:05 ` [Bug c++/66786] " rguenth at gcc dot gnu.org
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).