https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105690
--- Comment #3 from Franz Sirl ---
I managed to minimize the testcase a bit more:
unsigned int gvar1;
void fun1(int);
void fun2(unsigned int, char *);
int fun2_maxlen;
typedef struct {
int exist;
int mode;
} table_t;
table_t gtable[20];
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105690
--- Comment #2 from Martin Jambor ---
(In reply to Richard Biener from comment #1)
> somehow function splitting exposes this,
With options:
-O2 -Warray-bounds -S -fno-inline-functions-called-once --param
inline-unit-growth=0 --param
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105690
Richard Biener changed:
What|Removed |Added
Component|c |ipa
Status|UNCONFIRMED