File: compiler_builtins.2.res.oracle

package info (click to toggle)
frama-c 20220511-manganese-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 66,472 kB
  • sloc: ml: 278,832; ansic: 47,093; sh: 4,823; makefile: 3,618; javascript: 2,436; python: 1,919; perl: 897; lisp: 293; xml: 62
file content (42 lines) | stat: -rw-r--r-- 1,336 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[kernel] Parsing compiler_builtins.c (with preprocessing)
[kernel:typing:implicit-function-declaration] compiler_builtins.c:16: Warning: 
  __builtin_va_start is a compiler builtin, only allowed for not MSVC-based machdeps; see option -machdep or run 'frama-c -machdep help' for the list of available machdeps
[kernel:typing:implicit-function-declaration] compiler_builtins.c:17: Warning: 
  __builtin_va_end is a compiler builtin, only allowed for not MSVC-based machdeps; see option -machdep or run 'frama-c -machdep help' for the list of available machdeps
[kernel:typing:implicit-function-declaration] compiler_builtins.c:22: Warning: 
  __builtin_expect is a compiler builtin, only allowed for GCC-based machdeps; see option -machdep or run 'frama-c -machdep help' for the list of available machdeps
/* Generated by Frama-C */
#include "stdarg.h"
/* compiler builtin: 
   void __builtin__annotation(...);   */
extern int ( /* missing proto */ __builtin_va_start)();

extern int ( /* missing proto */ __builtin_va_end)(char *x_0);

void fva(int a , ...)
{
  va_list ap;
  __builtin_va_start(ap,a);
  __builtin_va_end(ap);
  return;
}

int main(void)
{
  int __retres;
  int tmp;
  int x = 0;
  ;
  tmp = x;
  x ++;
  ;
  if (tmp) {
    int y = x;
  }
  __builtin__annotation("a",1);
  fva(1);
  __retres = 0;
  return __retres;
}