public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/94153] New: internal compiler error: in cp_lexer_new_from_tokens, at cp/parser.c:700
@ 2020-03-12 11:26 v.barinov at samsung dot com
2020-03-12 12:40 ` [Bug c++/94153] " marxin at gcc dot gnu.org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: v.barinov at samsung dot com @ 2020-03-12 11:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94153
Bug ID: 94153
Summary: internal compiler error: in cp_lexer_new_from_tokens,
at cp/parser.c:700
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: v.barinov at samsung dot com
Target Milestone: ---
Created attachment 48023
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48023&action=edit
reduced reprocase
parser-ice.ii:2:3: internal compiler error: in cp_lexer_new_from_tokens, at
cp/parser.c:700
2 | a < class { b( {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
0x66471b cp_parser_push_lexer_for_tokens
/mnt/gcc/gcc/cp/parser.c:700
0x9d8ec5 cp_parser_late_parsing_for_member
/mnt/gcc/gcc/cp/parser.c:29776
0x9b73db cp_parser_class_specifier_1
/mnt/gcc/gcc/cp/parser.c:24085
0x9b8383 cp_parser_class_specifier
/mnt/gcc/gcc/cp/parser.c:24109
0x9b8383 cp_parser_type_specifier
/mnt/gcc/gcc/cp/parser.c:17666
0x9b940b cp_parser_decl_specifier_seq
/mnt/gcc/gcc/cp/parser.c:14314
0x9df435 cp_parser_single_declaration
/mnt/gcc/gcc/cp/parser.c:29291
0x9df7bc cp_parser_template_declaration_after_parameters
/mnt/gcc/gcc/cp/parser.c:28954
0x9dff10 cp_parser_explicit_template_declaration
/mnt/gcc/gcc/cp/parser.c:29220
0x9e2fb9 cp_parser_declaration
/mnt/gcc/gcc/cp/parser.c:13337
0x9e35ea cp_parser_translation_unit
/mnt/gcc/gcc/cp/parser.c:4731
0x9e35ea c_parse_file()
/mnt/gcc/gcc/cp/parser.c:43760
0xaf80ab c_common_parse_file()
/mnt/gcc/gcc/c-family/c-opts.c:1186
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/94153] internal compiler error: in cp_lexer_new_from_tokens, at cp/parser.c:700
2020-03-12 11:26 [Bug c++/94153] New: internal compiler error: in cp_lexer_new_from_tokens, at cp/parser.c:700 v.barinov at samsung dot com
@ 2020-03-12 12:40 ` marxin at gcc dot gnu.org
2020-03-12 12:47 ` [Bug c++/94153] [8/9/10 Regression] " jakub at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-03-12 12:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94153
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2020-03-12
Ever confirmed|0 |1
CC| |marxin at gcc dot gnu.org
Keywords| |ice-on-invalid-code
Status|UNCONFIRMED |NEW
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Well, it's ICE on invalid code which is very common case.
Was the original file a valid code?
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/94153] [8/9/10 Regression] internal compiler error: in cp_lexer_new_from_tokens, at cp/parser.c:700
2020-03-12 11:26 [Bug c++/94153] New: internal compiler error: in cp_lexer_new_from_tokens, at cp/parser.c:700 v.barinov at samsung dot com
2020-03-12 12:40 ` [Bug c++/94153] " marxin at gcc dot gnu.org
@ 2020-03-12 12:47 ` jakub at gcc dot gnu.org
2020-03-12 12:58 ` v.barinov at samsung dot com
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-03-12 12:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94153
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-invalid-code |error-recovery
Summary|internal compiler error: in |[8/9/10 Regression]
|cp_lexer_new_from_tokens, |internal compiler error: in
|at cp/parser.c:700 |cp_lexer_new_from_tokens,
| |at cp/parser.c:700
CC| |jakub at gcc dot gnu.org
Target Milestone|--- |8.5
Priority|P3 |P4
Last reconfirmed|2020-03-12 00:00:00 |
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
ICEs already in r10-7144-gfcc443b97e19d9c8a2d8ccdfa4cc20682165827e or in GCC
3.4, but GCC 3.3 rejected it only instead:
pr94153.C:2: error: syntax error before `{' token
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/94153] [8/9/10 Regression] internal compiler error: in cp_lexer_new_from_tokens, at cp/parser.c:700
2020-03-12 11:26 [Bug c++/94153] New: internal compiler error: in cp_lexer_new_from_tokens, at cp/parser.c:700 v.barinov at samsung dot com
2020-03-12 12:40 ` [Bug c++/94153] " marxin at gcc dot gnu.org
2020-03-12 12:47 ` [Bug c++/94153] [8/9/10 Regression] " jakub at gcc dot gnu.org
@ 2020-03-12 12:58 ` v.barinov at samsung dot com
2020-03-12 14:00 ` marxin at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: v.barinov at samsung dot com @ 2020-03-12 12:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94153
--- Comment #3 from Slava Barinov <v.barinov at samsung dot com> ---
(In reply to Martin Liška from comment #1)
> Well, it's ICE on invalid code which is very common case.
Hm. So no need to report them?
> Was the original file a valid code?
I've been reducing builtins-string.cc from chromium-81, but due to my mistake
in test for creduce, this bug was found.
Actual bug I wanted to report is being reduced now.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/94153] [8/9/10 Regression] internal compiler error: in cp_lexer_new_from_tokens, at cp/parser.c:700
2020-03-12 11:26 [Bug c++/94153] New: internal compiler error: in cp_lexer_new_from_tokens, at cp/parser.c:700 v.barinov at samsung dot com
` (2 preceding siblings ...)
2020-03-12 12:58 ` v.barinov at samsung dot com
@ 2020-03-12 14:00 ` marxin at gcc dot gnu.org
2021-05-14 9:53 ` [Bug c++/94153] [9/10/11/12 " jakub at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-03-12 14:00 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94153
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Slava Barinov from comment #3)
> (In reply to Martin Liška from comment #1)
> > Well, it's ICE on invalid code which is very common case.
> Hm. So no need to report them?
Well, we have a bazillion of such error recovery issues for C++.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/94153] [9/10/11/12 Regression] internal compiler error: in cp_lexer_new_from_tokens, at cp/parser.c:700
2020-03-12 11:26 [Bug c++/94153] New: internal compiler error: in cp_lexer_new_from_tokens, at cp/parser.c:700 v.barinov at samsung dot com
` (3 preceding siblings ...)
2020-03-12 14:00 ` marxin at gcc dot gnu.org
@ 2021-05-14 9:53 ` jakub at gcc dot gnu.org
2021-06-01 8:16 ` rguenth at gcc dot gnu.org
2021-12-29 0:24 ` pinskia at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-05-14 9:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94153
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|8.5 |9.4
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8 branch is being closed.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/94153] [9/10/11/12 Regression] internal compiler error: in cp_lexer_new_from_tokens, at cp/parser.c:700
2020-03-12 11:26 [Bug c++/94153] New: internal compiler error: in cp_lexer_new_from_tokens, at cp/parser.c:700 v.barinov at samsung dot com
` (4 preceding siblings ...)
2021-05-14 9:53 ` [Bug c++/94153] [9/10/11/12 " jakub at gcc dot gnu.org
@ 2021-06-01 8:16 ` rguenth at gcc dot gnu.org
2021-12-29 0:24 ` pinskia at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-01 8:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94153
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.4 |9.5
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9.4 is being released, retargeting bugs to GCC 9.5.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/94153] [9/10/11/12 Regression] internal compiler error: in cp_lexer_new_from_tokens, at cp/parser.c:700
2020-03-12 11:26 [Bug c++/94153] New: internal compiler error: in cp_lexer_new_from_tokens, at cp/parser.c:700 v.barinov at samsung dot com
` (5 preceding siblings ...)
2021-06-01 8:16 ` rguenth at gcc dot gnu.org
@ 2021-12-29 0:24 ` pinskia at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-29 0:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94153
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 39751.
*** This bug has been marked as a duplicate of bug 39751 ***
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2021-12-29 0:24 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-12 11:26 [Bug c++/94153] New: internal compiler error: in cp_lexer_new_from_tokens, at cp/parser.c:700 v.barinov at samsung dot com
2020-03-12 12:40 ` [Bug c++/94153] " marxin at gcc dot gnu.org
2020-03-12 12:47 ` [Bug c++/94153] [8/9/10 Regression] " jakub at gcc dot gnu.org
2020-03-12 12:58 ` v.barinov at samsung dot com
2020-03-12 14:00 ` marxin at gcc dot gnu.org
2021-05-14 9:53 ` [Bug c++/94153] [9/10/11/12 " jakub at gcc dot gnu.org
2021-06-01 8:16 ` rguenth at gcc dot gnu.org
2021-12-29 0:24 ` pinskia 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).