public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/107198] New: [13 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752
@ 2022-10-10  8:29 asolokha at gmx dot com
  2022-10-10  9:23 ` [Bug c++/107198] " rguenth at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: asolokha at gmx dot com @ 2022-10-10  8:29 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107198
           Summary: [13 Regression] ICE in cp_gimplify_expr, at
                    cp/cp-gimplify.cc:752
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

g++ 13.0.0 20221009 snapshot (g:e95e91eccd022a4a3a86da2749809fbad9afd20e) ICEs
when compiling the following testcase, reduced from
gcc/testsuite/g++.dg/eh/aggregate1.C, w/ -fno-exceptions:

struct A {
  A() { throw 0; }
  A(int i) { throw i; }
  A(const A&) { throw 10; }
};

void try_idx (int i)
{
  int t = 10;
  try {
    struct X {
      A e1[2], e2;
    }
    x2[3] = { { 1, 2, 3 }, { 4, 5, 6 } };
  } catch (int x) { t = x; }
}

% g++-13 -fno-exceptions -c bqn7qvfj.C
bqn7qvfj.C: In constructor 'A::A()':
bqn7qvfj.C:2:15: error: exception handling disabled, use '-fexceptions' to
enable
    2 |   A() { throw 0; }
      |               ^
bqn7qvfj.C: In function 'void try_idx(int)':
bqn7qvfj.C:15:25: error: 'x' was not declared in this scope
   15 |   } catch (int x) { t = x; }
      |                         ^
bqn7qvfj.C:14:40: internal compiler error: in cp_gimplify_expr, at
cp/cp-gimplify.cc:752
   14 |     x2[3] = { { 1, 2, 3 }, { 4, 5, 6 } };
      |                                        ^
0x6b0a60 cp_gimplify_expr(tree_node**, gimple**, gimple**)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221009/work/gcc-13-20221009/gcc/cp/cp-gimplify.cc:752
0xef9bb6 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221009/work/gcc-13-20221009/gcc/gimplify.cc:16237
0xf00459 gimplify_init_ctor_eval_range
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221009/work/gcc-13-20221009/gcc/gimplify.cc:4881
0xf00459 gimplify_init_ctor_eval
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221009/work/gcc-13-20221009/gcc/gimplify.cc:4960
0xf002c5 gimplify_init_ctor_eval
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221009/work/gcc-13-20221009/gcc/gimplify.cc:4985
0xf00b93 gimplify_init_constructor
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221009/work/gcc-13-20221009/gcc/gimplify.cc:5399
0xf0e0db gimplify_modify_expr
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221009/work/gcc-13-20221009/gcc/gimplify.cc:6076
0xefa515 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221009/work/gcc-13-20221009/gcc/gimplify.cc:16328
0xf0c307 gimplify_stmt(tree_node**, gimple**)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221009/work/gcc-13-20221009/gcc/gimplify.cc:7187
0xf0c307 gimplify_compound_expr
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221009/work/gcc-13-20221009/gcc/gimplify.cc:6380
0xefad3c gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221009/work/gcc-13-20221009/gcc/gimplify.cc:16318
0xefce06 gimplify_stmt(tree_node**, gimple**)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221009/work/gcc-13-20221009/gcc/gimplify.cc:7187
0xefe5fc gimplify_cleanup_point_expr
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221009/work/gcc-13-20221009/gcc/gimplify.cc:6928
0xefb05a gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221009/work/gcc-13-20221009/gcc/gimplify.cc:16721
0xefce06 gimplify_stmt(tree_node**, gimple**)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221009/work/gcc-13-20221009/gcc/gimplify.cc:7187
0xefb7a3 gimplify_statement_list
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221009/work/gcc-13-20221009/gcc/gimplify.cc:2021
0xefb7a3 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221009/work/gcc-13-20221009/gcc/gimplify.cc:16773
0xefce06 gimplify_stmt(tree_node**, gimple**)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221009/work/gcc-13-20221009/gcc/gimplify.cc:7187
0xefb7a3 gimplify_statement_list
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221009/work/gcc-13-20221009/gcc/gimplify.cc:2021
0xefb7a3 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221009/work/gcc-13-20221009/gcc/gimplify.cc:16773

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

* [Bug c++/107198] [13 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752
  2022-10-10  8:29 [Bug c++/107198] New: [13 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 asolokha at gmx dot com
@ 2022-10-10  9:23 ` rguenth at gcc dot gnu.org
  2022-10-10 13:31 ` [Bug c++/107198] [13 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 since r13-3175-g6ffbf87ca66f4ed9 marxin at gcc dot gnu.org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-10-10  9:23 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |error-recovery,
                   |                            |ice-on-invalid-code
   Target Milestone|---                         |13.0

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

* [Bug c++/107198] [13 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 since r13-3175-g6ffbf87ca66f4ed9
  2022-10-10  8:29 [Bug c++/107198] New: [13 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 asolokha at gmx dot com
  2022-10-10  9:23 ` [Bug c++/107198] " rguenth at gcc dot gnu.org
@ 2022-10-10 13:31 ` marxin at gcc dot gnu.org
  2022-10-12  7:51 ` marxin at gcc dot gnu.org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-10-10 13:31 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org
            Summary|[13 Regression] ICE in      |[13 Regression] ICE in
                   |cp_gimplify_expr, at        |cp_gimplify_expr, at
                   |cp/cp-gimplify.cc:752       |cp/cp-gimplify.cc:752 since
                   |                            |r13-3175-g6ffbf87ca66f4ed9
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2022-10-10

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r13-3175-g6ffbf87ca66f4ed9.

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

* [Bug c++/107198] [13 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 since r13-3175-g6ffbf87ca66f4ed9
  2022-10-10  8:29 [Bug c++/107198] New: [13 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 asolokha at gmx dot com
  2022-10-10  9:23 ` [Bug c++/107198] " rguenth at gcc dot gnu.org
  2022-10-10 13:31 ` [Bug c++/107198] [13 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 since r13-3175-g6ffbf87ca66f4ed9 marxin at gcc dot gnu.org
@ 2022-10-12  7:51 ` marxin at gcc dot gnu.org
  2022-10-18  8:33 ` rguenth at gcc dot gnu.org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-10-12  7:51 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
*** Bug 107218 has been marked as a duplicate of this bug. ***

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

* [Bug c++/107198] [13 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 since r13-3175-g6ffbf87ca66f4ed9
  2022-10-10  8:29 [Bug c++/107198] New: [13 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 asolokha at gmx dot com
                   ` (2 preceding siblings ...)
  2022-10-12  7:51 ` marxin at gcc dot gnu.org
@ 2022-10-18  8:33 ` rguenth at gcc dot gnu.org
  2023-04-26  6:56 ` [Bug c++/107198] [13/14 " rguenth at gcc dot gnu.org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-10-18  8:33 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

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

* [Bug c++/107198] [13/14 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 since r13-3175-g6ffbf87ca66f4ed9
  2022-10-10  8:29 [Bug c++/107198] New: [13 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 asolokha at gmx dot com
                   ` (3 preceding siblings ...)
  2022-10-18  8:33 ` rguenth at gcc dot gnu.org
@ 2023-04-26  6:56 ` rguenth at gcc dot gnu.org
  2023-06-07 19:51 ` tschwinge at gcc dot gnu.org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-04-26  6:56 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|13.0                        |13.2

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 13.1 is being released, retargeting bugs to GCC 13.2.

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

* [Bug c++/107198] [13/14 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 since r13-3175-g6ffbf87ca66f4ed9
  2022-10-10  8:29 [Bug c++/107198] New: [13 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 asolokha at gmx dot com
                   ` (4 preceding siblings ...)
  2023-04-26  6:56 ` [Bug c++/107198] [13/14 " rguenth at gcc dot gnu.org
@ 2023-06-07 19:51 ` tschwinge at gcc dot gnu.org
  2023-07-27  9:23 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: tschwinge at gcc dot gnu.org @ 2023-06-07 19:51 UTC (permalink / raw)
  To: gcc-bugs

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

Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2022-10-10 00:00:00         |2023-6-7
                 CC|                            |tschwinge at gcc dot gnu.org

--- Comment #4 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Reconfirmed.

Given native x86_64-pc-linux-gnu build of one-week-old commit
2720bbd597f56742a17119dfe80edc2ba86af255, running 'g++.dg/eh/aggregate1.C' with
'-fno-exceptions':

    $ make check-gcc-c++ RUNTESTFLAGS='--target_board=unix/-fno-exceptions
dg.exp=aggregate1.C'

..., I see ICEs not for '-std=c++98', but for '-std=c++14' and higher:

    UNSUPPORTED: g++.dg/eh/aggregate1.C  -std=c++98: exception handling
disabled
    FAIL: g++.dg/eh/aggregate1.C  -std=c++14 (internal compiler error: in
cp_gimplify_expr, at cp/cp-gimplify.cc:782)
    UNSUPPORTED: g++.dg/eh/aggregate1.C  -std=c++14: exception handling
disabled
    FAIL: g++.dg/eh/aggregate1.C  -std=c++17 (internal compiler error: in
cp_gimplify_expr, at cp/cp-gimplify.cc:782)
    UNSUPPORTED: g++.dg/eh/aggregate1.C  -std=c++17: exception handling
disabled
    FAIL: g++.dg/eh/aggregate1.C  -std=c++20 (internal compiler error: in
cp_gimplify_expr, at cp/cp-gimplify.cc:782)
    UNSUPPORTED: g++.dg/eh/aggregate1.C  -std=c++20: exception handling
disabled

    [...]/g++.dg/eh/aggregate1.C: In constructor 'A::A()':
    [...]/g++.dg/eh/aggregate1.C:18:47: error: exception handling disabled, use
'-fexceptions' to enable
    [...]/g++.dg/eh/aggregate1.C: In function 'void try_idx(int)':
    [...]/g++.dg/eh/aggregate1.C:40:25: error: 'x' was not declared in this
scope
    [...]/g++.dg/eh/aggregate1.C:39:40: internal compiler error: in
cp_gimplify_expr, at cp/cp-gimplify.cc:782
    0x6f7024 cp_gimplify_expr(tree_node**, gimple**, gimple**)
            [...]/gcc/cp/cp-gimplify.cc:782
    0x13d6cfd gimplify_expr(tree_node**, gimple**, gimple**, bool
(*)(tree_node*), int)
            [...]/gcc/gimplify.cc:16331
    0x13dcf9d gimplify_init_ctor_eval_range
            [...]/gcc/gimplify.cc:4929
    0x13dcf9d gimplify_init_ctor_eval
            [...]/gcc/gimplify.cc:5008
    0x13dce55 gimplify_init_ctor_eval
            [...]/gcc/gimplify.cc:5033
    0x13dd671 gimplify_init_constructor
            [...]/gcc/gimplify.cc:5447
    0x13ea18d gimplify_modify_expr
            [...]/gcc/gimplify.cc:6127
    0x13d76ea gimplify_expr(tree_node**, gimple**, gimple**, bool
(*)(tree_node*), int)
            [...]/gcc/gimplify.cc:16422
    0x13e8567 gimplify_stmt(tree_node**, gimple**)
            [...]/gcc/gimplify.cc:7238
    0x13e8567 gimplify_compound_expr
            [...]/gcc/gimplify.cc:6431
    0x13d7aae gimplify_expr(tree_node**, gimple**, gimple**, bool
(*)(tree_node*), int)
            [...]/gcc/gimplify.cc:16412
    0x13d80f8 gimplify_cleanup_point_expr
            [...]/gcc/gimplify.cc:7238
    0x13d80f8 gimplify_expr(tree_node**, gimple**, gimple**, bool
(*)(tree_node*), int)
            [...]/gcc/gimplify.cc:16815
    0x13da0a6 gimplify_stmt(tree_node**, gimple**)
            [...]/gcc/gimplify.cc:7238
    0x13d89a8 gimplify_statement_list
            [...]/gcc/gimplify.cc:2019
    0x13d89a8 gimplify_expr(tree_node**, gimple**, gimple**, bool
(*)(tree_node*), int)
            [...]/gcc/gimplify.cc:16867
    0x13da0a6 gimplify_stmt(tree_node**, gimple**)
            [...]/gcc/gimplify.cc:7238
    0x13d89a8 gimplify_statement_list
            [...]/gcc/gimplify.cc:2019
    0x13d89a8 gimplify_expr(tree_node**, gimple**, gimple**, bool
(*)(tree_node*), int)
            [...]/gcc/gimplify.cc:16867
    0x13d80f8 gimplify_cleanup_point_expr
            [...]/gcc/gimplify.cc:7238

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

* [Bug c++/107198] [13/14 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 since r13-3175-g6ffbf87ca66f4ed9
  2022-10-10  8:29 [Bug c++/107198] New: [13 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 asolokha at gmx dot com
                   ` (5 preceding siblings ...)
  2023-06-07 19:51 ` tschwinge at gcc dot gnu.org
@ 2023-07-27  9:23 ` rguenth at gcc dot gnu.org
  2023-09-06  6:16 ` gayathri.gottumukkala.27 at gmail dot com
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-27  9:23 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|13.2                        |13.3

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 13.2 is being released, retargeting bugs to GCC 13.3.

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

* [Bug c++/107198] [13/14 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 since r13-3175-g6ffbf87ca66f4ed9
  2022-10-10  8:29 [Bug c++/107198] New: [13 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 asolokha at gmx dot com
                   ` (6 preceding siblings ...)
  2023-07-27  9:23 ` rguenth at gcc dot gnu.org
@ 2023-09-06  6:16 ` gayathri.gottumukkala.27 at gmail dot com
  2023-09-06 13:27 ` mpolacek at gcc dot gnu.org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: gayathri.gottumukkala.27 at gmail dot com @ 2023-09-06  6:16 UTC (permalink / raw)
  To: gcc-bugs

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

Gayathri Gottumukkala <gayathri.gottumukkala.27 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gayathri.gottumukkala.27@gm
                   |                            |ail.com

--- Comment #6 from Gayathri Gottumukkala <gayathri.gottumukkala.27 at gmail dot com> ---
This bug can fix by enabling exception handler we can enable by using 
-fno-exceptions flag.

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

* [Bug c++/107198] [13/14 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 since r13-3175-g6ffbf87ca66f4ed9
  2022-10-10  8:29 [Bug c++/107198] New: [13 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 asolokha at gmx dot com
                   ` (7 preceding siblings ...)
  2023-09-06  6:16 ` gayathri.gottumukkala.27 at gmail dot com
@ 2023-09-06 13:27 ` mpolacek at gcc dot gnu.org
  2023-09-06 14:41 ` jason at gcc dot gnu.org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2023-09-06 13:27 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r13-3175:

commit 6ffbf87ca66f4ed9cd79cff675fabe2109e46e85
Author: Jason Merrill <jason@redhat.com>
Date:   Sat Sep 17 12:04:05 2022 +0200

    c++: track whether we expect a TARGET_EXPR to be elided

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

* [Bug c++/107198] [13/14 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 since r13-3175-g6ffbf87ca66f4ed9
  2022-10-10  8:29 [Bug c++/107198] New: [13 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 asolokha at gmx dot com
                   ` (8 preceding siblings ...)
  2023-09-06 13:27 ` mpolacek at gcc dot gnu.org
@ 2023-09-06 14:41 ` jason at gcc dot gnu.org
  2023-09-12 17:27 ` cvs-commit at gcc dot gnu.org
  2023-09-12 17:42 ` jason at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: jason at gcc dot gnu.org @ 2023-09-06 14:41 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org

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

* [Bug c++/107198] [13/14 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 since r13-3175-g6ffbf87ca66f4ed9
  2022-10-10  8:29 [Bug c++/107198] New: [13 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 asolokha at gmx dot com
                   ` (9 preceding siblings ...)
  2023-09-06 14:41 ` jason at gcc dot gnu.org
@ 2023-09-12 17:27 ` cvs-commit at gcc dot gnu.org
  2023-09-12 17:42 ` jason at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-09-12 17:27 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Jason Merrill <jason@gcc.gnu.org>:

https://gcc.gnu.org/g:ea5abbb263315e558c876b50c9371b90ddd5e028

commit r14-3907-gea5abbb263315e558c876b50c9371b90ddd5e028
Author: Jason Merrill <jason@redhat.com>
Date:   Thu Sep 7 05:15:01 2023 -0400

    c++: ICE with -fno-exceptions and array init [PR107198]

    The removed line no longer has an effect on anew5.C error recovery, and
    removing it improves error recovery for this testcase.

            PR c++/107198

    gcc/cp/ChangeLog:

            * typeck2.cc (process_init_constructor_array): Use VEC_INIT_EXPR
            regardless of seen_error.

    gcc/testsuite/ChangeLog:

            * g++.dg/eh/no-exceptions1.C: New test.

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

* [Bug c++/107198] [13/14 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 since r13-3175-g6ffbf87ca66f4ed9
  2022-10-10  8:29 [Bug c++/107198] New: [13 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 asolokha at gmx dot com
                   ` (10 preceding siblings ...)
  2023-09-12 17:27 ` cvs-commit at gcc dot gnu.org
@ 2023-09-12 17:42 ` jason at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: jason at gcc dot gnu.org @ 2023-09-12 17:42 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed for 14, not backporting error-recovery fix.

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

end of thread, other threads:[~2023-09-12 17:42 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-10  8:29 [Bug c++/107198] New: [13 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 asolokha at gmx dot com
2022-10-10  9:23 ` [Bug c++/107198] " rguenth at gcc dot gnu.org
2022-10-10 13:31 ` [Bug c++/107198] [13 Regression] ICE in cp_gimplify_expr, at cp/cp-gimplify.cc:752 since r13-3175-g6ffbf87ca66f4ed9 marxin at gcc dot gnu.org
2022-10-12  7:51 ` marxin at gcc dot gnu.org
2022-10-18  8:33 ` rguenth at gcc dot gnu.org
2023-04-26  6:56 ` [Bug c++/107198] [13/14 " rguenth at gcc dot gnu.org
2023-06-07 19:51 ` tschwinge at gcc dot gnu.org
2023-07-27  9:23 ` rguenth at gcc dot gnu.org
2023-09-06  6:16 ` gayathri.gottumukkala.27 at gmail dot com
2023-09-06 13:27 ` mpolacek at gcc dot gnu.org
2023-09-06 14:41 ` jason at gcc dot gnu.org
2023-09-12 17:27 ` cvs-commit at gcc dot gnu.org
2023-09-12 17:42 ` 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).