]> git.ipfire.org Git - thirdparty/gcc.git/commit
Remove TARGET_FLOAT128_ENABLE_TYPE setting for VxWorks
authorOlivier Hainque <hainque@adacore.com>
Tue, 19 Apr 2022 09:07:32 +0000 (09:07 +0000)
committerOlivier Hainque <hainque@adacore.com>
Thu, 29 Sep 2022 14:58:46 +0000 (14:58 +0000)
commit77ce3fbfc8cb6e383234b4a4f8ee142419ce341c
tree8e55da800fd667207cdbb21c8b62a749158bc601
parent2813f529ab8df6daef739d996688caab615eb1a9
Remove TARGET_FLOAT128_ENABLE_TYPE setting for VxWorks

We have, in vxworks.h:

 /* linux64.h enables this, not supported in vxWorks.  */
 #undef TARGET_FLOAT128_ENABLE_TYPE
 #define TARGET_FLOAT128_ENABLE_TYPE 0

We inherit linux64.h for a few reasons, but don't really support
float128 for vxworks, so the setting made sense.

Many tests rely on the linux default (1) though, so resetting is
causing lots of failures on compilation tests that would pass otherwise.

Not resetting lets users write code declaring floa128
objects but linking will typically fail at some point, so
there's no real adverse effect.

Bottom line is we don't have any particular incentive to alter
the default, whatever the default, so better leave the parameter
alone.

2022-09-29  Olivier Hainque  <hainque@adacore.com>

gcc/
* config/rs6000/vxworks.h (TARGET_FLOAT128_ENABLE_TYPE): Remove
resetting to 0.
gcc/config/rs6000/vxworks.h