File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
regression/ansi-c/gcc_version1 Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
- // None of these types should be defined when emulating gcc-4:
1
+ // None of these types should be defined when emulating gcc-4, which clang on
2
+ // macOS also emulates:
2
3
3
4
typedef float _Float32 ;
4
5
typedef double _Float32x ;
Original file line number Diff line number Diff line change 1
1
// These types should *not* be provided when emulating gcc-5:
2
+
3
+ #ifndef __clang__
2
4
typedef float _Float32 ;
3
5
typedef double _Float32x ;
4
6
typedef double _Float64 ;
@@ -8,3 +10,4 @@ typedef long double _Float128x;
8
10
9
11
// But this type should:
10
12
__float128 f128 ;
13
+ #endif
Original file line number Diff line number Diff line change 1
1
// All these types should be provided when emulating gcc-7:
2
+
3
+ #ifndef __clang__
2
4
_Float32 f32 ;
3
5
_Float32x f32x ;
4
6
_Float64 f64 ;
@@ -7,3 +9,4 @@ _Float128 f128;
7
9
_Float128x f128x ;
8
10
9
11
__float128 gcc_f128 ;
12
+ #endif
You can’t perform that action at this time.
0 commit comments