public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/102506] New: [10/11/12 Regression] ICE in splice_late_return_type, at cp/pt.c:29946
@ 2021-09-27 19:55 gscfq@t-online.de
  2021-09-27 22:14 ` [Bug c++/102506] " pinskia at gcc dot gnu.org
  2021-09-27 22:16 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: gscfq@t-online.de @ 2021-09-27 19:55 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102506
           Summary: [10/11/12 Regression] ICE in splice_late_return_type,
                    at cp/pt.c:29946
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Changed between 20200209 and 20200216 :
(possibly related to pr101051)


$ cat z1.cc
class A { operator auto*() -> int; };


$ cat z2.cc
class { operator auto*() -> int; };


$ g++-12-20210926 -c z1.cc
z1.cc:1:31: internal compiler error: in splice_late_return_type, at
cp/pt.c:29946
    1 | class A { operator auto*() -> int; };
      |                               ^~~
0x8ceb0c splice_late_return_type(tree_node*, tree_node*)
        ../../gcc/cp/pt.c:29946
0x7df7c9 grokdeclarator(cp_declarator const*, cp_decl_specifier_seq*,
decl_context, int, tree_node**)
        ../../gcc/cp/decl.c:12664
0x7f98d4 grokfield(cp_declarator const*, cp_decl_specifier_seq*, tree_node*,
bool, tree_node*, tree_node*)
        ../../gcc/cp/decl2.c:849
0x8b35e9 cp_parser_member_declaration
        ../../gcc/cp/parser.c:27241
0x88988e cp_parser_member_specification_opt
        ../../gcc/cp/parser.c:26656
0x88988e cp_parser_class_specifier_1
        ../../gcc/cp/parser.c:25726
0x88b810 cp_parser_class_specifier
        ../../gcc/cp/parser.c:26043
0x88b810 cp_parser_type_specifier
        ../../gcc/cp/parser.c:19211
0x88c306 cp_parser_decl_specifier_seq
        ../../gcc/cp/parser.c:15766
0x88ceb1 cp_parser_simple_declaration
        ../../gcc/cp/parser.c:15014
0x8b517f cp_parser_declaration
        ../../gcc/cp/parser.c:14827
0x8b5c0b cp_parser_translation_unit
        ../../gcc/cp/parser.c:4987
0x8b5c0b c_parse_file()
        ../../gcc/cp/parser.c:47769
0x987052 c_common_parse_file()
        ../../gcc/c-family/c-opts.c:1236

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/102506] [10/11/12 Regression] ICE in splice_late_return_type, at cp/pt.c:29946
  2021-09-27 19:55 [Bug c++/102506] New: [10/11/12 Regression] ICE in splice_late_return_type, at cp/pt.c:29946 gscfq@t-online.de
@ 2021-09-27 22:14 ` pinskia at gcc dot gnu.org
  2021-09-27 22:16 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-27 22:14 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |10.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/102506] [10/11/12 Regression] ICE in splice_late_return_type, at cp/pt.c:29946
  2021-09-27 19:55 [Bug c++/102506] New: [10/11/12 Regression] ICE in splice_late_return_type, at cp/pt.c:29946 gscfq@t-online.de
  2021-09-27 22:14 ` [Bug c++/102506] " pinskia at gcc dot gnu.org
@ 2021-09-27 22:16 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-27 22:16 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to G. Steinmetz from comment #0)
> Changed between 20200209 and 20200216 :
> (possibly related to pr101051)

Same underlaying cause.

*** This bug has been marked as a duplicate of bug 101051 ***

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-27 22:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-27 19:55 [Bug c++/102506] New: [10/11/12 Regression] ICE in splice_late_return_type, at cp/pt.c:29946 gscfq@t-online.de
2021-09-27 22:14 ` [Bug c++/102506] " pinskia at gcc dot gnu.org
2021-09-27 22:16 ` 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).