File tree 4 files changed +16
-5
lines changed
regression/ansi-c/gcc_version1
4 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- gcc -Wno-macro-redefined -U __clang_major__ -D __GNUC__=4 -D __GNUC_MINOR__=9 -D __GNUC_PATCHLEVEL__=1 $*
3
+ gcc -Wno-macro-redefined -U __clang_major__ -D __GNUC__=4 -D __GNUC_MINOR__=2 -D __GNUC_PATCHLEVEL__=1 " $@ "
4
4
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- gcc -Wno-macro-redefined -U __clang_major__ -D __GNUC__=7 -D __GNUC_MINOR__=0 -D __GNUC_PATCHLEVEL__=0 $*
3
+ gcc -Wno-macro-redefined -U __clang_major__ -D __GNUC__=7 -D __GNUC_MINOR__=0 -D __GNUC_PATCHLEVEL__=0 " $@ "
4
4
Original file line number Diff line number Diff line change 1
- typedef double _Float64 ;
1
+ // None of these types should be defined when emulating gcc-4:
2
2
3
+ typedef float _Float32 ;
4
+ typedef double _Float32x ;
5
+ typedef double _Float64 ;
6
+ typedef long double _Float64x ;
7
+ typedef long double _Float128 ;
8
+ typedef long double _Float128x ;
Original file line number Diff line number Diff line change 1
- _Float64 some_var ;
2
-
1
+ // All these types should be provided when emulating gcc-7:
2
+ _Float32 f32 ;
3
+ _Float32x f32x ;
4
+ _Float64 f64 ;
5
+ _Float64x f64x ;
6
+ _Float128 f128 ;
7
+ _Float128x f128x ;
You can’t perform that action at this time.
0 commit comments