public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/66533] New: ICE: in dependent_type_p, at cp/pt.c:21073
@ 2015-06-14 8:23 trippels at gcc dot gnu.org
2015-06-18 9:05 ` [Bug c++/66533] [C++14] " mpolacek at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-06-14 8:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66533
Bug ID: 66533
Summary: ICE: in dependent_type_p, at cp/pt.c:21073
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: ---
% echo "auto a([](auto) -> decltype((void)0) {});" | g++ -c -x c++ -std=c++14 -
<stdin>: In lambda function:
<stdin>:1:20: internal compiler error: in dependent_type_p, at cp/pt.c:21073
0x101e01e3 dependent_type_p(tree_node*)
../../gcc/gcc/cp/pt.c:21073
0x101a48a7 require_complete_types_for_parms
../../gcc/gcc/cp/decl.c:11123
0x101a48a7 check_function_type
../../gcc/gcc/cp/decl.c:13272
0x101a48a7 start_preparsed_function(tree_node*, tree_node*, int)
../../gcc/gcc/cp/decl.c:13446
0x102bf6a3 cp_parser_lambda_body
../../gcc/gcc/cp/parser.c:9498
0x102bf6a3 cp_parser_lambda_expression
../../gcc/gcc/cp/parser.c:9060
0x102bf6a3 cp_parser_primary_expression
../../gcc/gcc/cp/parser.c:4453
0x102ce157 cp_parser_postfix_expression
../../gcc/gcc/cp/parser.c:6131
0x102d19c7 cp_parser_unary_expression
../../gcc/gcc/cp/parser.c:7412
0x102d2eaf cp_parser_binary_expression
../../gcc/gcc/cp/parser.c:8147
0x102d391b cp_parser_assignment_expression
../../gcc/gcc/cp/parser.c:8404
0x102d3fff cp_parser_constant_expression
../../gcc/gcc/cp/parser.c:8650
0x102d55d7 cp_parser_parenthesized_expression_list
../../gcc/gcc/cp/parser.c:6880
0x102d68ab cp_parser_initializer
../../gcc/gcc/cp/parser.c:19310
0x102f7edb cp_parser_init_declarator
../../gcc/gcc/cp/parser.c:17263
0x102fad43 cp_parser_simple_declaration
../../gcc/gcc/cp/parser.c:11608
0x102f26e7 cp_parser_block_declaration
../../gcc/gcc/cp/parser.c:11482
0x102ffc8f cp_parser_declaration
../../gcc/gcc/cp/parser.c:11379
0x102fdc2f cp_parser_declaration_seq_opt
../../gcc/gcc/cp/parser.c:11265
0x102fe013 cp_parser_translation_unit
../../gcc/gcc/cp/parser.c:4100
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/66533] [C++14] ICE: in dependent_type_p, at cp/pt.c:21073
2015-06-14 8:23 [Bug c++/66533] New: ICE: in dependent_type_p, at cp/pt.c:21073 trippels at gcc dot gnu.org
@ 2015-06-18 9:05 ` mpolacek at gcc dot gnu.org
2015-06-18 9:09 ` mpolacek at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-06-18 9:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66533
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-06-18
CC| |mpolacek at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed. ICEs since 4.9, was rejected with 4.8.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/66533] [C++14] ICE: in dependent_type_p, at cp/pt.c:21073
2015-06-14 8:23 [Bug c++/66533] New: ICE: in dependent_type_p, at cp/pt.c:21073 trippels at gcc dot gnu.org
2015-06-18 9:05 ` [Bug c++/66533] [C++14] " mpolacek at gcc dot gnu.org
@ 2015-06-18 9:09 ` mpolacek at gcc dot gnu.org
2015-08-06 16:33 ` jason at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-06-18 9:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66533
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
ICE started with r208426.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/66533] [C++14] ICE: in dependent_type_p, at cp/pt.c:21073
2015-06-14 8:23 [Bug c++/66533] New: ICE: in dependent_type_p, at cp/pt.c:21073 trippels at gcc dot gnu.org
2015-06-18 9:05 ` [Bug c++/66533] [C++14] " mpolacek at gcc dot gnu.org
2015-06-18 9:09 ` mpolacek at gcc dot gnu.org
@ 2015-08-06 16:33 ` jason at gcc dot gnu.org
2015-08-06 16:37 ` jason at gcc dot gnu.org
2015-08-06 16:48 ` jason at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu.org @ 2015-08-06 16:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66533
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Aug 6 16:33:14 2015
New Revision: 226684
URL: https://gcc.gnu.org/viewcvs?rev=226684&root=gcc&view=rev
Log:
PR c++/66533
* parser.c (cp_parser_primary_expression): Don't skip to the end
of the statement if we're parsing tentatively.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-ice3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/66533] [C++14] ICE: in dependent_type_p, at cp/pt.c:21073
2015-06-14 8:23 [Bug c++/66533] New: ICE: in dependent_type_p, at cp/pt.c:21073 trippels at gcc dot gnu.org
` (2 preceding siblings ...)
2015-08-06 16:33 ` jason at gcc dot gnu.org
@ 2015-08-06 16:37 ` jason at gcc dot gnu.org
2015-08-06 16:48 ` jason at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu.org @ 2015-08-06 16:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66533
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Aug 6 16:36:58 2015
New Revision: 226685
URL: https://gcc.gnu.org/viewcvs?rev=226685&root=gcc&view=rev
Log:
PR c++/66533
* parser.c (cp_parser_primary_expression): Don't skip to the end
of the statement if we're parsing tentatively.
Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp1y/lambda-generic-ice3.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/parser.c
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/66533] [C++14] ICE: in dependent_type_p, at cp/pt.c:21073
2015-06-14 8:23 [Bug c++/66533] New: ICE: in dependent_type_p, at cp/pt.c:21073 trippels at gcc dot gnu.org
` (3 preceding siblings ...)
2015-08-06 16:37 ` jason at gcc dot gnu.org
@ 2015-08-06 16:48 ` jason at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu.org @ 2015-08-06 16:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66533
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
Target Milestone|--- |5.3
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-08-06 16:48 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-14 8:23 [Bug c++/66533] New: ICE: in dependent_type_p, at cp/pt.c:21073 trippels at gcc dot gnu.org
2015-06-18 9:05 ` [Bug c++/66533] [C++14] " mpolacek at gcc dot gnu.org
2015-06-18 9:09 ` mpolacek at gcc dot gnu.org
2015-08-06 16:33 ` jason at gcc dot gnu.org
2015-08-06 16:37 ` jason at gcc dot gnu.org
2015-08-06 16:48 ` jason 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).