diff options
author | YunQiang Su <syq@gcc.gnu.org> | 2023-12-19 07:36:52 +0800 |
---|---|---|
committer | YunQiang Su <syq@gcc.gnu.org> | 2023-12-23 16:46:23 +0800 |
commit | 384dbb0b4e751e6eb7ba3f9993a6cce466743926 (patch) | |
tree | 83dc3438d1142d95a3114d70b683d1f193d3fcd6 /libsanitizer/tsan | |
parent | 290230034092898981488d0716ddae43bd36c09f (diff) | |
download | gcc-384dbb0b4e751e6eb7ba3f9993a6cce466743926.zip gcc-384dbb0b4e751e6eb7ba3f9993a6cce466743926.tar.gz gcc-384dbb0b4e751e6eb7ba3f9993a6cce466743926.tar.bz2 |
MIPS: Put the ret to the end of args of reconcat [PR112759]
The function `reconcat` cannot append string(s) to NULL,
as the concat process will stop at the first NULL.
Let's always put the `ret` to the end, as it may be NULL.
We keep use reconcat here, due to that reconcat can make it
easier if we add more hardware features detecting, for example
by hwcap.
gcc/
PR target/112759
* config/mips/driver-native.cc (host_detect_local_cpu):
Put the ret to the end of args of reconcat.
Diffstat (limited to 'libsanitizer/tsan')
0 files changed, 0 insertions, 0 deletions