On Wed, Jul 14, 2021 at 11:11:29AM -0500, Bill Schmidt wrote:
> Just for my edification, can you remind me why we need -Wno-psabi?
> What warning are we disabling?  Same question for ieee variant.
> 
> LGTM in any event.  Recommend approval by maintainers...

Unless you configured GCC with a 2.32 or new glibc (such as in Advance
Toolchain 14), when you change the default long double representation, the
compiler gives a warning that you can't depend on GLIBC to have all of the
necessary support for __float128.  Using -Wno-psabi supresses this warning.
For assembly tests, we don't care if GLIBC supports it or not, but we don't
want the warning.

Note, there is still a hole with Fortran, in that it doesn't support multiple
long double types like C/C++ do, so you can't really change the long double
behavior and expect your program to work.

-- 
Michael Meissner, IBM
IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA
email: meiss...@linux.ibm.com, phone: +1 (978) 899-4797

Reply via email to