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