https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119583
Siddhesh Poyarekar <siddhesh at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|X86_64 |x86-64
--- Comment #1 from Siddhesh Poyarekar <siddhesh at gcc dot gnu.org> ---
Oops, I pasted in the command that works, i.e. by overriding the preferred
stack boundary. This is the one that breaks:
$ gcc/cc1 -quiet -fomit-frame-pointer -mavx /tmp/repro.c -o -
.file "repro.c"
.text
/tmp/repro.c: In function ‘f’:
/tmp/repro.c:13:1: error: bp cannot be used in ‘asm’ here
13 | }
| ^
.globl f
.type f, @function
f:
.LFB0:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $32, %rsp
vpxor %xmm0, %xmm0, %xmm0
vmovdqu %ymm0, (%rsp)
movq %rsp, %rax
movq %rax, %rdi
call ext_f
#APP
# 12 "/tmp/repro.c" 1
xor %rbp, %rbp
# 0 "" 2
#NO_APP
nop
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size f, .-f