Hi,
> I don't know why 1.0q is _Float128 on aarch64 instead of __float128.
That’s weird. I create it in this way:
+ /* Populate the float128 node if it is not already done so that the FEs
+ know it is available. */
+ if (float128_type_node == NULL_TREE)
+ {
+ float128_type_node = make_node (REAL_TYPE);
+ TYPE_PRECISION (float128_type_node) = 128;
+ SET_TYPE_MODE (float128_type_node, TFmode);
+ layout_type (float128_type_node);
+ }
+
+ lang_hooks.types.register_builtin_type (float128_type_node, "__float128");
> An explicit cast prevents the warning:
> float dummy = (float) 1.0q;
Yes, I think a cast does the job. It will still error out when q suffix is not
supported, and will not have other messages.
FX