osprey-gcc/gcc/c-pragma.c File Reference

#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "tm.h"
#include "rtl.h"
#include "tree.h"
#include "function.h"
#include "cpplib.h"
#include "c-pragma.h"
#include "flags.h"
#include "toplev.h"
#include "ggc.h"
#include "c-common.h"
#include "output.h"
#include "tm_p.h"
#include "target.h"
#include "gt-c-pragma.h"

Include dependency graph for c-pragma.c:

Go to the source code of this file.

Defines

#define GCC_BAD(gmsgid)   do { warning (gmsgid); return; } while (0)
#define GCC_BAD2(gmsgid, arg)   do { warning (gmsgid, arg); return; } while (0)

Functions/Subroutines

struct align_stack GTY (())
void maybe_apply_pragma_weak (tree decl)
void maybe_apply_pending_pragma_weaks (void)
static void handle_pragma_weak (cpp_reader *ARG_UNUSED(dummy))
void add_to_renaming_pragma_list (tree oldname, tree newname)
tree maybe_apply_renaming_pragma (tree decl, tree asmname)
static void handle_pragma_visibility (cpp_reader *)
static void handle_pragma_visibility (cpp_reader *dummy ATTRIBUTE_UNUSED)
void c_register_pragma (const char *space, const char *name, void(*handler)(struct cpp_reader *))
void c_register_pragma_with_expansion (const char *space, const char *name, void(*handler)(struct cpp_reader *))
void init_pragma (void)

Variables

 align_stack


Define Documentation

#define GCC_BAD ( gmsgid   )     do { warning (gmsgid); return; } while (0)

Definition at line 39 of file c-pragma.c.

#define GCC_BAD2 ( gmsgid,
arg   )     do { warning (gmsgid, arg); return; } while (0)

Definition at line 40 of file c-pragma.c.


Function Documentation

void add_to_renaming_pragma_list ( tree  oldname,
tree  newname 
)

Definition at line 456 of file c-pragma.c.

Referenced by ia64_hpux_add_pragma_builtin().

void c_register_pragma ( const char *  space,
const char *  name,
void(*)(struct cpp_reader *)  handler 
)

void c_register_pragma_with_expansion ( const char *  space,
const char *  name,
void(*)(struct cpp_reader *)  handler 
)

Definition at line 673 of file c-pragma.c.

References cpp_register_pragma(), handler(), and parse_in.

Referenced by init_pragma(), and solaris_register_pragmas().

struct align_stack GTY ( ()   )  [read, write]

Definition at line 43 of file c-pragma.c.

References align_stack::alignment, and align_stack::prev.

static void handle_pragma_visibility ( cpp_reader *dummy  ATTRIBUTE_UNUSED  )  [static]

static void handle_pragma_visibility ( cpp_reader  )  [static]

Referenced by init_pragma().

static void handle_pragma_weak ( cpp_reader ARG_UNUSEDdummy  )  [static]

Definition at line 327 of file c-pragma.c.

References assemble_alias(), c_lex(), DECL_P, GCC_BAD, identifier_global_value(), tree_cons, and warning.

Referenced by init_pragma().

void init_pragma ( void   ) 

void maybe_apply_pending_pragma_weaks ( void   ) 

Definition at line 301 of file c-pragma.c.

Referenced by cp_finish_file(), and pop_file_scope().

void maybe_apply_pragma_weak ( tree  decl  ) 

Definition at line 268 of file c-pragma.c.

Referenced by finish_decl(), start_decl(), start_function(), and start_preparsed_function().

tree maybe_apply_renaming_pragma ( tree  decl,
tree  asmname 
)

Definition at line 497 of file c-pragma.c.

Referenced by cp_finish_decl(), finish_decl(), and implicitly_declare().


Variable Documentation

Definition at line 48 of file c-pragma.c.


Generated on Wed Apr 8 15:13:01 2009 for Open64 by  doxygen 1.5.6