https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101689
--- Comment #5 from Jakub Jelinek ---
Reduced testcase:
struct A {
virtual void foo (int x) { C e(&f, &x); bar (); }
virtual bool bar ();
struct C { C (int *, int *); };
int f;
};
struct B : A {} d;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101689
--- Comment #4 from Theodore.Papadopoulo at inria dot fr ---
Sorry, it was indeed too big, but I had not seen the message. Attached now.
Sorry for not having found time to reduce the test case.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101689
--- Comment #3 from Theodore.Papadopoulo at inria dot fr ---
Created attachment 51224
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51224&action=edit
Preprocessed code
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101689
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101689
--- Comment #1 from Theodore.Papadopoulo at inria dot fr ---
Also submitted as
Bug 1986538 - Internal compiler error during GIMPLE pass: ehcleanup
in readhat bugzilla, but I guess it is better here. Will close that one.