1 /* $NetBSD: msg_247_portable_int.c,v 1.2 2024/09/28 19:09:37 rillig Exp $ */ 2 # 3 "msg_247_portable_int.c" 3 4 // Test for message: pointer cast from '%s' to unrelated '%s' [247] 5 6 // In portable mode on platforms where 'ptrdiff_t' is 'int', lint defines the 7 // rank of the integer types such that _Bool < char < short < int == long < 8 // long long < int128_t. The rank of the floating points is float < double < 9 // long double, analogous for the complex types. 10 // 11 // XXX: Even though the mode is named 'portable', its behavior between 'int' 12 // and 'long' platforms differs. On 'int' platforms, 'int' and 'long' have the 13 // same integer rank while on 'long' platforms, 'long' has a greater rank than 14 // 'int'. 15 // 16 // See also: 17 // msg_247.c 18 // msg_247_ilp32_ldbl64.c 19 // msg_247_lp64_ldbl128.c 20 // msg_247_portable.c 21 22 /* lint1-only-if: int */ 23 /* lint1-extra-flags: -c -p -X 351 */ 24 25 typedef double double_array[5]; 26 typedef struct { 27 char member; 28 } char_struct; 29 typedef struct { 30 double member; 31 } double_struct; 32 typedef union { 33 char member; 34 } char_union; 35 typedef union { 36 double member; 37 } double_union; 38 typedef enum { 39 CONSTANT 40 } int_enum; 41 typedef void (*function_pointer)(void); 42 43 static _Bool *bool_ptr; 44 static char *char_ptr; 45 static signed char *schar_ptr; 46 static unsigned char *uchar_ptr; 47 static short *short_ptr; 48 static unsigned short *ushort_ptr; 49 static int *int_ptr; 50 static unsigned int *uint_ptr; 51 static long *long_ptr; 52 static unsigned long *ulong_ptr; 53 static long long *llong_ptr; 54 static unsigned long long *ullong_ptr; 55 // No int128_t, as that is only supported on LP64 platforms. 56 static float *float_ptr; 57 static double *double_ptr; 58 static long double *ldouble_ptr; 59 static float _Complex *fcomplex_ptr; 60 static double _Complex *dcomplex_ptr; 61 static long double _Complex *lcomplex_ptr; 62 static void *void_ptr; 63 static char_struct *char_struct_ptr; 64 static double_struct *double_struct_ptr; 65 static char_union *char_union_ptr; 66 static double_union *double_union_ptr; 67 static int_enum *enum_ptr; 68 static double_array *double_array_ptr; 69 static function_pointer func_ptr; 70 71 void 72 all_casts(void) 73 { 74 bool_ptr = (typeof(bool_ptr))bool_ptr; 75 bool_ptr = (typeof(bool_ptr))char_ptr; 76 /* expect+1: warning: pointer cast from 'signed char' to unrelated '_Bool' [247] */ 77 bool_ptr = (typeof(bool_ptr))schar_ptr; 78 bool_ptr = (typeof(bool_ptr))uchar_ptr; 79 /* expect+1: warning: pointer cast from 'short' to unrelated '_Bool' [247] */ 80 bool_ptr = (typeof(bool_ptr))short_ptr; 81 /* expect+1: warning: pointer cast from 'unsigned short' to unrelated '_Bool' [247] */ 82 bool_ptr = (typeof(bool_ptr))ushort_ptr; 83 /* expect+1: warning: pointer cast from 'int' to unrelated '_Bool' [247] */ 84 bool_ptr = (typeof(bool_ptr))int_ptr; 85 /* expect+1: warning: pointer cast from 'unsigned int' to unrelated '_Bool' [247] */ 86 bool_ptr = (typeof(bool_ptr))uint_ptr; 87 /* expect+1: warning: pointer cast from 'long' to unrelated '_Bool' [247] */ 88 bool_ptr = (typeof(bool_ptr))long_ptr; 89 /* expect+1: warning: pointer cast from 'unsigned long' to unrelated '_Bool' [247] */ 90 bool_ptr = (typeof(bool_ptr))ulong_ptr; 91 /* expect+1: warning: pointer cast from 'long long' to unrelated '_Bool' [247] */ 92 bool_ptr = (typeof(bool_ptr))llong_ptr; 93 /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated '_Bool' [247] */ 94 bool_ptr = (typeof(bool_ptr))ullong_ptr; 95 /* expect+1: warning: pointer cast from 'float' to unrelated '_Bool' [247] */ 96 bool_ptr = (typeof(bool_ptr))float_ptr; 97 /* expect+1: warning: pointer cast from 'double' to unrelated '_Bool' [247] */ 98 bool_ptr = (typeof(bool_ptr))double_ptr; 99 /* expect+1: warning: pointer cast from 'long double' to unrelated '_Bool' [247] */ 100 bool_ptr = (typeof(bool_ptr))ldouble_ptr; 101 /* expect+1: warning: pointer cast from 'float _Complex' to unrelated '_Bool' [247] */ 102 bool_ptr = (typeof(bool_ptr))fcomplex_ptr; 103 /* expect+1: warning: pointer cast from 'double _Complex' to unrelated '_Bool' [247] */ 104 bool_ptr = (typeof(bool_ptr))dcomplex_ptr; 105 /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated '_Bool' [247] */ 106 bool_ptr = (typeof(bool_ptr))lcomplex_ptr; 107 bool_ptr = (typeof(bool_ptr))void_ptr; 108 /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated '_Bool' [247] */ 109 bool_ptr = (typeof(bool_ptr))char_struct_ptr; 110 /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated '_Bool' [247] */ 111 bool_ptr = (typeof(bool_ptr))double_struct_ptr; 112 /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated '_Bool' [247] */ 113 bool_ptr = (typeof(bool_ptr))char_union_ptr; 114 /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated '_Bool' [247] */ 115 bool_ptr = (typeof(bool_ptr))double_union_ptr; 116 /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated '_Bool' [247] */ 117 bool_ptr = (typeof(bool_ptr))enum_ptr; 118 /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated '_Bool' [247] */ 119 bool_ptr = (typeof(bool_ptr))double_array_ptr; 120 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to _Bool' is questionable [229] */ 121 bool_ptr = (typeof(bool_ptr))func_ptr; 122 123 char_ptr = (typeof(char_ptr))bool_ptr; 124 char_ptr = (typeof(char_ptr))char_ptr; 125 char_ptr = (typeof(char_ptr))schar_ptr; 126 char_ptr = (typeof(char_ptr))uchar_ptr; 127 char_ptr = (typeof(char_ptr))short_ptr; 128 char_ptr = (typeof(char_ptr))ushort_ptr; 129 char_ptr = (typeof(char_ptr))int_ptr; 130 char_ptr = (typeof(char_ptr))uint_ptr; 131 char_ptr = (typeof(char_ptr))long_ptr; 132 char_ptr = (typeof(char_ptr))ulong_ptr; 133 char_ptr = (typeof(char_ptr))llong_ptr; 134 char_ptr = (typeof(char_ptr))ullong_ptr; 135 char_ptr = (typeof(char_ptr))float_ptr; 136 char_ptr = (typeof(char_ptr))double_ptr; 137 char_ptr = (typeof(char_ptr))ldouble_ptr; 138 char_ptr = (typeof(char_ptr))fcomplex_ptr; 139 char_ptr = (typeof(char_ptr))dcomplex_ptr; 140 char_ptr = (typeof(char_ptr))lcomplex_ptr; 141 char_ptr = (typeof(char_ptr))void_ptr; 142 char_ptr = (typeof(char_ptr))char_struct_ptr; 143 char_ptr = (typeof(char_ptr))double_struct_ptr; 144 char_ptr = (typeof(char_ptr))char_union_ptr; 145 char_ptr = (typeof(char_ptr))double_union_ptr; 146 char_ptr = (typeof(char_ptr))enum_ptr; 147 char_ptr = (typeof(char_ptr))double_array_ptr; 148 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to char' is questionable [229] */ 149 char_ptr = (typeof(char_ptr))func_ptr; 150 151 /* expect+1: warning: pointer cast from '_Bool' to unrelated 'signed char' [247] */ 152 schar_ptr = (typeof(schar_ptr))bool_ptr; 153 schar_ptr = (typeof(schar_ptr))char_ptr; 154 schar_ptr = (typeof(schar_ptr))schar_ptr; 155 schar_ptr = (typeof(schar_ptr))uchar_ptr; 156 /* expect+1: warning: pointer cast from 'short' to unrelated 'signed char' [247] */ 157 schar_ptr = (typeof(schar_ptr))short_ptr; 158 /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'signed char' [247] */ 159 schar_ptr = (typeof(schar_ptr))ushort_ptr; 160 /* expect+1: warning: pointer cast from 'int' to unrelated 'signed char' [247] */ 161 schar_ptr = (typeof(schar_ptr))int_ptr; 162 /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'signed char' [247] */ 163 schar_ptr = (typeof(schar_ptr))uint_ptr; 164 /* expect+1: warning: pointer cast from 'long' to unrelated 'signed char' [247] */ 165 schar_ptr = (typeof(schar_ptr))long_ptr; 166 /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'signed char' [247] */ 167 schar_ptr = (typeof(schar_ptr))ulong_ptr; 168 /* expect+1: warning: pointer cast from 'long long' to unrelated 'signed char' [247] */ 169 schar_ptr = (typeof(schar_ptr))llong_ptr; 170 /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'signed char' [247] */ 171 schar_ptr = (typeof(schar_ptr))ullong_ptr; 172 /* expect+1: warning: pointer cast from 'float' to unrelated 'signed char' [247] */ 173 schar_ptr = (typeof(schar_ptr))float_ptr; 174 /* expect+1: warning: pointer cast from 'double' to unrelated 'signed char' [247] */ 175 schar_ptr = (typeof(schar_ptr))double_ptr; 176 /* expect+1: warning: pointer cast from 'long double' to unrelated 'signed char' [247] */ 177 schar_ptr = (typeof(schar_ptr))ldouble_ptr; 178 /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'signed char' [247] */ 179 schar_ptr = (typeof(schar_ptr))fcomplex_ptr; 180 /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'signed char' [247] */ 181 schar_ptr = (typeof(schar_ptr))dcomplex_ptr; 182 /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'signed char' [247] */ 183 schar_ptr = (typeof(schar_ptr))lcomplex_ptr; 184 schar_ptr = (typeof(schar_ptr))void_ptr; 185 /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'signed char' [247] */ 186 schar_ptr = (typeof(schar_ptr))char_struct_ptr; 187 /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'signed char' [247] */ 188 schar_ptr = (typeof(schar_ptr))double_struct_ptr; 189 /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'signed char' [247] */ 190 schar_ptr = (typeof(schar_ptr))char_union_ptr; 191 /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'signed char' [247] */ 192 schar_ptr = (typeof(schar_ptr))double_union_ptr; 193 /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'signed char' [247] */ 194 schar_ptr = (typeof(schar_ptr))enum_ptr; 195 /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'signed char' [247] */ 196 schar_ptr = (typeof(schar_ptr))double_array_ptr; 197 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to signed char' is questionable [229] */ 198 schar_ptr = (typeof(schar_ptr))func_ptr; 199 200 uchar_ptr = (typeof(uchar_ptr))bool_ptr; 201 uchar_ptr = (typeof(uchar_ptr))char_ptr; 202 uchar_ptr = (typeof(uchar_ptr))schar_ptr; 203 uchar_ptr = (typeof(uchar_ptr))uchar_ptr; 204 uchar_ptr = (typeof(uchar_ptr))short_ptr; 205 uchar_ptr = (typeof(uchar_ptr))ushort_ptr; 206 uchar_ptr = (typeof(uchar_ptr))int_ptr; 207 uchar_ptr = (typeof(uchar_ptr))uint_ptr; 208 uchar_ptr = (typeof(uchar_ptr))long_ptr; 209 uchar_ptr = (typeof(uchar_ptr))ulong_ptr; 210 uchar_ptr = (typeof(uchar_ptr))llong_ptr; 211 uchar_ptr = (typeof(uchar_ptr))ullong_ptr; 212 uchar_ptr = (typeof(uchar_ptr))float_ptr; 213 uchar_ptr = (typeof(uchar_ptr))double_ptr; 214 uchar_ptr = (typeof(uchar_ptr))ldouble_ptr; 215 uchar_ptr = (typeof(uchar_ptr))fcomplex_ptr; 216 uchar_ptr = (typeof(uchar_ptr))dcomplex_ptr; 217 uchar_ptr = (typeof(uchar_ptr))lcomplex_ptr; 218 uchar_ptr = (typeof(uchar_ptr))void_ptr; 219 uchar_ptr = (typeof(uchar_ptr))char_struct_ptr; 220 uchar_ptr = (typeof(uchar_ptr))double_struct_ptr; 221 uchar_ptr = (typeof(uchar_ptr))char_union_ptr; 222 uchar_ptr = (typeof(uchar_ptr))double_union_ptr; 223 uchar_ptr = (typeof(uchar_ptr))enum_ptr; 224 uchar_ptr = (typeof(uchar_ptr))double_array_ptr; 225 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to unsigned char' is questionable [229] */ 226 uchar_ptr = (typeof(uchar_ptr))func_ptr; 227 228 /* expect+1: warning: pointer cast from '_Bool' to unrelated 'short' [247] */ 229 short_ptr = (typeof(short_ptr))bool_ptr; 230 short_ptr = (typeof(short_ptr))char_ptr; 231 /* expect+1: warning: pointer cast from 'signed char' to unrelated 'short' [247] */ 232 short_ptr = (typeof(short_ptr))schar_ptr; 233 short_ptr = (typeof(short_ptr))uchar_ptr; 234 short_ptr = (typeof(short_ptr))short_ptr; 235 short_ptr = (typeof(short_ptr))ushort_ptr; 236 /* expect+1: warning: pointer cast from 'int' to unrelated 'short' [247] */ 237 short_ptr = (typeof(short_ptr))int_ptr; 238 /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'short' [247] */ 239 short_ptr = (typeof(short_ptr))uint_ptr; 240 /* expect+1: warning: pointer cast from 'long' to unrelated 'short' [247] */ 241 short_ptr = (typeof(short_ptr))long_ptr; 242 /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'short' [247] */ 243 short_ptr = (typeof(short_ptr))ulong_ptr; 244 /* expect+1: warning: pointer cast from 'long long' to unrelated 'short' [247] */ 245 short_ptr = (typeof(short_ptr))llong_ptr; 246 /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'short' [247] */ 247 short_ptr = (typeof(short_ptr))ullong_ptr; 248 /* expect+1: warning: pointer cast from 'float' to unrelated 'short' [247] */ 249 short_ptr = (typeof(short_ptr))float_ptr; 250 /* expect+1: warning: pointer cast from 'double' to unrelated 'short' [247] */ 251 short_ptr = (typeof(short_ptr))double_ptr; 252 /* expect+1: warning: pointer cast from 'long double' to unrelated 'short' [247] */ 253 short_ptr = (typeof(short_ptr))ldouble_ptr; 254 /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'short' [247] */ 255 short_ptr = (typeof(short_ptr))fcomplex_ptr; 256 /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'short' [247] */ 257 short_ptr = (typeof(short_ptr))dcomplex_ptr; 258 /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'short' [247] */ 259 short_ptr = (typeof(short_ptr))lcomplex_ptr; 260 short_ptr = (typeof(short_ptr))void_ptr; 261 /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'short' [247] */ 262 short_ptr = (typeof(short_ptr))char_struct_ptr; 263 /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'short' [247] */ 264 short_ptr = (typeof(short_ptr))double_struct_ptr; 265 /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'short' [247] */ 266 short_ptr = (typeof(short_ptr))char_union_ptr; 267 /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'short' [247] */ 268 short_ptr = (typeof(short_ptr))double_union_ptr; 269 /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'short' [247] */ 270 short_ptr = (typeof(short_ptr))enum_ptr; 271 /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'short' [247] */ 272 short_ptr = (typeof(short_ptr))double_array_ptr; 273 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to short' is questionable [229] */ 274 short_ptr = (typeof(short_ptr))func_ptr; 275 276 /* expect+1: warning: pointer cast from '_Bool' to unrelated 'unsigned short' [247] */ 277 ushort_ptr = (typeof(ushort_ptr))bool_ptr; 278 ushort_ptr = (typeof(ushort_ptr))char_ptr; 279 /* expect+1: warning: pointer cast from 'signed char' to unrelated 'unsigned short' [247] */ 280 ushort_ptr = (typeof(ushort_ptr))schar_ptr; 281 ushort_ptr = (typeof(ushort_ptr))uchar_ptr; 282 ushort_ptr = (typeof(ushort_ptr))short_ptr; 283 ushort_ptr = (typeof(ushort_ptr))ushort_ptr; 284 /* expect+1: warning: pointer cast from 'int' to unrelated 'unsigned short' [247] */ 285 ushort_ptr = (typeof(ushort_ptr))int_ptr; 286 /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'unsigned short' [247] */ 287 ushort_ptr = (typeof(ushort_ptr))uint_ptr; 288 /* expect+1: warning: pointer cast from 'long' to unrelated 'unsigned short' [247] */ 289 ushort_ptr = (typeof(ushort_ptr))long_ptr; 290 /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'unsigned short' [247] */ 291 ushort_ptr = (typeof(ushort_ptr))ulong_ptr; 292 /* expect+1: warning: pointer cast from 'long long' to unrelated 'unsigned short' [247] */ 293 ushort_ptr = (typeof(ushort_ptr))llong_ptr; 294 /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'unsigned short' [247] */ 295 ushort_ptr = (typeof(ushort_ptr))ullong_ptr; 296 /* expect+1: warning: pointer cast from 'float' to unrelated 'unsigned short' [247] */ 297 ushort_ptr = (typeof(ushort_ptr))float_ptr; 298 /* expect+1: warning: pointer cast from 'double' to unrelated 'unsigned short' [247] */ 299 ushort_ptr = (typeof(ushort_ptr))double_ptr; 300 /* expect+1: warning: pointer cast from 'long double' to unrelated 'unsigned short' [247] */ 301 ushort_ptr = (typeof(ushort_ptr))ldouble_ptr; 302 /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'unsigned short' [247] */ 303 ushort_ptr = (typeof(ushort_ptr))fcomplex_ptr; 304 /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'unsigned short' [247] */ 305 ushort_ptr = (typeof(ushort_ptr))dcomplex_ptr; 306 /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'unsigned short' [247] */ 307 ushort_ptr = (typeof(ushort_ptr))lcomplex_ptr; 308 ushort_ptr = (typeof(ushort_ptr))void_ptr; 309 /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'unsigned short' [247] */ 310 ushort_ptr = (typeof(ushort_ptr))char_struct_ptr; 311 /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'unsigned short' [247] */ 312 ushort_ptr = (typeof(ushort_ptr))double_struct_ptr; 313 /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'unsigned short' [247] */ 314 ushort_ptr = (typeof(ushort_ptr))char_union_ptr; 315 /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'unsigned short' [247] */ 316 ushort_ptr = (typeof(ushort_ptr))double_union_ptr; 317 /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'unsigned short' [247] */ 318 ushort_ptr = (typeof(ushort_ptr))enum_ptr; 319 /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'unsigned short' [247] */ 320 ushort_ptr = (typeof(ushort_ptr))double_array_ptr; 321 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to unsigned short' is questionable [229] */ 322 ushort_ptr = (typeof(ushort_ptr))func_ptr; 323 324 /* expect+1: warning: pointer cast from '_Bool' to unrelated 'int' [247] */ 325 int_ptr = (typeof(int_ptr))bool_ptr; 326 int_ptr = (typeof(int_ptr))char_ptr; 327 /* expect+1: warning: pointer cast from 'signed char' to unrelated 'int' [247] */ 328 int_ptr = (typeof(int_ptr))schar_ptr; 329 int_ptr = (typeof(int_ptr))uchar_ptr; 330 /* expect+1: warning: pointer cast from 'short' to unrelated 'int' [247] */ 331 int_ptr = (typeof(int_ptr))short_ptr; 332 /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'int' [247] */ 333 int_ptr = (typeof(int_ptr))ushort_ptr; 334 int_ptr = (typeof(int_ptr))int_ptr; 335 int_ptr = (typeof(int_ptr))uint_ptr; 336 /* XXX: only on 'long' platforms: expect+1: warning: pointer cast from 'long' to unrelated 'int' [247] */ 337 int_ptr = (typeof(int_ptr))long_ptr; 338 /* XXX: only on 'long' platforms: expect+1: warning: pointer cast from 'unsigned long' to unrelated 'int' [247] */ 339 int_ptr = (typeof(int_ptr))ulong_ptr; 340 /* expect+1: warning: pointer cast from 'long long' to unrelated 'int' [247] */ 341 int_ptr = (typeof(int_ptr))llong_ptr; 342 /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'int' [247] */ 343 int_ptr = (typeof(int_ptr))ullong_ptr; 344 /* expect+1: warning: pointer cast from 'float' to unrelated 'int' [247] */ 345 int_ptr = (typeof(int_ptr))float_ptr; 346 /* expect+1: warning: pointer cast from 'double' to unrelated 'int' [247] */ 347 int_ptr = (typeof(int_ptr))double_ptr; 348 /* expect+1: warning: pointer cast from 'long double' to unrelated 'int' [247] */ 349 int_ptr = (typeof(int_ptr))ldouble_ptr; 350 /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'int' [247] */ 351 int_ptr = (typeof(int_ptr))fcomplex_ptr; 352 /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'int' [247] */ 353 int_ptr = (typeof(int_ptr))dcomplex_ptr; 354 /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'int' [247] */ 355 int_ptr = (typeof(int_ptr))lcomplex_ptr; 356 int_ptr = (typeof(int_ptr))void_ptr; 357 /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'int' [247] */ 358 int_ptr = (typeof(int_ptr))char_struct_ptr; 359 /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'int' [247] */ 360 int_ptr = (typeof(int_ptr))double_struct_ptr; 361 /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'int' [247] */ 362 int_ptr = (typeof(int_ptr))char_union_ptr; 363 /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'int' [247] */ 364 int_ptr = (typeof(int_ptr))double_union_ptr; 365 int_ptr = (typeof(int_ptr))enum_ptr; 366 /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'int' [247] */ 367 int_ptr = (typeof(int_ptr))double_array_ptr; 368 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to int' is questionable [229] */ 369 int_ptr = (typeof(int_ptr))func_ptr; 370 371 /* expect+1: warning: pointer cast from '_Bool' to unrelated 'unsigned int' [247] */ 372 uint_ptr = (typeof(uint_ptr))bool_ptr; 373 uint_ptr = (typeof(uint_ptr))char_ptr; 374 /* expect+1: warning: pointer cast from 'signed char' to unrelated 'unsigned int' [247] */ 375 uint_ptr = (typeof(uint_ptr))schar_ptr; 376 uint_ptr = (typeof(uint_ptr))uchar_ptr; 377 /* expect+1: warning: pointer cast from 'short' to unrelated 'unsigned int' [247] */ 378 uint_ptr = (typeof(uint_ptr))short_ptr; 379 /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'unsigned int' [247] */ 380 uint_ptr = (typeof(uint_ptr))ushort_ptr; 381 uint_ptr = (typeof(uint_ptr))int_ptr; 382 uint_ptr = (typeof(uint_ptr))uint_ptr; 383 /* XXX: only on 'long' platforms: expect+1: warning: pointer cast from 'long' to unrelated 'unsigned int' [247] */ 384 uint_ptr = (typeof(uint_ptr))long_ptr; 385 /* XXX: only on 'long' platforms: expect+1: warning: pointer cast from 'unsigned long' to unrelated 'unsigned int' [247] */ 386 uint_ptr = (typeof(uint_ptr))ulong_ptr; 387 /* expect+1: warning: pointer cast from 'long long' to unrelated 'unsigned int' [247] */ 388 uint_ptr = (typeof(uint_ptr))llong_ptr; 389 /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'unsigned int' [247] */ 390 uint_ptr = (typeof(uint_ptr))ullong_ptr; 391 /* expect+1: warning: pointer cast from 'float' to unrelated 'unsigned int' [247] */ 392 uint_ptr = (typeof(uint_ptr))float_ptr; 393 /* expect+1: warning: pointer cast from 'double' to unrelated 'unsigned int' [247] */ 394 uint_ptr = (typeof(uint_ptr))double_ptr; 395 /* expect+1: warning: pointer cast from 'long double' to unrelated 'unsigned int' [247] */ 396 uint_ptr = (typeof(uint_ptr))ldouble_ptr; 397 /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'unsigned int' [247] */ 398 uint_ptr = (typeof(uint_ptr))fcomplex_ptr; 399 /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'unsigned int' [247] */ 400 uint_ptr = (typeof(uint_ptr))dcomplex_ptr; 401 /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'unsigned int' [247] */ 402 uint_ptr = (typeof(uint_ptr))lcomplex_ptr; 403 uint_ptr = (typeof(uint_ptr))void_ptr; 404 /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'unsigned int' [247] */ 405 uint_ptr = (typeof(uint_ptr))char_struct_ptr; 406 /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'unsigned int' [247] */ 407 uint_ptr = (typeof(uint_ptr))double_struct_ptr; 408 /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'unsigned int' [247] */ 409 uint_ptr = (typeof(uint_ptr))char_union_ptr; 410 /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'unsigned int' [247] */ 411 uint_ptr = (typeof(uint_ptr))double_union_ptr; 412 uint_ptr = (typeof(uint_ptr))enum_ptr; 413 /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'unsigned int' [247] */ 414 uint_ptr = (typeof(uint_ptr))double_array_ptr; 415 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to unsigned int' is questionable [229] */ 416 uint_ptr = (typeof(uint_ptr))func_ptr; 417 418 /* expect+1: warning: pointer cast from '_Bool' to unrelated 'long' [247] */ 419 long_ptr = (typeof(long_ptr))bool_ptr; 420 long_ptr = (typeof(long_ptr))char_ptr; 421 /* expect+1: warning: pointer cast from 'signed char' to unrelated 'long' [247] */ 422 long_ptr = (typeof(long_ptr))schar_ptr; 423 long_ptr = (typeof(long_ptr))uchar_ptr; 424 /* expect+1: warning: pointer cast from 'short' to unrelated 'long' [247] */ 425 long_ptr = (typeof(long_ptr))short_ptr; 426 /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'long' [247] */ 427 long_ptr = (typeof(long_ptr))ushort_ptr; 428 /* XXX: only on 'long' platforms: expect+1: warning: pointer cast from 'int' to unrelated 'long' [247] */ 429 long_ptr = (typeof(long_ptr))int_ptr; 430 /* XXX: only on 'long' platforms: expect+1: warning: pointer cast from 'unsigned int' to unrelated 'long' [247] */ 431 long_ptr = (typeof(long_ptr))uint_ptr; 432 long_ptr = (typeof(long_ptr))long_ptr; 433 long_ptr = (typeof(long_ptr))ulong_ptr; 434 /* expect+1: warning: pointer cast from 'long long' to unrelated 'long' [247] */ 435 long_ptr = (typeof(long_ptr))llong_ptr; 436 /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'long' [247] */ 437 long_ptr = (typeof(long_ptr))ullong_ptr; 438 /* expect+1: warning: pointer cast from 'float' to unrelated 'long' [247] */ 439 long_ptr = (typeof(long_ptr))float_ptr; 440 /* expect+1: warning: pointer cast from 'double' to unrelated 'long' [247] */ 441 long_ptr = (typeof(long_ptr))double_ptr; 442 /* expect+1: warning: pointer cast from 'long double' to unrelated 'long' [247] */ 443 long_ptr = (typeof(long_ptr))ldouble_ptr; 444 /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'long' [247] */ 445 long_ptr = (typeof(long_ptr))fcomplex_ptr; 446 /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'long' [247] */ 447 long_ptr = (typeof(long_ptr))dcomplex_ptr; 448 /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'long' [247] */ 449 long_ptr = (typeof(long_ptr))lcomplex_ptr; 450 long_ptr = (typeof(long_ptr))void_ptr; 451 /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'long' [247] */ 452 long_ptr = (typeof(long_ptr))char_struct_ptr; 453 /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'long' [247] */ 454 long_ptr = (typeof(long_ptr))double_struct_ptr; 455 /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'long' [247] */ 456 long_ptr = (typeof(long_ptr))char_union_ptr; 457 /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'long' [247] */ 458 long_ptr = (typeof(long_ptr))double_union_ptr; 459 /* XXX: only on 'long' platforms: expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'long' [247] */ 460 long_ptr = (typeof(long_ptr))enum_ptr; 461 /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'long' [247] */ 462 long_ptr = (typeof(long_ptr))double_array_ptr; 463 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to long' is questionable [229] */ 464 long_ptr = (typeof(long_ptr))func_ptr; 465 466 /* expect+1: warning: pointer cast from '_Bool' to unrelated 'unsigned long' [247] */ 467 ulong_ptr = (typeof(ulong_ptr))bool_ptr; 468 ulong_ptr = (typeof(ulong_ptr))char_ptr; 469 /* expect+1: warning: pointer cast from 'signed char' to unrelated 'unsigned long' [247] */ 470 ulong_ptr = (typeof(ulong_ptr))schar_ptr; 471 ulong_ptr = (typeof(ulong_ptr))uchar_ptr; 472 /* expect+1: warning: pointer cast from 'short' to unrelated 'unsigned long' [247] */ 473 ulong_ptr = (typeof(ulong_ptr))short_ptr; 474 /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'unsigned long' [247] */ 475 ulong_ptr = (typeof(ulong_ptr))ushort_ptr; 476 /* XXX: only on 'long' platforms: expect+1: warning: pointer cast from 'int' to unrelated 'unsigned long' [247] */ 477 ulong_ptr = (typeof(ulong_ptr))int_ptr; 478 /* XXX: only on 'long' platforms: expect+1: warning: pointer cast from 'unsigned int' to unrelated 'unsigned long' [247] */ 479 ulong_ptr = (typeof(ulong_ptr))uint_ptr; 480 ulong_ptr = (typeof(ulong_ptr))long_ptr; 481 ulong_ptr = (typeof(ulong_ptr))ulong_ptr; 482 /* expect+1: warning: pointer cast from 'long long' to unrelated 'unsigned long' [247] */ 483 ulong_ptr = (typeof(ulong_ptr))llong_ptr; 484 /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'unsigned long' [247] */ 485 ulong_ptr = (typeof(ulong_ptr))ullong_ptr; 486 /* expect+1: warning: pointer cast from 'float' to unrelated 'unsigned long' [247] */ 487 ulong_ptr = (typeof(ulong_ptr))float_ptr; 488 /* expect+1: warning: pointer cast from 'double' to unrelated 'unsigned long' [247] */ 489 ulong_ptr = (typeof(ulong_ptr))double_ptr; 490 /* expect+1: warning: pointer cast from 'long double' to unrelated 'unsigned long' [247] */ 491 ulong_ptr = (typeof(ulong_ptr))ldouble_ptr; 492 /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'unsigned long' [247] */ 493 ulong_ptr = (typeof(ulong_ptr))fcomplex_ptr; 494 /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'unsigned long' [247] */ 495 ulong_ptr = (typeof(ulong_ptr))dcomplex_ptr; 496 /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'unsigned long' [247] */ 497 ulong_ptr = (typeof(ulong_ptr))lcomplex_ptr; 498 ulong_ptr = (typeof(ulong_ptr))void_ptr; 499 /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'unsigned long' [247] */ 500 ulong_ptr = (typeof(ulong_ptr))char_struct_ptr; 501 /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'unsigned long' [247] */ 502 ulong_ptr = (typeof(ulong_ptr))double_struct_ptr; 503 /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'unsigned long' [247] */ 504 ulong_ptr = (typeof(ulong_ptr))char_union_ptr; 505 /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'unsigned long' [247] */ 506 ulong_ptr = (typeof(ulong_ptr))double_union_ptr; 507 /* XXX: only on 'long' platforms: expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'unsigned long' [247] */ 508 ulong_ptr = (typeof(ulong_ptr))enum_ptr; 509 /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'unsigned long' [247] */ 510 ulong_ptr = (typeof(ulong_ptr))double_array_ptr; 511 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to unsigned long' is questionable [229] */ 512 ulong_ptr = (typeof(ulong_ptr))func_ptr; 513 514 /* expect+1: warning: pointer cast from '_Bool' to unrelated 'long long' [247] */ 515 llong_ptr = (typeof(llong_ptr))bool_ptr; 516 llong_ptr = (typeof(llong_ptr))char_ptr; 517 /* expect+1: warning: pointer cast from 'signed char' to unrelated 'long long' [247] */ 518 llong_ptr = (typeof(llong_ptr))schar_ptr; 519 llong_ptr = (typeof(llong_ptr))uchar_ptr; 520 /* expect+1: warning: pointer cast from 'short' to unrelated 'long long' [247] */ 521 llong_ptr = (typeof(llong_ptr))short_ptr; 522 /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'long long' [247] */ 523 llong_ptr = (typeof(llong_ptr))ushort_ptr; 524 /* expect+1: warning: pointer cast from 'int' to unrelated 'long long' [247] */ 525 llong_ptr = (typeof(llong_ptr))int_ptr; 526 /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'long long' [247] */ 527 llong_ptr = (typeof(llong_ptr))uint_ptr; 528 /* expect+1: warning: pointer cast from 'long' to unrelated 'long long' [247] */ 529 llong_ptr = (typeof(llong_ptr))long_ptr; 530 /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'long long' [247] */ 531 llong_ptr = (typeof(llong_ptr))ulong_ptr; 532 llong_ptr = (typeof(llong_ptr))llong_ptr; 533 llong_ptr = (typeof(llong_ptr))ullong_ptr; 534 /* expect+1: warning: pointer cast from 'float' to unrelated 'long long' [247] */ 535 llong_ptr = (typeof(llong_ptr))float_ptr; 536 /* expect+1: warning: pointer cast from 'double' to unrelated 'long long' [247] */ 537 llong_ptr = (typeof(llong_ptr))double_ptr; 538 /* expect+1: warning: pointer cast from 'long double' to unrelated 'long long' [247] */ 539 llong_ptr = (typeof(llong_ptr))ldouble_ptr; 540 /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'long long' [247] */ 541 llong_ptr = (typeof(llong_ptr))fcomplex_ptr; 542 /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'long long' [247] */ 543 llong_ptr = (typeof(llong_ptr))dcomplex_ptr; 544 /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'long long' [247] */ 545 llong_ptr = (typeof(llong_ptr))lcomplex_ptr; 546 llong_ptr = (typeof(llong_ptr))void_ptr; 547 /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'long long' [247] */ 548 llong_ptr = (typeof(llong_ptr))char_struct_ptr; 549 /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'long long' [247] */ 550 llong_ptr = (typeof(llong_ptr))double_struct_ptr; 551 /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'long long' [247] */ 552 llong_ptr = (typeof(llong_ptr))char_union_ptr; 553 /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'long long' [247] */ 554 llong_ptr = (typeof(llong_ptr))double_union_ptr; 555 /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'long long' [247] */ 556 llong_ptr = (typeof(llong_ptr))enum_ptr; 557 /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'long long' [247] */ 558 llong_ptr = (typeof(llong_ptr))double_array_ptr; 559 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to long long' is questionable [229] */ 560 llong_ptr = (typeof(llong_ptr))func_ptr; 561 562 /* expect+1: warning: pointer cast from '_Bool' to unrelated 'unsigned long long' [247] */ 563 ullong_ptr = (typeof(ullong_ptr))bool_ptr; 564 ullong_ptr = (typeof(ullong_ptr))char_ptr; 565 /* expect+1: warning: pointer cast from 'signed char' to unrelated 'unsigned long long' [247] */ 566 ullong_ptr = (typeof(ullong_ptr))schar_ptr; 567 ullong_ptr = (typeof(ullong_ptr))uchar_ptr; 568 /* expect+1: warning: pointer cast from 'short' to unrelated 'unsigned long long' [247] */ 569 ullong_ptr = (typeof(ullong_ptr))short_ptr; 570 /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'unsigned long long' [247] */ 571 ullong_ptr = (typeof(ullong_ptr))ushort_ptr; 572 /* expect+1: warning: pointer cast from 'int' to unrelated 'unsigned long long' [247] */ 573 ullong_ptr = (typeof(ullong_ptr))int_ptr; 574 /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'unsigned long long' [247] */ 575 ullong_ptr = (typeof(ullong_ptr))uint_ptr; 576 /* expect+1: warning: pointer cast from 'long' to unrelated 'unsigned long long' [247] */ 577 ullong_ptr = (typeof(ullong_ptr))long_ptr; 578 /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'unsigned long long' [247] */ 579 ullong_ptr = (typeof(ullong_ptr))ulong_ptr; 580 ullong_ptr = (typeof(ullong_ptr))llong_ptr; 581 ullong_ptr = (typeof(ullong_ptr))ullong_ptr; 582 /* expect+1: warning: pointer cast from 'float' to unrelated 'unsigned long long' [247] */ 583 ullong_ptr = (typeof(ullong_ptr))float_ptr; 584 /* expect+1: warning: pointer cast from 'double' to unrelated 'unsigned long long' [247] */ 585 ullong_ptr = (typeof(ullong_ptr))double_ptr; 586 /* expect+1: warning: pointer cast from 'long double' to unrelated 'unsigned long long' [247] */ 587 ullong_ptr = (typeof(ullong_ptr))ldouble_ptr; 588 /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'unsigned long long' [247] */ 589 ullong_ptr = (typeof(ullong_ptr))fcomplex_ptr; 590 /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'unsigned long long' [247] */ 591 ullong_ptr = (typeof(ullong_ptr))dcomplex_ptr; 592 /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'unsigned long long' [247] */ 593 ullong_ptr = (typeof(ullong_ptr))lcomplex_ptr; 594 ullong_ptr = (typeof(ullong_ptr))void_ptr; 595 /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'unsigned long long' [247] */ 596 ullong_ptr = (typeof(ullong_ptr))char_struct_ptr; 597 /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'unsigned long long' [247] */ 598 ullong_ptr = (typeof(ullong_ptr))double_struct_ptr; 599 /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'unsigned long long' [247] */ 600 ullong_ptr = (typeof(ullong_ptr))char_union_ptr; 601 /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'unsigned long long' [247] */ 602 ullong_ptr = (typeof(ullong_ptr))double_union_ptr; 603 /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'unsigned long long' [247] */ 604 ullong_ptr = (typeof(ullong_ptr))enum_ptr; 605 /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'unsigned long long' [247] */ 606 ullong_ptr = (typeof(ullong_ptr))double_array_ptr; 607 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to unsigned long long' is questionable [229] */ 608 ullong_ptr = (typeof(ullong_ptr))func_ptr; 609 610 /* expect+1: warning: pointer cast from '_Bool' to unrelated 'float' [247] */ 611 float_ptr = (typeof(float_ptr))bool_ptr; 612 float_ptr = (typeof(float_ptr))char_ptr; 613 /* expect+1: warning: pointer cast from 'signed char' to unrelated 'float' [247] */ 614 float_ptr = (typeof(float_ptr))schar_ptr; 615 float_ptr = (typeof(float_ptr))uchar_ptr; 616 /* expect+1: warning: pointer cast from 'short' to unrelated 'float' [247] */ 617 float_ptr = (typeof(float_ptr))short_ptr; 618 /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'float' [247] */ 619 float_ptr = (typeof(float_ptr))ushort_ptr; 620 /* expect+1: warning: pointer cast from 'int' to unrelated 'float' [247] */ 621 float_ptr = (typeof(float_ptr))int_ptr; 622 /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'float' [247] */ 623 float_ptr = (typeof(float_ptr))uint_ptr; 624 /* expect+1: warning: pointer cast from 'long' to unrelated 'float' [247] */ 625 float_ptr = (typeof(float_ptr))long_ptr; 626 /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'float' [247] */ 627 float_ptr = (typeof(float_ptr))ulong_ptr; 628 /* expect+1: warning: pointer cast from 'long long' to unrelated 'float' [247] */ 629 float_ptr = (typeof(float_ptr))llong_ptr; 630 /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'float' [247] */ 631 float_ptr = (typeof(float_ptr))ullong_ptr; 632 float_ptr = (typeof(float_ptr))float_ptr; 633 /* expect+1: warning: pointer cast from 'double' to unrelated 'float' [247] */ 634 float_ptr = (typeof(float_ptr))double_ptr; 635 /* expect+1: warning: pointer cast from 'long double' to unrelated 'float' [247] */ 636 float_ptr = (typeof(float_ptr))ldouble_ptr; 637 /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'float' [247] */ 638 float_ptr = (typeof(float_ptr))fcomplex_ptr; 639 /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'float' [247] */ 640 float_ptr = (typeof(float_ptr))dcomplex_ptr; 641 /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'float' [247] */ 642 float_ptr = (typeof(float_ptr))lcomplex_ptr; 643 float_ptr = (typeof(float_ptr))void_ptr; 644 /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'float' [247] */ 645 float_ptr = (typeof(float_ptr))char_struct_ptr; 646 /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'float' [247] */ 647 float_ptr = (typeof(float_ptr))double_struct_ptr; 648 /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'float' [247] */ 649 float_ptr = (typeof(float_ptr))char_union_ptr; 650 /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'float' [247] */ 651 float_ptr = (typeof(float_ptr))double_union_ptr; 652 /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'float' [247] */ 653 float_ptr = (typeof(float_ptr))enum_ptr; 654 /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'float' [247] */ 655 float_ptr = (typeof(float_ptr))double_array_ptr; 656 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to float' is questionable [229] */ 657 float_ptr = (typeof(float_ptr))func_ptr; 658 659 /* expect+1: warning: pointer cast from '_Bool' to unrelated 'double' [247] */ 660 double_ptr = (typeof(double_ptr))bool_ptr; 661 double_ptr = (typeof(double_ptr))char_ptr; 662 /* expect+1: warning: pointer cast from 'signed char' to unrelated 'double' [247] */ 663 double_ptr = (typeof(double_ptr))schar_ptr; 664 double_ptr = (typeof(double_ptr))uchar_ptr; 665 /* expect+1: warning: pointer cast from 'short' to unrelated 'double' [247] */ 666 double_ptr = (typeof(double_ptr))short_ptr; 667 /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'double' [247] */ 668 double_ptr = (typeof(double_ptr))ushort_ptr; 669 /* expect+1: warning: pointer cast from 'int' to unrelated 'double' [247] */ 670 double_ptr = (typeof(double_ptr))int_ptr; 671 /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'double' [247] */ 672 double_ptr = (typeof(double_ptr))uint_ptr; 673 /* expect+1: warning: pointer cast from 'long' to unrelated 'double' [247] */ 674 double_ptr = (typeof(double_ptr))long_ptr; 675 /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'double' [247] */ 676 double_ptr = (typeof(double_ptr))ulong_ptr; 677 /* expect+1: warning: pointer cast from 'long long' to unrelated 'double' [247] */ 678 double_ptr = (typeof(double_ptr))llong_ptr; 679 /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'double' [247] */ 680 double_ptr = (typeof(double_ptr))ullong_ptr; 681 /* expect+1: warning: pointer cast from 'float' to unrelated 'double' [247] */ 682 double_ptr = (typeof(double_ptr))float_ptr; 683 double_ptr = (typeof(double_ptr))double_ptr; 684 /* expect+1: warning: pointer cast from 'long double' to unrelated 'double' [247] */ 685 double_ptr = (typeof(double_ptr))ldouble_ptr; 686 /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'double' [247] */ 687 double_ptr = (typeof(double_ptr))fcomplex_ptr; 688 /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'double' [247] */ 689 double_ptr = (typeof(double_ptr))dcomplex_ptr; 690 /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'double' [247] */ 691 double_ptr = (typeof(double_ptr))lcomplex_ptr; 692 double_ptr = (typeof(double_ptr))void_ptr; 693 /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'double' [247] */ 694 double_ptr = (typeof(double_ptr))char_struct_ptr; 695 /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'double' [247] */ 696 double_ptr = (typeof(double_ptr))double_struct_ptr; 697 /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'double' [247] */ 698 double_ptr = (typeof(double_ptr))char_union_ptr; 699 double_ptr = (typeof(double_ptr))double_union_ptr; 700 /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'double' [247] */ 701 double_ptr = (typeof(double_ptr))enum_ptr; 702 double_ptr = (typeof(double_ptr))double_array_ptr; 703 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to double' is questionable [229] */ 704 double_ptr = (typeof(double_ptr))func_ptr; 705 706 /* expect+1: warning: pointer cast from '_Bool' to unrelated 'long double' [247] */ 707 ldouble_ptr = (typeof(ldouble_ptr))bool_ptr; 708 ldouble_ptr = (typeof(ldouble_ptr))char_ptr; 709 /* expect+1: warning: pointer cast from 'signed char' to unrelated 'long double' [247] */ 710 ldouble_ptr = (typeof(ldouble_ptr))schar_ptr; 711 ldouble_ptr = (typeof(ldouble_ptr))uchar_ptr; 712 /* expect+1: warning: pointer cast from 'short' to unrelated 'long double' [247] */ 713 ldouble_ptr = (typeof(ldouble_ptr))short_ptr; 714 /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'long double' [247] */ 715 ldouble_ptr = (typeof(ldouble_ptr))ushort_ptr; 716 /* expect+1: warning: pointer cast from 'int' to unrelated 'long double' [247] */ 717 ldouble_ptr = (typeof(ldouble_ptr))int_ptr; 718 /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'long double' [247] */ 719 ldouble_ptr = (typeof(ldouble_ptr))uint_ptr; 720 /* expect+1: warning: pointer cast from 'long' to unrelated 'long double' [247] */ 721 ldouble_ptr = (typeof(ldouble_ptr))long_ptr; 722 /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'long double' [247] */ 723 ldouble_ptr = (typeof(ldouble_ptr))ulong_ptr; 724 /* expect+1: warning: pointer cast from 'long long' to unrelated 'long double' [247] */ 725 ldouble_ptr = (typeof(ldouble_ptr))llong_ptr; 726 /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'long double' [247] */ 727 ldouble_ptr = (typeof(ldouble_ptr))ullong_ptr; 728 /* expect+1: warning: pointer cast from 'float' to unrelated 'long double' [247] */ 729 ldouble_ptr = (typeof(ldouble_ptr))float_ptr; 730 /* expect+1: warning: pointer cast from 'double' to unrelated 'long double' [247] */ 731 ldouble_ptr = (typeof(ldouble_ptr))double_ptr; 732 ldouble_ptr = (typeof(ldouble_ptr))ldouble_ptr; 733 /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'long double' [247] */ 734 ldouble_ptr = (typeof(ldouble_ptr))fcomplex_ptr; 735 /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'long double' [247] */ 736 ldouble_ptr = (typeof(ldouble_ptr))dcomplex_ptr; 737 /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'long double' [247] */ 738 ldouble_ptr = (typeof(ldouble_ptr))lcomplex_ptr; 739 ldouble_ptr = (typeof(ldouble_ptr))void_ptr; 740 /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'long double' [247] */ 741 ldouble_ptr = (typeof(ldouble_ptr))char_struct_ptr; 742 /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'long double' [247] */ 743 ldouble_ptr = (typeof(ldouble_ptr))double_struct_ptr; 744 /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'long double' [247] */ 745 ldouble_ptr = (typeof(ldouble_ptr))char_union_ptr; 746 /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'long double' [247] */ 747 ldouble_ptr = (typeof(ldouble_ptr))double_union_ptr; 748 /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'long double' [247] */ 749 ldouble_ptr = (typeof(ldouble_ptr))enum_ptr; 750 /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'long double' [247] */ 751 ldouble_ptr = (typeof(ldouble_ptr))double_array_ptr; 752 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to long double' is questionable [229] */ 753 ldouble_ptr = (typeof(ldouble_ptr))func_ptr; 754 755 /* expect+1: warning: pointer cast from '_Bool' to unrelated 'float _Complex' [247] */ 756 fcomplex_ptr = (typeof(fcomplex_ptr))bool_ptr; 757 fcomplex_ptr = (typeof(fcomplex_ptr))char_ptr; 758 /* expect+1: warning: pointer cast from 'signed char' to unrelated 'float _Complex' [247] */ 759 fcomplex_ptr = (typeof(fcomplex_ptr))schar_ptr; 760 fcomplex_ptr = (typeof(fcomplex_ptr))uchar_ptr; 761 /* expect+1: warning: pointer cast from 'short' to unrelated 'float _Complex' [247] */ 762 fcomplex_ptr = (typeof(fcomplex_ptr))short_ptr; 763 /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'float _Complex' [247] */ 764 fcomplex_ptr = (typeof(fcomplex_ptr))ushort_ptr; 765 /* expect+1: warning: pointer cast from 'int' to unrelated 'float _Complex' [247] */ 766 fcomplex_ptr = (typeof(fcomplex_ptr))int_ptr; 767 /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'float _Complex' [247] */ 768 fcomplex_ptr = (typeof(fcomplex_ptr))uint_ptr; 769 /* expect+1: warning: pointer cast from 'long' to unrelated 'float _Complex' [247] */ 770 fcomplex_ptr = (typeof(fcomplex_ptr))long_ptr; 771 /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'float _Complex' [247] */ 772 fcomplex_ptr = (typeof(fcomplex_ptr))ulong_ptr; 773 /* expect+1: warning: pointer cast from 'long long' to unrelated 'float _Complex' [247] */ 774 fcomplex_ptr = (typeof(fcomplex_ptr))llong_ptr; 775 /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'float _Complex' [247] */ 776 fcomplex_ptr = (typeof(fcomplex_ptr))ullong_ptr; 777 /* expect+1: warning: pointer cast from 'float' to unrelated 'float _Complex' [247] */ 778 fcomplex_ptr = (typeof(fcomplex_ptr))float_ptr; 779 /* expect+1: warning: pointer cast from 'double' to unrelated 'float _Complex' [247] */ 780 fcomplex_ptr = (typeof(fcomplex_ptr))double_ptr; 781 /* expect+1: warning: pointer cast from 'long double' to unrelated 'float _Complex' [247] */ 782 fcomplex_ptr = (typeof(fcomplex_ptr))ldouble_ptr; 783 fcomplex_ptr = (typeof(fcomplex_ptr))fcomplex_ptr; 784 /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'float _Complex' [247] */ 785 fcomplex_ptr = (typeof(fcomplex_ptr))dcomplex_ptr; 786 /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'float _Complex' [247] */ 787 fcomplex_ptr = (typeof(fcomplex_ptr))lcomplex_ptr; 788 fcomplex_ptr = (typeof(fcomplex_ptr))void_ptr; 789 /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'float _Complex' [247] */ 790 fcomplex_ptr = (typeof(fcomplex_ptr))char_struct_ptr; 791 /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'float _Complex' [247] */ 792 fcomplex_ptr = (typeof(fcomplex_ptr))double_struct_ptr; 793 /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'float _Complex' [247] */ 794 fcomplex_ptr = (typeof(fcomplex_ptr))char_union_ptr; 795 /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'float _Complex' [247] */ 796 fcomplex_ptr = (typeof(fcomplex_ptr))double_union_ptr; 797 /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'float _Complex' [247] */ 798 fcomplex_ptr = (typeof(fcomplex_ptr))enum_ptr; 799 /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'float _Complex' [247] */ 800 fcomplex_ptr = (typeof(fcomplex_ptr))double_array_ptr; 801 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to float _Complex' is questionable [229] */ 802 fcomplex_ptr = (typeof(fcomplex_ptr))func_ptr; 803 804 /* expect+1: warning: pointer cast from '_Bool' to unrelated 'double _Complex' [247] */ 805 dcomplex_ptr = (typeof(dcomplex_ptr))bool_ptr; 806 dcomplex_ptr = (typeof(dcomplex_ptr))char_ptr; 807 /* expect+1: warning: pointer cast from 'signed char' to unrelated 'double _Complex' [247] */ 808 dcomplex_ptr = (typeof(dcomplex_ptr))schar_ptr; 809 dcomplex_ptr = (typeof(dcomplex_ptr))uchar_ptr; 810 /* expect+1: warning: pointer cast from 'short' to unrelated 'double _Complex' [247] */ 811 dcomplex_ptr = (typeof(dcomplex_ptr))short_ptr; 812 /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'double _Complex' [247] */ 813 dcomplex_ptr = (typeof(dcomplex_ptr))ushort_ptr; 814 /* expect+1: warning: pointer cast from 'int' to unrelated 'double _Complex' [247] */ 815 dcomplex_ptr = (typeof(dcomplex_ptr))int_ptr; 816 /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'double _Complex' [247] */ 817 dcomplex_ptr = (typeof(dcomplex_ptr))uint_ptr; 818 /* expect+1: warning: pointer cast from 'long' to unrelated 'double _Complex' [247] */ 819 dcomplex_ptr = (typeof(dcomplex_ptr))long_ptr; 820 /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'double _Complex' [247] */ 821 dcomplex_ptr = (typeof(dcomplex_ptr))ulong_ptr; 822 /* expect+1: warning: pointer cast from 'long long' to unrelated 'double _Complex' [247] */ 823 dcomplex_ptr = (typeof(dcomplex_ptr))llong_ptr; 824 /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'double _Complex' [247] */ 825 dcomplex_ptr = (typeof(dcomplex_ptr))ullong_ptr; 826 /* expect+1: warning: pointer cast from 'float' to unrelated 'double _Complex' [247] */ 827 dcomplex_ptr = (typeof(dcomplex_ptr))float_ptr; 828 /* expect+1: warning: pointer cast from 'double' to unrelated 'double _Complex' [247] */ 829 dcomplex_ptr = (typeof(dcomplex_ptr))double_ptr; 830 /* expect+1: warning: pointer cast from 'long double' to unrelated 'double _Complex' [247] */ 831 dcomplex_ptr = (typeof(dcomplex_ptr))ldouble_ptr; 832 /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'double _Complex' [247] */ 833 dcomplex_ptr = (typeof(dcomplex_ptr))fcomplex_ptr; 834 dcomplex_ptr = (typeof(dcomplex_ptr))dcomplex_ptr; 835 /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'double _Complex' [247] */ 836 dcomplex_ptr = (typeof(dcomplex_ptr))lcomplex_ptr; 837 dcomplex_ptr = (typeof(dcomplex_ptr))void_ptr; 838 /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'double _Complex' [247] */ 839 dcomplex_ptr = (typeof(dcomplex_ptr))char_struct_ptr; 840 /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'double _Complex' [247] */ 841 dcomplex_ptr = (typeof(dcomplex_ptr))double_struct_ptr; 842 /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'double _Complex' [247] */ 843 dcomplex_ptr = (typeof(dcomplex_ptr))char_union_ptr; 844 /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'double _Complex' [247] */ 845 dcomplex_ptr = (typeof(dcomplex_ptr))double_union_ptr; 846 /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'double _Complex' [247] */ 847 dcomplex_ptr = (typeof(dcomplex_ptr))enum_ptr; 848 /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'double _Complex' [247] */ 849 dcomplex_ptr = (typeof(dcomplex_ptr))double_array_ptr; 850 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to double _Complex' is questionable [229] */ 851 dcomplex_ptr = (typeof(dcomplex_ptr))func_ptr; 852 853 /* expect+1: warning: pointer cast from '_Bool' to unrelated 'long double _Complex' [247] */ 854 lcomplex_ptr = (typeof(lcomplex_ptr))bool_ptr; 855 lcomplex_ptr = (typeof(lcomplex_ptr))char_ptr; 856 /* expect+1: warning: pointer cast from 'signed char' to unrelated 'long double _Complex' [247] */ 857 lcomplex_ptr = (typeof(lcomplex_ptr))schar_ptr; 858 lcomplex_ptr = (typeof(lcomplex_ptr))uchar_ptr; 859 /* expect+1: warning: pointer cast from 'short' to unrelated 'long double _Complex' [247] */ 860 lcomplex_ptr = (typeof(lcomplex_ptr))short_ptr; 861 /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'long double _Complex' [247] */ 862 lcomplex_ptr = (typeof(lcomplex_ptr))ushort_ptr; 863 /* expect+1: warning: pointer cast from 'int' to unrelated 'long double _Complex' [247] */ 864 lcomplex_ptr = (typeof(lcomplex_ptr))int_ptr; 865 /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'long double _Complex' [247] */ 866 lcomplex_ptr = (typeof(lcomplex_ptr))uint_ptr; 867 /* expect+1: warning: pointer cast from 'long' to unrelated 'long double _Complex' [247] */ 868 lcomplex_ptr = (typeof(lcomplex_ptr))long_ptr; 869 /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'long double _Complex' [247] */ 870 lcomplex_ptr = (typeof(lcomplex_ptr))ulong_ptr; 871 /* expect+1: warning: pointer cast from 'long long' to unrelated 'long double _Complex' [247] */ 872 lcomplex_ptr = (typeof(lcomplex_ptr))llong_ptr; 873 /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'long double _Complex' [247] */ 874 lcomplex_ptr = (typeof(lcomplex_ptr))ullong_ptr; 875 /* expect+1: warning: pointer cast from 'float' to unrelated 'long double _Complex' [247] */ 876 lcomplex_ptr = (typeof(lcomplex_ptr))float_ptr; 877 /* expect+1: warning: pointer cast from 'double' to unrelated 'long double _Complex' [247] */ 878 lcomplex_ptr = (typeof(lcomplex_ptr))double_ptr; 879 /* expect+1: warning: pointer cast from 'long double' to unrelated 'long double _Complex' [247] */ 880 lcomplex_ptr = (typeof(lcomplex_ptr))ldouble_ptr; 881 /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'long double _Complex' [247] */ 882 lcomplex_ptr = (typeof(lcomplex_ptr))fcomplex_ptr; 883 /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'long double _Complex' [247] */ 884 lcomplex_ptr = (typeof(lcomplex_ptr))dcomplex_ptr; 885 lcomplex_ptr = (typeof(lcomplex_ptr))lcomplex_ptr; 886 lcomplex_ptr = (typeof(lcomplex_ptr))void_ptr; 887 /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'long double _Complex' [247] */ 888 lcomplex_ptr = (typeof(lcomplex_ptr))char_struct_ptr; 889 /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'long double _Complex' [247] */ 890 lcomplex_ptr = (typeof(lcomplex_ptr))double_struct_ptr; 891 /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'long double _Complex' [247] */ 892 lcomplex_ptr = (typeof(lcomplex_ptr))char_union_ptr; 893 /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'long double _Complex' [247] */ 894 lcomplex_ptr = (typeof(lcomplex_ptr))double_union_ptr; 895 /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'long double _Complex' [247] */ 896 lcomplex_ptr = (typeof(lcomplex_ptr))enum_ptr; 897 /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'long double _Complex' [247] */ 898 lcomplex_ptr = (typeof(lcomplex_ptr))double_array_ptr; 899 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to long double _Complex' is questionable [229] */ 900 lcomplex_ptr = (typeof(lcomplex_ptr))func_ptr; 901 902 void_ptr = (typeof(void_ptr))bool_ptr; 903 void_ptr = (typeof(void_ptr))char_ptr; 904 void_ptr = (typeof(void_ptr))schar_ptr; 905 void_ptr = (typeof(void_ptr))uchar_ptr; 906 void_ptr = (typeof(void_ptr))short_ptr; 907 void_ptr = (typeof(void_ptr))ushort_ptr; 908 void_ptr = (typeof(void_ptr))int_ptr; 909 void_ptr = (typeof(void_ptr))uint_ptr; 910 void_ptr = (typeof(void_ptr))long_ptr; 911 void_ptr = (typeof(void_ptr))ulong_ptr; 912 void_ptr = (typeof(void_ptr))llong_ptr; 913 void_ptr = (typeof(void_ptr))ullong_ptr; 914 void_ptr = (typeof(void_ptr))float_ptr; 915 void_ptr = (typeof(void_ptr))double_ptr; 916 void_ptr = (typeof(void_ptr))ldouble_ptr; 917 void_ptr = (typeof(void_ptr))fcomplex_ptr; 918 void_ptr = (typeof(void_ptr))dcomplex_ptr; 919 void_ptr = (typeof(void_ptr))lcomplex_ptr; 920 void_ptr = (typeof(void_ptr))void_ptr; 921 void_ptr = (typeof(void_ptr))char_struct_ptr; 922 void_ptr = (typeof(void_ptr))double_struct_ptr; 923 void_ptr = (typeof(void_ptr))char_union_ptr; 924 void_ptr = (typeof(void_ptr))double_union_ptr; 925 void_ptr = (typeof(void_ptr))enum_ptr; 926 void_ptr = (typeof(void_ptr))double_array_ptr; 927 void_ptr = (typeof(void_ptr))func_ptr; 928 929 /* expect+1: warning: pointer cast from '_Bool' to unrelated 'struct typedef char_struct' [247] */ 930 char_struct_ptr = (typeof(char_struct_ptr))bool_ptr; 931 char_struct_ptr = (typeof(char_struct_ptr))char_ptr; 932 /* expect+1: warning: pointer cast from 'signed char' to unrelated 'struct typedef char_struct' [247] */ 933 char_struct_ptr = (typeof(char_struct_ptr))schar_ptr; 934 char_struct_ptr = (typeof(char_struct_ptr))uchar_ptr; 935 /* expect+1: warning: pointer cast from 'short' to unrelated 'struct typedef char_struct' [247] */ 936 char_struct_ptr = (typeof(char_struct_ptr))short_ptr; 937 /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'struct typedef char_struct' [247] */ 938 char_struct_ptr = (typeof(char_struct_ptr))ushort_ptr; 939 /* expect+1: warning: pointer cast from 'int' to unrelated 'struct typedef char_struct' [247] */ 940 char_struct_ptr = (typeof(char_struct_ptr))int_ptr; 941 /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'struct typedef char_struct' [247] */ 942 char_struct_ptr = (typeof(char_struct_ptr))uint_ptr; 943 /* expect+1: warning: pointer cast from 'long' to unrelated 'struct typedef char_struct' [247] */ 944 char_struct_ptr = (typeof(char_struct_ptr))long_ptr; 945 /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'struct typedef char_struct' [247] */ 946 char_struct_ptr = (typeof(char_struct_ptr))ulong_ptr; 947 /* expect+1: warning: pointer cast from 'long long' to unrelated 'struct typedef char_struct' [247] */ 948 char_struct_ptr = (typeof(char_struct_ptr))llong_ptr; 949 /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'struct typedef char_struct' [247] */ 950 char_struct_ptr = (typeof(char_struct_ptr))ullong_ptr; 951 /* expect+1: warning: pointer cast from 'float' to unrelated 'struct typedef char_struct' [247] */ 952 char_struct_ptr = (typeof(char_struct_ptr))float_ptr; 953 /* expect+1: warning: pointer cast from 'double' to unrelated 'struct typedef char_struct' [247] */ 954 char_struct_ptr = (typeof(char_struct_ptr))double_ptr; 955 /* expect+1: warning: pointer cast from 'long double' to unrelated 'struct typedef char_struct' [247] */ 956 char_struct_ptr = (typeof(char_struct_ptr))ldouble_ptr; 957 /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'struct typedef char_struct' [247] */ 958 char_struct_ptr = (typeof(char_struct_ptr))fcomplex_ptr; 959 /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'struct typedef char_struct' [247] */ 960 char_struct_ptr = (typeof(char_struct_ptr))dcomplex_ptr; 961 /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'struct typedef char_struct' [247] */ 962 char_struct_ptr = (typeof(char_struct_ptr))lcomplex_ptr; 963 char_struct_ptr = (typeof(char_struct_ptr))void_ptr; 964 char_struct_ptr = (typeof(char_struct_ptr))char_struct_ptr; 965 /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'struct typedef char_struct' [247] */ 966 char_struct_ptr = (typeof(char_struct_ptr))double_struct_ptr; 967 /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'struct typedef char_struct' [247] */ 968 char_struct_ptr = (typeof(char_struct_ptr))char_union_ptr; 969 /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'struct typedef char_struct' [247] */ 970 char_struct_ptr = (typeof(char_struct_ptr))double_union_ptr; 971 /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'struct typedef char_struct' [247] */ 972 char_struct_ptr = (typeof(char_struct_ptr))enum_ptr; 973 /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'struct typedef char_struct' [247] */ 974 char_struct_ptr = (typeof(char_struct_ptr))double_array_ptr; 975 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to struct typedef char_struct' is questionable [229] */ 976 char_struct_ptr = (typeof(char_struct_ptr))func_ptr; 977 978 /* expect+1: warning: pointer cast from '_Bool' to unrelated 'struct typedef double_struct' [247] */ 979 double_struct_ptr = (typeof(double_struct_ptr))bool_ptr; 980 double_struct_ptr = (typeof(double_struct_ptr))char_ptr; 981 /* expect+1: warning: pointer cast from 'signed char' to unrelated 'struct typedef double_struct' [247] */ 982 double_struct_ptr = (typeof(double_struct_ptr))schar_ptr; 983 double_struct_ptr = (typeof(double_struct_ptr))uchar_ptr; 984 /* expect+1: warning: pointer cast from 'short' to unrelated 'struct typedef double_struct' [247] */ 985 double_struct_ptr = (typeof(double_struct_ptr))short_ptr; 986 /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'struct typedef double_struct' [247] */ 987 double_struct_ptr = (typeof(double_struct_ptr))ushort_ptr; 988 /* expect+1: warning: pointer cast from 'int' to unrelated 'struct typedef double_struct' [247] */ 989 double_struct_ptr = (typeof(double_struct_ptr))int_ptr; 990 /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'struct typedef double_struct' [247] */ 991 double_struct_ptr = (typeof(double_struct_ptr))uint_ptr; 992 /* expect+1: warning: pointer cast from 'long' to unrelated 'struct typedef double_struct' [247] */ 993 double_struct_ptr = (typeof(double_struct_ptr))long_ptr; 994 /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'struct typedef double_struct' [247] */ 995 double_struct_ptr = (typeof(double_struct_ptr))ulong_ptr; 996 /* expect+1: warning: pointer cast from 'long long' to unrelated 'struct typedef double_struct' [247] */ 997 double_struct_ptr = (typeof(double_struct_ptr))llong_ptr; 998 /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'struct typedef double_struct' [247] */ 999 double_struct_ptr = (typeof(double_struct_ptr))ullong_ptr; 1000 /* expect+1: warning: pointer cast from 'float' to unrelated 'struct typedef double_struct' [247] */ 1001 double_struct_ptr = (typeof(double_struct_ptr))float_ptr; 1002 /* expect+1: warning: pointer cast from 'double' to unrelated 'struct typedef double_struct' [247] */ 1003 double_struct_ptr = (typeof(double_struct_ptr))double_ptr; 1004 /* expect+1: warning: pointer cast from 'long double' to unrelated 'struct typedef double_struct' [247] */ 1005 double_struct_ptr = (typeof(double_struct_ptr))ldouble_ptr; 1006 /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'struct typedef double_struct' [247] */ 1007 double_struct_ptr = (typeof(double_struct_ptr))fcomplex_ptr; 1008 /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'struct typedef double_struct' [247] */ 1009 double_struct_ptr = (typeof(double_struct_ptr))dcomplex_ptr; 1010 /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'struct typedef double_struct' [247] */ 1011 double_struct_ptr = (typeof(double_struct_ptr))lcomplex_ptr; 1012 double_struct_ptr = (typeof(double_struct_ptr))void_ptr; 1013 /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'struct typedef double_struct' [247] */ 1014 double_struct_ptr = (typeof(double_struct_ptr))char_struct_ptr; 1015 double_struct_ptr = (typeof(double_struct_ptr))double_struct_ptr; 1016 /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'struct typedef double_struct' [247] */ 1017 double_struct_ptr = (typeof(double_struct_ptr))char_union_ptr; 1018 /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'struct typedef double_struct' [247] */ 1019 double_struct_ptr = (typeof(double_struct_ptr))double_union_ptr; 1020 /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'struct typedef double_struct' [247] */ 1021 double_struct_ptr = (typeof(double_struct_ptr))enum_ptr; 1022 /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'struct typedef double_struct' [247] */ 1023 double_struct_ptr = (typeof(double_struct_ptr))double_array_ptr; 1024 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to struct typedef double_struct' is questionable [229] */ 1025 double_struct_ptr = (typeof(double_struct_ptr))func_ptr; 1026 1027 /* expect+1: warning: pointer cast from '_Bool' to unrelated 'union typedef char_union' [247] */ 1028 char_union_ptr = (typeof(char_union_ptr))bool_ptr; 1029 char_union_ptr = (typeof(char_union_ptr))char_ptr; 1030 /* expect+1: warning: pointer cast from 'signed char' to unrelated 'union typedef char_union' [247] */ 1031 char_union_ptr = (typeof(char_union_ptr))schar_ptr; 1032 char_union_ptr = (typeof(char_union_ptr))uchar_ptr; 1033 /* expect+1: warning: pointer cast from 'short' to unrelated 'union typedef char_union' [247] */ 1034 char_union_ptr = (typeof(char_union_ptr))short_ptr; 1035 /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'union typedef char_union' [247] */ 1036 char_union_ptr = (typeof(char_union_ptr))ushort_ptr; 1037 /* expect+1: warning: pointer cast from 'int' to unrelated 'union typedef char_union' [247] */ 1038 char_union_ptr = (typeof(char_union_ptr))int_ptr; 1039 /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'union typedef char_union' [247] */ 1040 char_union_ptr = (typeof(char_union_ptr))uint_ptr; 1041 /* expect+1: warning: pointer cast from 'long' to unrelated 'union typedef char_union' [247] */ 1042 char_union_ptr = (typeof(char_union_ptr))long_ptr; 1043 /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'union typedef char_union' [247] */ 1044 char_union_ptr = (typeof(char_union_ptr))ulong_ptr; 1045 /* expect+1: warning: pointer cast from 'long long' to unrelated 'union typedef char_union' [247] */ 1046 char_union_ptr = (typeof(char_union_ptr))llong_ptr; 1047 /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'union typedef char_union' [247] */ 1048 char_union_ptr = (typeof(char_union_ptr))ullong_ptr; 1049 /* expect+1: warning: pointer cast from 'float' to unrelated 'union typedef char_union' [247] */ 1050 char_union_ptr = (typeof(char_union_ptr))float_ptr; 1051 /* expect+1: warning: pointer cast from 'double' to unrelated 'union typedef char_union' [247] */ 1052 char_union_ptr = (typeof(char_union_ptr))double_ptr; 1053 /* expect+1: warning: pointer cast from 'long double' to unrelated 'union typedef char_union' [247] */ 1054 char_union_ptr = (typeof(char_union_ptr))ldouble_ptr; 1055 /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'union typedef char_union' [247] */ 1056 char_union_ptr = (typeof(char_union_ptr))fcomplex_ptr; 1057 /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'union typedef char_union' [247] */ 1058 char_union_ptr = (typeof(char_union_ptr))dcomplex_ptr; 1059 /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'union typedef char_union' [247] */ 1060 char_union_ptr = (typeof(char_union_ptr))lcomplex_ptr; 1061 char_union_ptr = (typeof(char_union_ptr))void_ptr; 1062 /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'union typedef char_union' [247] */ 1063 char_union_ptr = (typeof(char_union_ptr))char_struct_ptr; 1064 /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'union typedef char_union' [247] */ 1065 char_union_ptr = (typeof(char_union_ptr))double_struct_ptr; 1066 char_union_ptr = (typeof(char_union_ptr))char_union_ptr; 1067 /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'union typedef char_union' [247] */ 1068 char_union_ptr = (typeof(char_union_ptr))double_union_ptr; 1069 /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'union typedef char_union' [247] */ 1070 char_union_ptr = (typeof(char_union_ptr))enum_ptr; 1071 /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'union typedef char_union' [247] */ 1072 char_union_ptr = (typeof(char_union_ptr))double_array_ptr; 1073 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to union typedef char_union' is questionable [229] */ 1074 char_union_ptr = (typeof(char_union_ptr))func_ptr; 1075 1076 /* expect+1: warning: pointer cast from '_Bool' to unrelated 'union typedef double_union' [247] */ 1077 double_union_ptr = (typeof(double_union_ptr))bool_ptr; 1078 double_union_ptr = (typeof(double_union_ptr))char_ptr; 1079 /* expect+1: warning: pointer cast from 'signed char' to unrelated 'union typedef double_union' [247] */ 1080 double_union_ptr = (typeof(double_union_ptr))schar_ptr; 1081 double_union_ptr = (typeof(double_union_ptr))uchar_ptr; 1082 /* expect+1: warning: pointer cast from 'short' to unrelated 'union typedef double_union' [247] */ 1083 double_union_ptr = (typeof(double_union_ptr))short_ptr; 1084 /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'union typedef double_union' [247] */ 1085 double_union_ptr = (typeof(double_union_ptr))ushort_ptr; 1086 /* expect+1: warning: pointer cast from 'int' to unrelated 'union typedef double_union' [247] */ 1087 double_union_ptr = (typeof(double_union_ptr))int_ptr; 1088 /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'union typedef double_union' [247] */ 1089 double_union_ptr = (typeof(double_union_ptr))uint_ptr; 1090 /* expect+1: warning: pointer cast from 'long' to unrelated 'union typedef double_union' [247] */ 1091 double_union_ptr = (typeof(double_union_ptr))long_ptr; 1092 /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'union typedef double_union' [247] */ 1093 double_union_ptr = (typeof(double_union_ptr))ulong_ptr; 1094 /* expect+1: warning: pointer cast from 'long long' to unrelated 'union typedef double_union' [247] */ 1095 double_union_ptr = (typeof(double_union_ptr))llong_ptr; 1096 /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'union typedef double_union' [247] */ 1097 double_union_ptr = (typeof(double_union_ptr))ullong_ptr; 1098 /* expect+1: warning: pointer cast from 'float' to unrelated 'union typedef double_union' [247] */ 1099 double_union_ptr = (typeof(double_union_ptr))float_ptr; 1100 double_union_ptr = (typeof(double_union_ptr))double_ptr; 1101 /* expect+1: warning: pointer cast from 'long double' to unrelated 'union typedef double_union' [247] */ 1102 double_union_ptr = (typeof(double_union_ptr))ldouble_ptr; 1103 /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'union typedef double_union' [247] */ 1104 double_union_ptr = (typeof(double_union_ptr))fcomplex_ptr; 1105 /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'union typedef double_union' [247] */ 1106 double_union_ptr = (typeof(double_union_ptr))dcomplex_ptr; 1107 /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'union typedef double_union' [247] */ 1108 double_union_ptr = (typeof(double_union_ptr))lcomplex_ptr; 1109 double_union_ptr = (typeof(double_union_ptr))void_ptr; 1110 /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'union typedef double_union' [247] */ 1111 double_union_ptr = (typeof(double_union_ptr))char_struct_ptr; 1112 /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'union typedef double_union' [247] */ 1113 double_union_ptr = (typeof(double_union_ptr))double_struct_ptr; 1114 /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'union typedef double_union' [247] */ 1115 double_union_ptr = (typeof(double_union_ptr))char_union_ptr; 1116 double_union_ptr = (typeof(double_union_ptr))double_union_ptr; 1117 /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'union typedef double_union' [247] */ 1118 double_union_ptr = (typeof(double_union_ptr))enum_ptr; 1119 double_union_ptr = (typeof(double_union_ptr))double_array_ptr; 1120 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to union typedef double_union' is questionable [229] */ 1121 double_union_ptr = (typeof(double_union_ptr))func_ptr; 1122 1123 /* expect+1: warning: pointer cast from '_Bool' to unrelated 'enum typedef int_enum' [247] */ 1124 enum_ptr = (typeof(enum_ptr))bool_ptr; 1125 enum_ptr = (typeof(enum_ptr))char_ptr; 1126 /* expect+1: warning: pointer cast from 'signed char' to unrelated 'enum typedef int_enum' [247] */ 1127 enum_ptr = (typeof(enum_ptr))schar_ptr; 1128 enum_ptr = (typeof(enum_ptr))uchar_ptr; 1129 /* expect+1: warning: pointer cast from 'short' to unrelated 'enum typedef int_enum' [247] */ 1130 enum_ptr = (typeof(enum_ptr))short_ptr; 1131 /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'enum typedef int_enum' [247] */ 1132 enum_ptr = (typeof(enum_ptr))ushort_ptr; 1133 enum_ptr = (typeof(enum_ptr))int_ptr; 1134 enum_ptr = (typeof(enum_ptr))uint_ptr; 1135 /* XXX: only on 'long' platforms: expect+1: warning: pointer cast from 'long' to unrelated 'enum typedef int_enum' [247] */ 1136 enum_ptr = (typeof(enum_ptr))long_ptr; 1137 /* XXX: only on 'long' platforms: expect+1: warning: pointer cast from 'unsigned long' to unrelated 'enum typedef int_enum' [247] */ 1138 enum_ptr = (typeof(enum_ptr))ulong_ptr; 1139 /* expect+1: warning: pointer cast from 'long long' to unrelated 'enum typedef int_enum' [247] */ 1140 enum_ptr = (typeof(enum_ptr))llong_ptr; 1141 /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'enum typedef int_enum' [247] */ 1142 enum_ptr = (typeof(enum_ptr))ullong_ptr; 1143 /* expect+1: warning: pointer cast from 'float' to unrelated 'enum typedef int_enum' [247] */ 1144 enum_ptr = (typeof(enum_ptr))float_ptr; 1145 /* expect+1: warning: pointer cast from 'double' to unrelated 'enum typedef int_enum' [247] */ 1146 enum_ptr = (typeof(enum_ptr))double_ptr; 1147 /* expect+1: warning: pointer cast from 'long double' to unrelated 'enum typedef int_enum' [247] */ 1148 enum_ptr = (typeof(enum_ptr))ldouble_ptr; 1149 /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'enum typedef int_enum' [247] */ 1150 enum_ptr = (typeof(enum_ptr))fcomplex_ptr; 1151 /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'enum typedef int_enum' [247] */ 1152 enum_ptr = (typeof(enum_ptr))dcomplex_ptr; 1153 /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'enum typedef int_enum' [247] */ 1154 enum_ptr = (typeof(enum_ptr))lcomplex_ptr; 1155 enum_ptr = (typeof(enum_ptr))void_ptr; 1156 /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'enum typedef int_enum' [247] */ 1157 enum_ptr = (typeof(enum_ptr))char_struct_ptr; 1158 /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'enum typedef int_enum' [247] */ 1159 enum_ptr = (typeof(enum_ptr))double_struct_ptr; 1160 /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'enum typedef int_enum' [247] */ 1161 enum_ptr = (typeof(enum_ptr))char_union_ptr; 1162 /* expect+1: warning: pointer cast from 'union typedef double_union' to unrelated 'enum typedef int_enum' [247] */ 1163 enum_ptr = (typeof(enum_ptr))double_union_ptr; 1164 enum_ptr = (typeof(enum_ptr))enum_ptr; 1165 /* expect+1: warning: pointer cast from 'array[5] of double' to unrelated 'enum typedef int_enum' [247] */ 1166 enum_ptr = (typeof(enum_ptr))double_array_ptr; 1167 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to enum typedef int_enum' is questionable [229] */ 1168 enum_ptr = (typeof(enum_ptr))func_ptr; 1169 1170 /* expect+1: warning: pointer cast from '_Bool' to unrelated 'array[5] of double' [247] */ 1171 double_array_ptr = (typeof(double_array_ptr))bool_ptr; 1172 double_array_ptr = (typeof(double_array_ptr))char_ptr; 1173 /* expect+1: warning: pointer cast from 'signed char' to unrelated 'array[5] of double' [247] */ 1174 double_array_ptr = (typeof(double_array_ptr))schar_ptr; 1175 double_array_ptr = (typeof(double_array_ptr))uchar_ptr; 1176 /* expect+1: warning: pointer cast from 'short' to unrelated 'array[5] of double' [247] */ 1177 double_array_ptr = (typeof(double_array_ptr))short_ptr; 1178 /* expect+1: warning: pointer cast from 'unsigned short' to unrelated 'array[5] of double' [247] */ 1179 double_array_ptr = (typeof(double_array_ptr))ushort_ptr; 1180 /* expect+1: warning: pointer cast from 'int' to unrelated 'array[5] of double' [247] */ 1181 double_array_ptr = (typeof(double_array_ptr))int_ptr; 1182 /* expect+1: warning: pointer cast from 'unsigned int' to unrelated 'array[5] of double' [247] */ 1183 double_array_ptr = (typeof(double_array_ptr))uint_ptr; 1184 /* expect+1: warning: pointer cast from 'long' to unrelated 'array[5] of double' [247] */ 1185 double_array_ptr = (typeof(double_array_ptr))long_ptr; 1186 /* expect+1: warning: pointer cast from 'unsigned long' to unrelated 'array[5] of double' [247] */ 1187 double_array_ptr = (typeof(double_array_ptr))ulong_ptr; 1188 /* expect+1: warning: pointer cast from 'long long' to unrelated 'array[5] of double' [247] */ 1189 double_array_ptr = (typeof(double_array_ptr))llong_ptr; 1190 /* expect+1: warning: pointer cast from 'unsigned long long' to unrelated 'array[5] of double' [247] */ 1191 double_array_ptr = (typeof(double_array_ptr))ullong_ptr; 1192 /* expect+1: warning: pointer cast from 'float' to unrelated 'array[5] of double' [247] */ 1193 double_array_ptr = (typeof(double_array_ptr))float_ptr; 1194 double_array_ptr = (typeof(double_array_ptr))double_ptr; 1195 /* expect+1: warning: pointer cast from 'long double' to unrelated 'array[5] of double' [247] */ 1196 double_array_ptr = (typeof(double_array_ptr))ldouble_ptr; 1197 /* expect+1: warning: pointer cast from 'float _Complex' to unrelated 'array[5] of double' [247] */ 1198 double_array_ptr = (typeof(double_array_ptr))fcomplex_ptr; 1199 /* expect+1: warning: pointer cast from 'double _Complex' to unrelated 'array[5] of double' [247] */ 1200 double_array_ptr = (typeof(double_array_ptr))dcomplex_ptr; 1201 /* expect+1: warning: pointer cast from 'long double _Complex' to unrelated 'array[5] of double' [247] */ 1202 double_array_ptr = (typeof(double_array_ptr))lcomplex_ptr; 1203 double_array_ptr = (typeof(double_array_ptr))void_ptr; 1204 /* expect+1: warning: pointer cast from 'struct typedef char_struct' to unrelated 'array[5] of double' [247] */ 1205 double_array_ptr = (typeof(double_array_ptr))char_struct_ptr; 1206 /* expect+1: warning: pointer cast from 'struct typedef double_struct' to unrelated 'array[5] of double' [247] */ 1207 double_array_ptr = (typeof(double_array_ptr))double_struct_ptr; 1208 /* expect+1: warning: pointer cast from 'union typedef char_union' to unrelated 'array[5] of double' [247] */ 1209 double_array_ptr = (typeof(double_array_ptr))char_union_ptr; 1210 double_array_ptr = (typeof(double_array_ptr))double_union_ptr; 1211 /* expect+1: warning: pointer cast from 'enum typedef int_enum' to unrelated 'array[5] of double' [247] */ 1212 double_array_ptr = (typeof(double_array_ptr))enum_ptr; 1213 double_array_ptr = (typeof(double_array_ptr))double_array_ptr; 1214 /* expect+1: warning: converting 'pointer to function(void) returning void' to 'pointer to array[5] of double' is questionable [229] */ 1215 double_array_ptr = (typeof(double_array_ptr))func_ptr; 1216 1217 /* expect+1: warning: converting 'pointer to _Bool' to 'pointer to function(void) returning void' is questionable [229] */ 1218 func_ptr = (typeof(func_ptr))bool_ptr; 1219 /* expect+1: warning: converting 'pointer to char' to 'pointer to function(void) returning void' is questionable [229] */ 1220 func_ptr = (typeof(func_ptr))char_ptr; 1221 /* expect+1: warning: converting 'pointer to signed char' to 'pointer to function(void) returning void' is questionable [229] */ 1222 func_ptr = (typeof(func_ptr))schar_ptr; 1223 /* expect+1: warning: converting 'pointer to unsigned char' to 'pointer to function(void) returning void' is questionable [229] */ 1224 func_ptr = (typeof(func_ptr))uchar_ptr; 1225 /* expect+1: warning: converting 'pointer to short' to 'pointer to function(void) returning void' is questionable [229] */ 1226 func_ptr = (typeof(func_ptr))short_ptr; 1227 /* expect+1: warning: converting 'pointer to unsigned short' to 'pointer to function(void) returning void' is questionable [229] */ 1228 func_ptr = (typeof(func_ptr))ushort_ptr; 1229 /* expect+1: warning: converting 'pointer to int' to 'pointer to function(void) returning void' is questionable [229] */ 1230 func_ptr = (typeof(func_ptr))int_ptr; 1231 /* expect+1: warning: converting 'pointer to unsigned int' to 'pointer to function(void) returning void' is questionable [229] */ 1232 func_ptr = (typeof(func_ptr))uint_ptr; 1233 /* expect+1: warning: converting 'pointer to long' to 'pointer to function(void) returning void' is questionable [229] */ 1234 func_ptr = (typeof(func_ptr))long_ptr; 1235 /* expect+1: warning: converting 'pointer to unsigned long' to 'pointer to function(void) returning void' is questionable [229] */ 1236 func_ptr = (typeof(func_ptr))ulong_ptr; 1237 /* expect+1: warning: converting 'pointer to long long' to 'pointer to function(void) returning void' is questionable [229] */ 1238 func_ptr = (typeof(func_ptr))llong_ptr; 1239 /* expect+1: warning: converting 'pointer to unsigned long long' to 'pointer to function(void) returning void' is questionable [229] */ 1240 func_ptr = (typeof(func_ptr))ullong_ptr; 1241 /* expect+1: warning: converting 'pointer to float' to 'pointer to function(void) returning void' is questionable [229] */ 1242 func_ptr = (typeof(func_ptr))float_ptr; 1243 /* expect+1: warning: converting 'pointer to double' to 'pointer to function(void) returning void' is questionable [229] */ 1244 func_ptr = (typeof(func_ptr))double_ptr; 1245 /* expect+1: warning: converting 'pointer to long double' to 'pointer to function(void) returning void' is questionable [229] */ 1246 func_ptr = (typeof(func_ptr))ldouble_ptr; 1247 /* expect+1: warning: converting 'pointer to float _Complex' to 'pointer to function(void) returning void' is questionable [229] */ 1248 func_ptr = (typeof(func_ptr))fcomplex_ptr; 1249 /* expect+1: warning: converting 'pointer to double _Complex' to 'pointer to function(void) returning void' is questionable [229] */ 1250 func_ptr = (typeof(func_ptr))dcomplex_ptr; 1251 /* expect+1: warning: converting 'pointer to long double _Complex' to 'pointer to function(void) returning void' is questionable [229] */ 1252 func_ptr = (typeof(func_ptr))lcomplex_ptr; 1253 func_ptr = (typeof(func_ptr))void_ptr; 1254 /* expect+1: warning: converting 'pointer to struct typedef char_struct' to 'pointer to function(void) returning void' is questionable [229] */ 1255 func_ptr = (typeof(func_ptr))char_struct_ptr; 1256 /* expect+1: warning: converting 'pointer to struct typedef double_struct' to 'pointer to function(void) returning void' is questionable [229] */ 1257 func_ptr = (typeof(func_ptr))double_struct_ptr; 1258 /* expect+1: warning: converting 'pointer to union typedef char_union' to 'pointer to function(void) returning void' is questionable [229] */ 1259 func_ptr = (typeof(func_ptr))char_union_ptr; 1260 /* expect+1: warning: converting 'pointer to union typedef double_union' to 'pointer to function(void) returning void' is questionable [229] */ 1261 func_ptr = (typeof(func_ptr))double_union_ptr; 1262 /* expect+1: warning: converting 'pointer to enum typedef int_enum' to 'pointer to function(void) returning void' is questionable [229] */ 1263 func_ptr = (typeof(func_ptr))enum_ptr; 1264 /* expect+1: warning: converting 'pointer to array[5] of double' to 'pointer to function(void) returning void' is questionable [229] */ 1265 func_ptr = (typeof(func_ptr))double_array_ptr; 1266 func_ptr = (typeof(func_ptr))func_ptr; 1267 } 1268