Searched refs:__attribute__ (Results 1 - 25 of 1295) sorted by relevance

1234567891011>>

/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D20010911-1.c4 void __attribute__(()) foo();
H A D20010701-1.c5 void __attribute__((__noreturn__)) foo (const char *, ...) __attribute__((__format__(__printf__, 1, 2))), bar (void);
H A D20020303-1.c5 int i __attribute__((weak)) = 0;
H A D20010714-1.c5 __attribute__((noreturn)) void d0 (void), __attribute__((format(printf, 1, 2))) d1 (const char *, ...), d2 (void);
H A D960201-1.c5 } __attribute__ ((transparent_union));
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/ext/
H A Dattrib4.C4 __attribute__((noreturn))
5 __attribute__((unused))
8 __attribute__((noreturn))
9 __attribute__((unused))
14 __attribute__((unused))
16 __attribute__((noreturn)); // OK
18 __attribute__((unused))
21 __attribute__((noreturn)); // OK
25 __attribute__((noreturn))
26 __attribute__((unuse
[all...]
H A Dattrib1.C10 int ****__attribute__((format(printf, 1, 2))) foo(const char *, ...);
H A Ddllimport4.C4 __attribute__((dllimport)) void bar () { } // { dg-error "definition" }
6 __attribute__((dllimport)) int foo = 1; // { dg-error "definition" }
H A Dattrib8.C4 extern int * (__attribute__((stdcall)) *fooPtr)( void);
5 int * __attribute__((stdcall)) myFn01( void) { return 0; }
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.ext/
H A Dattrib6.C6 void __attribute__((__noreturn__)) foo (const char *, ...) __attribute__((__format__(__printf__, 1, 2))), bar (void);
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/
H A Dnonnull-2.c5 extern void func1 () __attribute__((nonnull)); /* { dg-error "without arguments" } */
7 extern void func2 (char *) __attribute__((nonnull(2))); /* { dg-error "out-of-range operand" } */
9 extern void func3 (char *) __attribute__((nonnull(foo))); /* { dg-error "invalid operand number" } */
11 extern void func4 (int) __attribute__((nonnull(1))); /* { dg-error "references non-pointer" } */
H A Dattr-used.c4 static void function_declaration_before(void) __attribute__((__used__));
10 static void function_declaration_after(void) __attribute__((__used__));
H A Dnoreturn-3.c4 extern void exit (int) __attribute__ ((__noreturn__));
H A Dnoreturn-4.c4 extern void exit (int) __attribute__ ((__noreturn__));
/openbsd-current/gnu/gcc/libstdc++-v3/include/bits/
H A Dfunctexcept.h48 __throw_bad_exception(void) __attribute__((__noreturn__));
52 __throw_bad_alloc(void) __attribute__((__noreturn__));
56 __throw_bad_cast(void) __attribute__((__noreturn__));
59 __throw_bad_typeid(void) __attribute__((__noreturn__));
63 __throw_logic_error(const char*) __attribute__((__noreturn__));
66 __throw_domain_error(const char*) __attribute__((__noreturn__));
69 __throw_invalid_argument(const char*) __attribute__((__noreturn__));
72 __throw_length_error(const char*) __attribute__((__noreturn__));
75 __throw_out_of_range(const char*) __attribute__((__noreturn__));
78 __throw_runtime_error(const char*) __attribute__((__noreturn_
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/format/
H A Dattr-3.c1 /* Test for format attributes: test bad uses of __attribute__. */
9 extern void fa0 (const char *, ...) __attribute__((format(printf, 1, 2)));
10 extern void fa1 (char *, ...) __attribute__((format(printf, 1, 2)));
11 extern char *fa2 (const char *) __attribute__((format_arg(1)));
12 extern char *fa3 (char *) __attribute__((format_arg(1)));
15 extern void fb0 (const char *, ...) __attribute__((format)); /* { dg-error "wrong number of arguments" "bad format" } */
16 extern void fb1 (const char *, ...) __attribute__((format())); /* { dg-error "wrong number of arguments" "bad format" } */
17 extern void fb2 (const char *, ...) __attribute__((format(printf))); /* { dg-error "wrong number of arguments" "bad format" } */
18 extern void fb3 (const char *, ...) __attribute__((format(printf, 1))); /* { dg-error "wrong number of arguments" "bad format" } */
19 extern void fb4 (const char *, ...) __attribute__((forma
[all...]
H A Dattr-1.c8 extern void foo0 (const char *) __attribute__((__format__(__strftime__, 1, 0)));
9 extern void foo1 (const char *, ...) __attribute__((__format__(__strftime__, 1, 2))); /* { dg-error "cannot format" "strftime first_arg_num != 0" } */
/openbsd-current/gnu/gcc/libstdc++-v3/config/cpu/cris/
H A Datomic_word.h34 typedef int _Atomic_word __attribute__ ((__aligned__ (4)));
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/
H A Dcrash4.C4 struct S __attribute__ ((packed)) { // ERROR - parse error
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/special/
H A Dweak-2a.c1 int foo(void) __attribute__((weak));
H A Dwkali-2a.c3 extern int foo(void) __attribute__((weak, alias("bar_a")));
H A Dwkali-2b.c3 extern int foo(void) __attribute__((alias("bar_b")));
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/weak/
H A Dweak-8.c3 __attribute__ ((weak)) int i;
/openbsd-current/sys/lib/libkern/
H A Dfuncs.h2 __attribute__ ((__bounded__(__string__,1,3)));
4 __attribute__ ((__bounded__(__string__,1,3)));
/openbsd-current/gnu/llvm/compiler-rt/lib/builtins/arm/
H A Daeabi_div0.c31 AEABI_RTABI int __attribute__((weak)) __attribute__((visibility("hidden")))
36 AEABI_RTABI long long __attribute__((weak))
37 __attribute__((visibility("hidden"))) __aeabi_ldiv0(long long return_value) {

Completed in 147 milliseconds

1234567891011>>