source: CIVL/mods/dev.civl.abc/examples/svcomp/integerpromotion_false-unreach-call.i

main
Last change on this file was aad342c, checked in by Stephen Siegel <siegel@…>, 3 years ago

Performing huge refactor to incorporate ABC, GMC, and SARL into CIVL repo and use Java modules.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5664 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 18.5 KB
RevLine 
[aad342c]1extern void __VERIFIER_error() __attribute__ ((__noreturn__));
2
3# 1 "./integerpromotion_unsafe.c"
4# 1 "<eingebaut>"
5# 1 "<Kommandozeile>"
6# 1 "./integerpromotion_unsafe.c"
7# 1 "/usr/include/stdio.h" 1 3 4
8# 28 "/usr/include/stdio.h" 3 4
9# 1 "/usr/include/features.h" 1 3 4
10# 358 "/usr/include/features.h" 3 4
11# 1 "/usr/include/sys/cdefs.h" 1 3 4
12# 378 "/usr/include/sys/cdefs.h" 3 4
13# 1 "/usr/include/bits/wordsize.h" 1 3 4
14# 379 "/usr/include/sys/cdefs.h" 2 3 4
15# 359 "/usr/include/features.h" 2 3 4
16# 382 "/usr/include/features.h" 3 4
17# 1 "/usr/include/gnu/stubs.h" 1 3 4
18
19
20
21# 1 "/usr/include/bits/wordsize.h" 1 3 4
22# 5 "/usr/include/gnu/stubs.h" 2 3 4
23
24
25
26
27# 1 "/usr/include/gnu/stubs-64.h" 1 3 4
28# 10 "/usr/include/gnu/stubs.h" 2 3 4
29# 383 "/usr/include/features.h" 2 3 4
30# 29 "/usr/include/stdio.h" 2 3 4
31
32
33
34
35
36# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/stddef.h" 1 3 4
37# 212 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/stddef.h" 3 4
38typedef long unsigned int size_t;
39# 35 "/usr/include/stdio.h" 2 3 4
40
41# 1 "/usr/include/bits/types.h" 1 3 4
42# 28 "/usr/include/bits/types.h" 3 4
43# 1 "/usr/include/bits/wordsize.h" 1 3 4
44# 29 "/usr/include/bits/types.h" 2 3 4
45
46
47typedef unsigned char __u_char;
48typedef unsigned short int __u_short;
49typedef unsigned int __u_int;
50typedef unsigned long int __u_long;
51
52
53typedef signed char __int8_t;
54typedef unsigned char __uint8_t;
55typedef signed short int __int16_t;
56typedef unsigned short int __uint16_t;
57typedef signed int __int32_t;
58typedef unsigned int __uint32_t;
59
60typedef signed long int __int64_t;
61typedef unsigned long int __uint64_t;
62
63
64
65
66
67
68
69typedef long int __quad_t;
70typedef unsigned long int __u_quad_t;
71# 131 "/usr/include/bits/types.h" 3 4
72# 1 "/usr/include/bits/typesizes.h" 1 3 4
73# 132 "/usr/include/bits/types.h" 2 3 4
74
75
76typedef unsigned long int __dev_t;
77typedef unsigned int __uid_t;
78typedef unsigned int __gid_t;
79typedef unsigned long int __ino_t;
80typedef unsigned long int __ino64_t;
81typedef unsigned int __mode_t;
82typedef unsigned long int __nlink_t;
83typedef long int __off_t;
84typedef long int __off64_t;
85typedef int __pid_t;
86typedef struct { int __val[2]; } __fsid_t;
87typedef long int __clock_t;
88typedef unsigned long int __rlim_t;
89typedef unsigned long int __rlim64_t;
90typedef unsigned int __id_t;
91typedef long int __time_t;
92typedef unsigned int __useconds_t;
93typedef long int __suseconds_t;
94
95typedef int __daddr_t;
96typedef long int __swblk_t;
97typedef int __key_t;
98
99
100typedef int __clockid_t;
101
102
103typedef void * __timer_t;
104
105
106typedef long int __blksize_t;
107
108
109
110
111typedef long int __blkcnt_t;
112typedef long int __blkcnt64_t;
113
114
115typedef unsigned long int __fsblkcnt_t;
116typedef unsigned long int __fsblkcnt64_t;
117
118
119typedef unsigned long int __fsfilcnt_t;
120typedef unsigned long int __fsfilcnt64_t;
121
122typedef long int __ssize_t;
123
124
125
126typedef __off64_t __loff_t;
127typedef __quad_t *__qaddr_t;
128typedef char *__caddr_t;
129
130
131typedef long int __intptr_t;
132
133
134typedef unsigned int __socklen_t;
135# 37 "/usr/include/stdio.h" 2 3 4
136# 45 "/usr/include/stdio.h" 3 4
137struct _IO_FILE;
138
139
140
141typedef struct _IO_FILE FILE;
142
143
144
145
146
147# 65 "/usr/include/stdio.h" 3 4
148typedef struct _IO_FILE __FILE;
149# 75 "/usr/include/stdio.h" 3 4
150# 1 "/usr/include/libio.h" 1 3 4
151# 32 "/usr/include/libio.h" 3 4
152# 1 "/usr/include/_G_config.h" 1 3 4
153# 15 "/usr/include/_G_config.h" 3 4
154# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/stddef.h" 1 3 4
155# 16 "/usr/include/_G_config.h" 2 3 4
156
157
158
159
160# 1 "/usr/include/wchar.h" 1 3 4
161# 83 "/usr/include/wchar.h" 3 4
162typedef struct
163{
164 int __count;
165 union
166 {
167
168 unsigned int __wch;
169
170
171
172 char __wchb[4];
173 } __value;
174} __mbstate_t;
175# 21 "/usr/include/_G_config.h" 2 3 4
176
177typedef struct
178{
179 __off_t __pos;
180 __mbstate_t __state;
181} _G_fpos_t;
182typedef struct
183{
184 __off64_t __pos;
185 __mbstate_t __state;
186} _G_fpos64_t;
187# 53 "/usr/include/_G_config.h" 3 4
188typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
189typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
190typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
191typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
192# 33 "/usr/include/libio.h" 2 3 4
193# 53 "/usr/include/libio.h" 3 4
194# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/stdarg.h" 1 3 4
195# 40 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/stdarg.h" 3 4
196typedef __builtin_va_list __gnuc_va_list;
197# 54 "/usr/include/libio.h" 2 3 4
198# 172 "/usr/include/libio.h" 3 4
199struct _IO_jump_t; struct _IO_FILE;
200# 182 "/usr/include/libio.h" 3 4
201typedef void _IO_lock_t;
202
203
204
205
206
207struct _IO_marker {
208 struct _IO_marker *_next;
209 struct _IO_FILE *_sbuf;
210
211
212
213 int _pos;
214# 205 "/usr/include/libio.h" 3 4
215};
216
217
218enum __codecvt_result
219{
220 __codecvt_ok,
221 __codecvt_partial,
222 __codecvt_error,
223 __codecvt_noconv
224};
225# 273 "/usr/include/libio.h" 3 4
226struct _IO_FILE {
227 int _flags;
228
229
230
231
232 char* _IO_read_ptr;
233 char* _IO_read_end;
234 char* _IO_read_base;
235 char* _IO_write_base;
236 char* _IO_write_ptr;
237 char* _IO_write_end;
238 char* _IO_buf_base;
239 char* _IO_buf_end;
240
241 char *_IO_save_base;
242 char *_IO_backup_base;
243 char *_IO_save_end;
244
245 struct _IO_marker *_markers;
246
247 struct _IO_FILE *_chain;
248
249 int _fileno;
250
251
252
253 int _flags2;
254
255 __off_t _old_offset;
256
257
258
259 unsigned short _cur_column;
260 signed char _vtable_offset;
261 char _shortbuf[1];
262
263
264
265 _IO_lock_t *_lock;
266# 321 "/usr/include/libio.h" 3 4
267 __off64_t _offset;
268# 330 "/usr/include/libio.h" 3 4
269 void *__pad1;
270 void *__pad2;
271 void *__pad3;
272 void *__pad4;
273 size_t __pad5;
274
275 int _mode;
276
277 char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
278
279};
280
281
282typedef struct _IO_FILE _IO_FILE;
283
284
285struct _IO_FILE_plus;
286
287extern struct _IO_FILE_plus _IO_2_1_stdin_;
288extern struct _IO_FILE_plus _IO_2_1_stdout_;
289extern struct _IO_FILE_plus _IO_2_1_stderr_;
290# 366 "/usr/include/libio.h" 3 4
291typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
292
293
294
295
296
297
298
299typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
300 size_t __n);
301
302
303
304
305
306
307
308typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
309
310
311typedef int __io_close_fn (void *__cookie);
312# 418 "/usr/include/libio.h" 3 4
313extern int __underflow (_IO_FILE *);
314extern int __uflow (_IO_FILE *);
315extern int __overflow (_IO_FILE *, int);
316# 462 "/usr/include/libio.h" 3 4
317extern int _IO_getc (_IO_FILE *__fp);
318extern int _IO_putc (int __c, _IO_FILE *__fp);
319extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__));
320extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__));
321
322extern int _IO_peekc_locked (_IO_FILE *__fp);
323
324
325
326
327
328extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__));
329extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__));
330extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__));
331# 492 "/usr/include/libio.h" 3 4
332extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
333 __gnuc_va_list, int *__restrict);
334extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
335 __gnuc_va_list);
336extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t);
337extern size_t _IO_sgetn (_IO_FILE *, void *, size_t);
338
339extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int);
340extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int);
341
342extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__));
343# 76 "/usr/include/stdio.h" 2 3 4
344
345
346
347
348typedef __gnuc_va_list va_list;
349# 91 "/usr/include/stdio.h" 3 4
350typedef __off_t off_t;
351# 103 "/usr/include/stdio.h" 3 4
352typedef __ssize_t ssize_t;
353
354
355
356
357
358
359
360typedef _G_fpos_t fpos_t;
361
362
363
364
365# 165 "/usr/include/stdio.h" 3 4
366# 1 "/usr/include/bits/stdio_lim.h" 1 3 4
367# 166 "/usr/include/stdio.h" 2 3 4
368
369
370
371extern struct _IO_FILE *stdin;
372extern struct _IO_FILE *stdout;
373extern struct _IO_FILE *stderr;
374
375
376
377
378
379
380
381extern int remove (__const char *__filename) __attribute__ ((__nothrow__ , __leaf__));
382
383extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__ , __leaf__));
384
385
386
387
388extern int renameat (int __oldfd, __const char *__old, int __newfd,
389 __const char *__new) __attribute__ ((__nothrow__ , __leaf__));
390
391
392
393
394
395
396
397
398extern FILE *tmpfile (void) ;
399# 210 "/usr/include/stdio.h" 3 4
400extern char *tmpnam (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ;
401
402
403
404
405
406extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ;
407# 228 "/usr/include/stdio.h" 3 4
408extern char *tempnam (__const char *__dir, __const char *__pfx)
409 __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ;
410
411
412
413
414
415
416
417
418extern int fclose (FILE *__stream);
419
420
421
422
423extern int fflush (FILE *__stream);
424
425# 253 "/usr/include/stdio.h" 3 4
426extern int fflush_unlocked (FILE *__stream);
427# 267 "/usr/include/stdio.h" 3 4
428
429
430
431
432
433
434extern FILE *fopen (__const char *__restrict __filename,
435 __const char *__restrict __modes) ;
436
437
438
439
440extern FILE *freopen (__const char *__restrict __filename,
441 __const char *__restrict __modes,
442 FILE *__restrict __stream) ;
443# 296 "/usr/include/stdio.h" 3 4
444
445# 307 "/usr/include/stdio.h" 3 4
446extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) ;
447# 320 "/usr/include/stdio.h" 3 4
448extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes)
449 __attribute__ ((__nothrow__ , __leaf__)) ;
450
451
452
453
454extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ , __leaf__)) ;
455
456
457
458
459
460
461extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__));
462
463
464
465extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
466 int __modes, size_t __n) __attribute__ ((__nothrow__ , __leaf__));
467
468
469
470
471
472extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
473 size_t __size) __attribute__ ((__nothrow__ , __leaf__));
474
475
476extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
477
478
479
480
481
482
483
484
485extern int fprintf (FILE *__restrict __stream,
486 __const char *__restrict __format, ...);
487
488
489
490
491extern int printf (__const char *__restrict __format, ...);
492
493extern int sprintf (char *__restrict __s,
494 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
495
496
497
498
499
500extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
501 __gnuc_va_list __arg);
502
503
504
505
506extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
507
508extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
509 __gnuc_va_list __arg) __attribute__ ((__nothrow__));
510
511
512
513
514
515extern int snprintf (char *__restrict __s, size_t __maxlen,
516 __const char *__restrict __format, ...)
517 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
518
519extern int vsnprintf (char *__restrict __s, size_t __maxlen,
520 __const char *__restrict __format, __gnuc_va_list __arg)
521 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
522
523# 418 "/usr/include/stdio.h" 3 4
524extern int vdprintf (int __fd, __const char *__restrict __fmt,
525 __gnuc_va_list __arg)
526 __attribute__ ((__format__ (__printf__, 2, 0)));
527extern int dprintf (int __fd, __const char *__restrict __fmt, ...)
528 __attribute__ ((__format__ (__printf__, 2, 3)));
529
530
531
532
533
534
535
536
537extern int fscanf (FILE *__restrict __stream,
538 __const char *__restrict __format, ...) ;
539
540
541
542
543extern int scanf (__const char *__restrict __format, ...) ;
544
545extern int sscanf (__const char *__restrict __s,
546 __const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__));
547# 449 "/usr/include/stdio.h" 3 4
548extern int fscanf (FILE *__restrict __stream, __const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf")
549
550 ;
551extern int scanf (__const char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf")
552 ;
553extern int sscanf (__const char *__restrict __s, __const char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf") __attribute__ ((__nothrow__ , __leaf__))
554
555 ;
556# 469 "/usr/include/stdio.h" 3 4
557
558
559
560
561
562
563
564
565extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format,
566 __gnuc_va_list __arg)
567 __attribute__ ((__format__ (__scanf__, 2, 0))) ;
568
569
570
571
572
573extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg)
574 __attribute__ ((__format__ (__scanf__, 1, 0))) ;
575
576
577extern int vsscanf (__const char *__restrict __s,
578 __const char *__restrict __format, __gnuc_va_list __arg)
579 __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0)));
580# 500 "/usr/include/stdio.h" 3 4
581extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vfscanf")
582
583
584
585 __attribute__ ((__format__ (__scanf__, 2, 0))) ;
586extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf")
587
588 __attribute__ ((__format__ (__scanf__, 1, 0))) ;
589extern int vsscanf (__const char *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf") __attribute__ ((__nothrow__ , __leaf__))
590
591
592
593 __attribute__ ((__format__ (__scanf__, 2, 0)));
594# 528 "/usr/include/stdio.h" 3 4
595
596
597
598
599
600
601
602
603
604extern int fgetc (FILE *__stream);
605extern int getc (FILE *__stream);
606
607
608
609
610
611extern int getchar (void);
612
613# 556 "/usr/include/stdio.h" 3 4
614extern int getc_unlocked (FILE *__stream);
615extern int getchar_unlocked (void);
616# 567 "/usr/include/stdio.h" 3 4
617extern int fgetc_unlocked (FILE *__stream);
618
619
620
621
622
623
624
625
626
627
628
629extern int fputc (int __c, FILE *__stream);
630extern int putc (int __c, FILE *__stream);
631
632
633
634
635
636extern int putchar (int __c);
637
638# 600 "/usr/include/stdio.h" 3 4
639extern int fputc_unlocked (int __c, FILE *__stream);
640
641
642
643
644
645
646
647extern int putc_unlocked (int __c, FILE *__stream);
648extern int putchar_unlocked (int __c);
649
650
651
652
653
654
655extern int getw (FILE *__stream);
656
657
658extern int putw (int __w, FILE *__stream);
659
660
661
662
663
664
665
666
667extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
668 ;
669
670
671
672
673
674
675extern char *gets (char *__s) ;
676
677# 662 "/usr/include/stdio.h" 3 4
678extern __ssize_t __getdelim (char **__restrict __lineptr,
679 size_t *__restrict __n, int __delimiter,
680 FILE *__restrict __stream) ;
681extern __ssize_t getdelim (char **__restrict __lineptr,
682 size_t *__restrict __n, int __delimiter,
683 FILE *__restrict __stream) ;
684
685
686
687
688
689
690
691extern __ssize_t getline (char **__restrict __lineptr,
692 size_t *__restrict __n,
693 FILE *__restrict __stream) ;
694
695
696
697
698
699
700
701
702extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
703
704
705
706
707
708extern int puts (__const char *__s);
709
710
711
712
713
714
715extern int ungetc (int __c, FILE *__stream);
716
717
718
719
720
721
722extern size_t fread (void *__restrict __ptr, size_t __size,
723 size_t __n, FILE *__restrict __stream) ;
724
725
726
727
728extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
729 size_t __n, FILE *__restrict __s) ;
730
731# 734 "/usr/include/stdio.h" 3 4
732extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
733 size_t __n, FILE *__restrict __stream) ;
734extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
735 size_t __n, FILE *__restrict __stream) ;
736
737
738
739
740
741
742
743
744extern int fseek (FILE *__stream, long int __off, int __whence);
745
746
747
748
749extern long int ftell (FILE *__stream) ;
750
751
752
753
754extern void rewind (FILE *__stream);
755
756# 770 "/usr/include/stdio.h" 3 4
757extern int fseeko (FILE *__stream, __off_t __off, int __whence);
758
759
760
761
762extern __off_t ftello (FILE *__stream) ;
763# 789 "/usr/include/stdio.h" 3 4
764
765
766
767
768
769
770extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
771
772
773
774
775extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
776# 812 "/usr/include/stdio.h" 3 4
777
778# 821 "/usr/include/stdio.h" 3 4
779
780
781extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
782
783extern int feof (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
784
785extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
786
787
788
789
790extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
791extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
792extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
793
794
795
796
797
798
799
800
801extern void perror (__const char *__s);
802
803
804
805
806
807
808# 1 "/usr/include/bits/sys_errlist.h" 1 3 4
809# 27 "/usr/include/bits/sys_errlist.h" 3 4
810extern int sys_nerr;
811extern __const char *__const sys_errlist[];
812# 851 "/usr/include/stdio.h" 2 3 4
813
814
815
816
817extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
818
819
820
821
822extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
823# 870 "/usr/include/stdio.h" 3 4
824extern FILE *popen (__const char *__command, __const char *__modes) ;
825
826
827
828
829
830extern int pclose (FILE *__stream);
831
832
833
834
835
836extern char *ctermid (char *__s) __attribute__ ((__nothrow__ , __leaf__));
837# 910 "/usr/include/stdio.h" 3 4
838extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
839
840
841
842extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
843
844
845extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
846# 940 "/usr/include/stdio.h" 3 4
847
848# 2 "./integerpromotion_unsafe.c" 2
849# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/stdint.h" 1 3 4
850
851
852# 1 "/usr/include/stdint.h" 1 3 4
853# 27 "/usr/include/stdint.h" 3 4
854# 1 "/usr/include/bits/wchar.h" 1 3 4
855# 28 "/usr/include/stdint.h" 2 3 4
856# 1 "/usr/include/bits/wordsize.h" 1 3 4
857# 29 "/usr/include/stdint.h" 2 3 4
858# 37 "/usr/include/stdint.h" 3 4
859typedef signed char int8_t;
860typedef short int int16_t;
861typedef int int32_t;
862
863typedef long int int64_t;
864
865
866
867
868
869
870
871typedef unsigned char uint8_t;
872typedef unsigned short int uint16_t;
873
874typedef unsigned int uint32_t;
875
876
877
878typedef unsigned long int uint64_t;
879# 66 "/usr/include/stdint.h" 3 4
880typedef signed char int_least8_t;
881typedef short int int_least16_t;
882typedef int int_least32_t;
883
884typedef long int int_least64_t;
885
886
887
888
889
890
891typedef unsigned char uint_least8_t;
892typedef unsigned short int uint_least16_t;
893typedef unsigned int uint_least32_t;
894
895typedef unsigned long int uint_least64_t;
896# 91 "/usr/include/stdint.h" 3 4
897typedef signed char int_fast8_t;
898
899typedef long int int_fast16_t;
900typedef long int int_fast32_t;
901typedef long int int_fast64_t;
902# 104 "/usr/include/stdint.h" 3 4
903typedef unsigned char uint_fast8_t;
904
905typedef unsigned long int uint_fast16_t;
906typedef unsigned long int uint_fast32_t;
907typedef unsigned long int uint_fast64_t;
908# 120 "/usr/include/stdint.h" 3 4
909typedef long int intptr_t;
910
911
912typedef unsigned long int uintptr_t;
913# 135 "/usr/include/stdint.h" 3 4
914typedef long int intmax_t;
915typedef unsigned long int uintmax_t;
916# 4 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/stdint.h" 2 3 4
917# 3 "./integerpromotion_unsafe.c" 2
918
919int main() {
920
921 unsigned char port = 0x5a;
922 unsigned char result_8 = ( ~port ) >> 4;
923 if (result_8 == 0xfa) {
924 printf ("UNSAFE\n");
925 goto ERROR;
926 }
927
928
929 printf ("SAFE\n");
930
931 return (0);
932 ERROR: __VERIFIER_error();
933 return (-1);
934}
Note: See TracBrowser for help on using the repository browser.