public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/101730] New: [10/11/12 Regression] ICE in cp_parser_ctor_initializer_opt_and_function_body, at cp/parser.c:24549
@ 2021-08-02 18:43 gscfq@t-online.de
  2021-08-02 18:46 ` [Bug c++/101730] " mpolacek at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: gscfq@t-online.de @ 2021-08-02 18:43 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101730
           Summary: [10/11/12 Regression] ICE in
                    cp_parser_ctor_initializer_opt_and_function_body, at
                    cp/parser.c:24549
           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 20200509 and 20200613 :


$ cat z1.cc
struct A {
  A() {};
  void foo (auto arg) requires({});
};


$ g++-12-20210801 -c z1.cc -std=c++20
z1.cc:3:31: error: statement-expressions are not allowed outside functions nor
in template-argument lists
    3 |   void foo (auto arg) requires({});
      |                               ^
z1.cc:2:7: internal compiler error: Segmentation fault
    2 |   A() {};
      |       ^
0x103188f crash_signal
        ../../gcc/toplev.c:328
0x8de62c cp_parser_ctor_initializer_opt_and_function_body
        ../../gcc/cp/parser.c:24549
0x8df37a cp_parser_function_definition_after_declarator
        ../../gcc/cp/parser.c:30658
0x8df85c cp_parser_late_parsing_for_member
        ../../gcc/cp/parser.c:31565
0x8b557a cp_parser_class_specifier_1
        ../../gcc/cp/parser.c:25651
0x8b6a22 cp_parser_class_specifier
        ../../gcc/cp/parser.c:25675
0x8b6a22 cp_parser_type_specifier
        ../../gcc/cp/parser.c:18909
0x8b76f6 cp_parser_decl_specifier_seq
        ../../gcc/cp/parser.c:15510
0x8b8381 cp_parser_simple_declaration
        ../../gcc/cp/parser.c:14766
0x8e728e cp_parser_declaration
        ../../gcc/cp/parser.c:14592
0x8e7eb5 cp_parser_translation_unit
        ../../gcc/cp/parser.c:4960
0x8e7eb5 c_parse_file()
        ../../gcc/cp/parser.c:46179
0xa674d2 c_common_parse_file()
        ../../gcc/c-family/c-opts.c:1223

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

* [Bug c++/101730] [10/11/12 Regression] ICE in cp_parser_ctor_initializer_opt_and_function_body, at cp/parser.c:24549
  2021-08-02 18:43 [Bug c++/101730] New: [10/11/12 Regression] ICE in cp_parser_ctor_initializer_opt_and_function_body, at cp/parser.c:24549 gscfq@t-online.de
@ 2021-08-02 18:46 ` mpolacek at gcc dot gnu.org
  2021-08-03  7:41 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2021-08-02 18:46 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |10.4
   Last reconfirmed|                            |2021-08-02
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.

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

* [Bug c++/101730] [10/11/12 Regression] ICE in cp_parser_ctor_initializer_opt_and_function_body, at cp/parser.c:24549
  2021-08-02 18:43 [Bug c++/101730] New: [10/11/12 Regression] ICE in cp_parser_ctor_initializer_opt_and_function_body, at cp/parser.c:24549 gscfq@t-online.de
  2021-08-02 18:46 ` [Bug c++/101730] " mpolacek at gcc dot gnu.org
@ 2021-08-03  7:41 ` rguenth at gcc dot gnu.org
  2021-08-03 11:46 ` [Bug c++/101730] [10/11/12 Regression] ICE in cp_parser_ctor_initializer_opt_and_function_body, at cp/parser.c:24549 since r11-723-g020d86db8896f088 marxin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-08-03  7:41 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4

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

* [Bug c++/101730] [10/11/12 Regression] ICE in cp_parser_ctor_initializer_opt_and_function_body, at cp/parser.c:24549 since r11-723-g020d86db8896f088
  2021-08-02 18:43 [Bug c++/101730] New: [10/11/12 Regression] ICE in cp_parser_ctor_initializer_opt_and_function_body, at cp/parser.c:24549 gscfq@t-online.de
  2021-08-02 18:46 ` [Bug c++/101730] " mpolacek at gcc dot gnu.org
  2021-08-03  7:41 ` rguenth at gcc dot gnu.org
@ 2021-08-03 11:46 ` marxin at gcc dot gnu.org
  2022-06-28 10:45 ` [Bug c++/101730] [10/11/12/13 " jakub at gcc dot gnu.org
  2023-07-07 10:40 ` [Bug c++/101730] [11/12/13/14 " rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-08-03 11:46 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |ppalka at gcc dot gnu.org
            Summary|[10/11/12 Regression] ICE   |[10/11/12 Regression] ICE
                   |in                          |in
                   |cp_parser_ctor_initializer_ |cp_parser_ctor_initializer_
                   |opt_and_function_body, at   |opt_and_function_body, at
                   |cp/parser.c:24549           |cp/parser.c:24549 since
                   |                            |r11-723-g020d86db8896f088

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r11-723-g020d86db8896f088.

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

* [Bug c++/101730] [10/11/12/13 Regression] ICE in cp_parser_ctor_initializer_opt_and_function_body, at cp/parser.c:24549 since r11-723-g020d86db8896f088
  2021-08-02 18:43 [Bug c++/101730] New: [10/11/12 Regression] ICE in cp_parser_ctor_initializer_opt_and_function_body, at cp/parser.c:24549 gscfq@t-online.de
                   ` (2 preceding siblings ...)
  2021-08-03 11:46 ` [Bug c++/101730] [10/11/12 Regression] ICE in cp_parser_ctor_initializer_opt_and_function_body, at cp/parser.c:24549 since r11-723-g020d86db8896f088 marxin at gcc dot gnu.org
@ 2022-06-28 10:45 ` jakub at gcc dot gnu.org
  2023-07-07 10:40 ` [Bug c++/101730] [11/12/13/14 " rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:45 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 10.4 is being released, retargeting bugs to GCC 10.5.

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

* [Bug c++/101730] [11/12/13/14 Regression] ICE in cp_parser_ctor_initializer_opt_and_function_body, at cp/parser.c:24549 since r11-723-g020d86db8896f088
  2021-08-02 18:43 [Bug c++/101730] New: [10/11/12 Regression] ICE in cp_parser_ctor_initializer_opt_and_function_body, at cp/parser.c:24549 gscfq@t-online.de
                   ` (3 preceding siblings ...)
  2022-06-28 10:45 ` [Bug c++/101730] [10/11/12/13 " jakub at gcc dot gnu.org
@ 2023-07-07 10:40 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 10:40 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.5                        |11.5

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10 branch is being closed.

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

end of thread, other threads:[~2023-07-07 10:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-02 18:43 [Bug c++/101730] New: [10/11/12 Regression] ICE in cp_parser_ctor_initializer_opt_and_function_body, at cp/parser.c:24549 gscfq@t-online.de
2021-08-02 18:46 ` [Bug c++/101730] " mpolacek at gcc dot gnu.org
2021-08-03  7:41 ` rguenth at gcc dot gnu.org
2021-08-03 11:46 ` [Bug c++/101730] [10/11/12 Regression] ICE in cp_parser_ctor_initializer_opt_and_function_body, at cp/parser.c:24549 since r11-723-g020d86db8896f088 marxin at gcc dot gnu.org
2022-06-28 10:45 ` [Bug c++/101730] [10/11/12/13 " jakub at gcc dot gnu.org
2023-07-07 10:40 ` [Bug c++/101730] [11/12/13/14 " 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).