iains / gcc-darwin-arm64

GCC master branch for Darwin with experimental support for Arm64. Currently GCC-15.0.0 [September 2024]
GNU General Public License v2.0
268 stars 33 forks source link

aarch64: handle _Float128 and __float128 for C++ #113

Closed fxcoudert closed 1 year ago

fxcoudert commented 1 year ago

~Please don't merge yet, I will add some tests soon.~

This change follows the discussion at https://gcc.gnu.org/pipermail/gcc/2023-August/242301.html and fixes the following test failures:

FAIL: g++.dg/cpp0x/gnu_fext-numeric-literals.C  -std=gnu++11  (test for errors, line 96)
FAIL: g++.dg/cpp0x/gnu_fext-numeric-literals.C  -std=gnu++11  (test for errors, line 97)
FAIL: g++.dg/cpp0x/gnu_fext-numeric-literals.C  -std=gnu++14  (test for errors, line 96)
FAIL: g++.dg/cpp0x/gnu_fext-numeric-literals.C  -std=gnu++14  (test for errors, line 97)
FAIL: g++.dg/cpp0x/gnu_fext-numeric-literals.C  -std=gnu++20  (test for errors, line 96)
FAIL: g++.dg/cpp0x/gnu_fext-numeric-literals.C  -std=gnu++20  (test for errors, line 97)
FAIL: g++.dg/cpp0x/pr77948-1.C    (test for errors, line 8)
FAIL: g++.dg/cpp0x/pr77948-1.C    (test for errors, line 9)
FAIL: g++.dg/cpp0x/pr77948-3.C    (test for errors, line 8)
FAIL: g++.dg/cpp0x/pr77948-3.C    (test for errors, line 9)
FAIL: g++.dg/cpp0x/pr77948-3.C   (test for excess errors)
FAIL: g++.dg/cpp0x/pr77948-4.C    (test for errors, line 8)
FAIL: g++.dg/cpp0x/pr77948-4.C    (test for errors, line 9)
FAIL: g++.dg/cpp0x/pr77948-4.C   (test for excess errors)
FAIL: g++.dg/cpp0x/std_fext-numeric-literals.C  -std=gnu++11  (test for errors, line 96)
FAIL: g++.dg/cpp0x/std_fext-numeric-literals.C  -std=gnu++11  (test for errors, line 97)
FAIL: g++.dg/cpp0x/std_fext-numeric-literals.C  -std=gnu++14  (test for errors, line 96)
FAIL: g++.dg/cpp0x/std_fext-numeric-literals.C  -std=gnu++14  (test for errors, line 97)
FAIL: g++.dg/cpp0x/std_fext-numeric-literals.C  -std=gnu++20  (test for errors, line 96)
FAIL: g++.dg/cpp0x/std_fext-numeric-literals.C  -std=gnu++20  (test for errors, line 97)
FAIL: g++.dg/cpp23/ext-floating11.C  -std=gnu++23 (internal compiler error: symtab_node::verify failed)
FAIL: g++.dg/cpp23/ext-floating11.C  -std=gnu++23 (test for excess errors)
FAIL: g++.dg/cpp23/ext-floating11.C  -std=gnu++26 (internal compiler error: symtab_node::verify failed)
FAIL: g++.dg/cpp23/ext-floating11.C  -std=gnu++26 (test for excess errors)
fxcoudert commented 1 year ago

@iains ready to merge at your leisure :)

iains commented 1 year ago

all LGTM.