https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66819
Bug ID: 66819 Summary: gcc.target/i386/pr65753.c fails with -fPIC -m32 -O2 -mregparm=3 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- I got [hjl@gnu-6 gcc]$ ./xgcc -S -B./ -m32 -fPIC -O2 /export/gnu/src/tools-iamcu/tools/gcc/testsuite/gcc.target/i386/pr65753.c -mregparm=3 [hjl@gnu-6 gcc]$ cat pr65753.s .file "pr65753.c" .section .text.unlikely,"ax",@progbits .LCOLDB0: .text .LHOTB0: .p2align 4,,15 .globl foo .type foo, @function foo: .LFB0: .cfi_startproc subl $12, %esp .cfi_def_cfa_offset 16 call *%eax addl $12, %esp .cfi_def_cfa_offset 4 ret .cfi_endproc .LFE0: .size foo, .-foo .section .text.unlikely .LCOLDE0: .text .LHOTE0: .ident "GCC: (GNU) 6.0.0 20150708 (experimental)" .section .note.GNU-stack,"",@progbits [hjl@gnu-6 gcc]$