https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113711
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2024-02-01
Target Milestone|--- |14.0
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Another test
[hjl@gnu-cfl-3 apx-1]$ cat y.c
int
foo (void)
{
return 2000 + (*(int __seg_fs *) 0);
}
[hjl@gnu-cfl-3 apx-1]$ make y.s
/export/build/gnu/tools-build/gcc-gitlab-debug/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/tools-build/gcc-gitlab-debug/build-x86_64-linux/gcc/ -mapxf
-O3 -S y.c
[hjl@gnu-cfl-3 apx-1]$ cat y.s
.file "y.c"
.text
.p2align 4
.globl foo
.type foo, @function
foo:
.LFB0:
.cfi_startproc
addl $2000, %fs:0, %eax
ret
.cfi_endproc
.LFE0:
.size foo, .-foo
.ident "GCC: (GNU) 14.0.1 20240201 (experimental)"
.section .note.GNU-stack,"",@progbits
[hjl@gnu-cfl-3 apx-1]$ gcc -c y.s
y.s: Assembler messages:
y.s:9: Warning: instruction length of 16 bytes exceeds the limit of 15
[hjl@gnu-cfl-3 apx-1]$