https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108076
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Reduced testcase: static void *j; int v; __attribute__((__leaf__)) int atoi (const char *); int main () { j = &&lab1; &&lab2; atoi ("42"); lab1: lab2: if (v) goto *j; } which fails to link with -O2 starting with r12-4240-g2b8453c401b699ed93c085d0413ab4b5030bcdb8 and with -O2 -ftree-vectorize starting with r10-7522-g75efe9cb1f8938a713ce540dc3b27bc2afcd3fae