https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125963
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |middle-end
--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
The produced assembly code is reasonibly small:
```
.file "t34.c"
.text
.globl trigger_bug
.type trigger_bug, @function
trigger_bug:
.LFB0:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
nop
popq %rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size trigger_bug, .-trigger_bug
.data
.align 32
.type pts.0, @object
.size pts.0, 17179869200
pts.0:
.zero 17179869184
.long 10
.long 20
.long 30
.long 40
.ident "GCC: (GNU) 17.0.0 20260622 (experimental) [trunk 2cc89f0ad2d]"
.section .note.GNU-stack,"",@progbits
```
Also on many (but not all) zero blocks are not really existing.
But anyways the assembler is what is erroring out on really here. And GCC is
doing a reasonibly fast job.