OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* gcc.c-torture/execute/builtin-abs-1.c
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
builtins
/
lib
/
printf.c
1
#include <stdio.h>
2
#include <stdarg.h>
3
extern int inside_main;
4
5
int
6
printf (const char *string, ...)
7
{
8
va_list ap;
9
int r;
10
#ifdef __OPTIMIZE__
11
if (inside_main)
12
abort();
13
#endif
14
va_start (ap, string);
15
r = vprintf (string, ap);
16
va_end (ap);
17
return r;
18
}
19