[Bug tree-optimization/118077] [15 Regression] ICE when building openimageio-2.5.13: oiioversion.h:127:28: internal compiler error: in single_succ_edge, at basic-block.h:332
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 17 21:37:48 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118077
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Here is a semi-cleaned up testcase without a special name (_setjmp) being
involved:
```
int f() __attribute__((returns_twice));
struct c1 {
virtual int bb(void) const { return 0; }
bool f1(int a)
{
return a && !bb();
}
};
struct c2 final : c1 { void f2(int); };
void c2::f2(int a) {
if (!f1(a)) f();
}
```
More information about the Gcc-bugs
mailing list