Bug#1112585: g++-15: Assembler warning: no SFrame FDE emitted
Package: g++-15
Version: 15.2.0-2
Severity: normal
Dear Maintainer,
std::format emits a warning when compiling with -O2 -march=broadwell:
$ cat warn.cc
#include <format>
int main() {
(void)std::format("{}", 3.14152);
}
$ g++ -std=c++20 -O2 -march=broadwell warn.cc -c
/tmp/ccPn7jw8.s: Assembler messages:
/tmp/ccPn7jw8.s: Warning: no SFrame FDE emitted; non-SP/FP register 10 in .cfi_def_cfa
$ g++ -std=c++20 -O3 -march=broadwell warn.cc -c
/tmp/ccXYo09Q.s: Assembler messages:
/tmp/ccXYo09Q.s: Warning: no SFrame FDE emitted; non-SP/FP register 10 in .cfi_def_cfa
/tmp/ccXYo09Q.s: Warning: no SFrame FDE emitted; non-SP/FP register 10 in .cfi_def_cfa
/tmp/ccXYo09Q.s: Warning: no SFrame FDE emitted; non-SP/FP register 10 in .cfi_def_cfa
/tmp/ccXYo09Q.s: Warning: no SFrame FDE emitted; non-SP/FP register 10 in .cfi_def_cfa
$
As far as i can see this does not impact either the program nor
compiling with -Werror enabled, but I have no idea what's going on and
if this is harmless indeed.
Thanks
Ingo
-- System Information:
Distributor ID: Devuan
Description: Devuan GNU/Linux 6 (excalibur/ceres)
Release: 6
Codename: excalibur ceres
Architecture: x86_64
Kernel: Linux 6.17.0-rc2-spatz20250818 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_RANDSTRUCT
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages g++-15 depends on:
ii g++-15-x86-64-linux-gnu 15.2.0-2
ii gcc-15 15.2.0-2
ii gcc-15-base 15.2.0-2
g++-15 recommends no packages.
Versions of packages g++-15 suggests:
pn g++-15-multilib <none>
pn gcc-15-doc <none>
-- no debconf information
Reply to: