[Bug ipa/111571] [13/14 Regression] ICE in modify_call, at ipa-param-manipulation.cc:656
noamlewis at google dot com
gcc-bugzilla@gcc.gnu.org
Thu Nov 2 09:37:51 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111571
Noam Lewis <noamlewis at google dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |noamlewis at google dot com
--- Comment #2 from Noam Lewis <noamlewis at google dot com> ---
Not sure if same bug or different, we encountered this:
gcc (Debian 13.2.0-4) 13.2.0
$ cat /tmp/example.c
typedef struct {
} a;
struct b {
short c
};
struct d e;
struct d {
struct {
struct b f
}
} inline g(struct b h) {
i();
fn3();
e.f = h;
return e;
}
typedef struct {
int n;
int j;
struct b k;
a l
} m;
static o(m h) {
p(h.n, h.l, 1);
g(h.k);
}
q() {
struct b r = {};
o((m){.2, .1, r, {}});
}
$ gcc-13 /tmp/example.c -O2 -c -w -freport-bug
during IPA pass: inline
/tmp/example.c: In function ‘q’:
/tmp/example.c:29:3: internal compiler error: in modify_call, at
ipa-param-manipulation.cc:656
29 | o((m){.2, .1, r, {}});
| ^~~~~~~~~~~~~~~~~~~~~
0x7fb9b73666c9 __libc_start_call_main
../sysdeps/nptl/libc_start_call_main.h:58
0x7fb9b7366784 __libc_start_main_impl
../csu/libc-start.c:360
Please submit a full bug report, with preprocessed source.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-13/README.Bugs> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
More information about the Gcc-bugs
mailing list