Bug#1076160: g++: _Float16 does not work in G++ (works in GCC) on aarch64
Package: g++
Version: 4:12.2.0-3
Severity: important
Tags: newcomer upstream
X-Debbugs-Cc: allsmiles94043@gmail.com, mikegreen10504@gmail.com
I'm looking to use 16b IEEE floating point on ARM Linux which is supported by my target, and successfully compiles with GCC. Alas, the same file fails to compaile with G++:
float test(_Float16 x){
return x;
}
-- System Information:
Debian Release: trixie/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'stable')
Architecture: arm64 (aarch64)
Foreign Architectures: armhf
Kernel: Linux 6.6.31+rpt-rpi-v8 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages g++ depends on:
ii cpp 4:12.2.0-3
ii g++-12 12.4.0-1
ii gcc 4:12.2.0-3
ii gcc-12 12.4.0-1
g++ recommends no packages.
g++ suggests no packages.
-- no debconf information
Reply to: