[Bug c++/85688] New: Unhelpful fix-it hint for __float128 when using -mno-float128
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon May 7 20:00:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85688
Bug ID: 85688
Summary: Unhelpful fix-it hint for __float128 when using
-mno-float128
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: redi at gcc dot gnu.org
Target Milestone: ---
g++ -c -x c++ - -mno-float128 <<< 'void f() { __float128 f = 0.0; }'
<stdin>: In function ‘void f()’:
<stdin>:1:12: error: ‘__float128’ was not declared in this scope
<stdin>:1:12: note: suggested alternative: ‘__ieee128’
It might be better to say that __float128 support has been disabled by the
-mno-float128 option, or is not supported for this target and set of options.
More information about the Gcc-bugs
mailing list