]> gcc.gnu.org Git - gcc.git/commit
sparc: define SPARC_LONG_DOUBLE_TYPE_SIZE for vxworks [PR115739]
authorKewen Lin <linkw@linux.ibm.com>
Tue, 2 Jul 2024 08:58:06 +0000 (03:58 -0500)
committerKewen Lin <linkw@gcc.gnu.org>
Tue, 2 Jul 2024 08:58:06 +0000 (03:58 -0500)
commit39e679e25deca32e73870f7f7a9c4f2c108d4a5e
treeca9ba9db764ecff22b585160b59573842d8013dc
parent90c8782615e5fadb566ed4fbe4e08af9ea3d2d2d
sparc: define SPARC_LONG_DOUBLE_TYPE_SIZE for vxworks [PR115739]

Commit r15-1594 removed define of LONG_DOUBLE_TYPE_SIZE in
sparc.cc, it's based on the assumption that each OS has its
own define (see the comments in sparc.h), but it exposes an
issue on vxworks which lacks of the define.

We can bring back the default SPARC_LONG_DOUBLE_TYPE_SIZE to
sparc.cc, but according to the comments in sparc.h, I think
it's better to define this in vxworks.h.  btw, I also went
through all the sparc supported triples, vxworks is the only
one that misses this define.

PR target/115739

gcc/ChangeLog:

* config/sparc/vxworks.h (SPARC_LONG_DOUBLE_TYPE_SIZE): New define.
gcc/config/sparc/vxworks.h
This page took 0.05127 seconds and 5 git commands to generate.