Lines Matching +full:gcc +full:- +full:powerpc64 +full:- +full:linux +full:- +full:gnu
1 // RUN: %clang_cc1 -DX32TYPE=ULONG -triple powerpc-unknown-linux-gnu -std=c89 -x c %s -verify
2 // RUN: %clang_cc1 -DX32TYPE=ULONG -triple powerpc-unknown-linux-gnu -std=iso9899:199409 -x c %s -v…
3 // RUN: %clang_cc1 -DX32TYPE=ULONG -triple powerpc-unknown-linux-gnu -std=c++98 -x c++ %s -verify
4 // RUN: %clang_cc1 -DX32TYPE=LLONG -triple powerpc-unknown-linux-gnu -std=c99 -x c %s -verify
5 // RUN: %clang_cc1 -DX32TYPE=LLONG -triple powerpc-unknown-linux-gnu -std=c11 -x c %s -verify
6 // RUN: %clang_cc1 -DX32TYPE=LLONG -triple powerpc-unknown-linux-gnu -std=c++11 -x c++ %s -verify
7 // RUN: %clang_cc1 -DX32TYPE=LLONG -triple powerpc-unknown-linux-gnu -std=c++1y -x c++ %s -verify
8 // RUN: %clang_cc1 -DX32TYPE=LLONG -triple powerpc-unknown-linux-gnu -std=c++1z -x c++ %s -verify
9 // RUN: %clang_cc1 -DX64TYPE=ULONG -triple powerpc64-unknown-linux-gnu -std=c89 -x c %s -verify
10 // RUN: %clang_cc1 -DX64TYPE=ULONG -triple powerpc64-unknown-linux-gnu -std=iso9899:199409 -x c %s …
11 // RUN: %clang_cc1 -DX64TYPE=ULONG -triple powerpc64-unknown-linux-gnu -std=c++98 -x c++ %s -verify
12 // RUN: %clang_cc1 -DX64TYPE=ULLONG -triple powerpc64-unknown-linux-gnu -std=c99 -x c %s -verify
13 // RUN: %clang_cc1 -DX64TYPE=ULLONG -triple powerpc64-unknown-linux-gnu -std=c11 -x c %s -verify
14 // RUN: %clang_cc1 -DX64TYPE=ULLONG -triple powerpc64-unknown-linux-gnu -std=c++11 -x c++ %s -verify
15 // RUN: %clang_cc1 -DX64TYPE=ULLONG -triple powerpc64-unknown-linux-gnu -std=c++1y -x c++ %s -verify
16 // RUN: %clang_cc1 -DX64TYPE=ULLONG -triple powerpc64-unknown-linux-gnu -std=c++1z -x c++ %s -verify
27 // expected-no-diagnostics
47 * Under pre-C99 ISO C, unsigned long is attempted for decimal integer literals
51 // expected-warning@39 {{integer literal is too large to be represented in type 'long', interpretin…
52 // expected-warning@40 {{integer literal is too large to be represented in type 'long', interpretin…
53 // expected-warning@41 {{integer literal is too large to be represented in type 'long', interpretin…
57 * Under pre-C++11 ISO C++, the same holds if the literal contains an "l" or "L"
61 // expected-warning@39 {{integer literal is too large to be represented in type 'long' and is subje…
62 // expected-warning@40 {{integer literal is too large to be represented in type 'long', interpretin…
63 // expected-warning@41 {{integer literal is too large to be represented in type 'long', interpretin…
83 * Under pre-C99 ISO C, unsigned long is attempted for decimal integer literals
87 …ected-warning@74 {{integer literal is too large to be represented in type 'long', interpreting as …
88 …ected-warning@75 {{integer literal is too large to be represented in type 'long', interpreting as …
89 …ected-warning@76 {{integer literal is too large to be represented in type 'long', interpreting as …
93 * Under pre-C++11 ISO C++, the same holds if the literal contains an "l" or "L"
97 …-warning@74 {{integer literal is too large to be represented in type 'long' and is subject to unde…
98 …cted-warning@75 {{integer literal is too large to be represented in type 'long', interpreting as '…
99 …cted-warning@76 {{integer literal is too large to be represented in type 'long', interpreting as '…
104 * The status quo in C99/C++11-and-later modes for the literals in question is
107 // expected-warning@74 {{integer literal is too large to be represented in a signed integer type, i…
108 // expected-warning@75 {{integer literal is too large to be represented in a signed integer type, i…
109 // expected-warning@76 {{integer literal is too large to be represented in a signed integer type, i…
125 #define EXPR(X) ((X - X) - 1 < 0)
129 * Strictly speaking, in pre-C99/C++11 ISO C/C++, the preprocessor arithmetic is
130 * evaluated with the range of long/unsigned long; however, both Clang and GCC
131 * evaluate using 64-bits even when long/unsigned long are 32-bits outside of
134 * If the range used becomes 32-bits, then this test will enforce the treatment
138 * Under pre-C99/C++11 ISO C/C++, whether the interpretation of the literal is
143 #define PP_LONG_MAX ((0ul - 1ul) >> 1)
145 (PP_LONG_MAX >= 0x80000000 || (X - X) - 1 > 0) // either 2^31 fits into a