osprey-gcc-4.2.0/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 "vec.h"
#include "target.h"
#include "diagnostic.h"
#include "opts.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 (OPT_Wpragmas, gmsgid); return; } while (0)
#define GCC_BAD2(gmsgid, arg)   do { warning (OPT_Wpragmas, gmsgid, arg); return; } while (0)

Typedefs

typedef enum symbol_visibility visibility

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 *)
 DEF_VEC_I (visibility)
 DEF_VEC_ALLOC_I (visibility, heap)
static VEC (visibility, heap)
void pop_visibility (void)
static void handle_pragma_visibility (cpp_reader *dummy ATTRIBUTE_UNUSED)
static void handle_pragma_diagnostic (cpp_reader *ARG_UNUSED(dummy))
 DEF_VEC_O (pragma_handler)
 DEF_VEC_ALLOC_O (pragma_handler, heap)
static VEC (pragma_handler, heap)
void c_register_pragma (const char *space, const char *name, pragma_handler handler)
void c_register_pragma_with_expansion (const char *space, const char *name, pragma_handler handler)
void c_invoke_pragma_handler (unsigned int id)
void init_pragma (void)

Variables

 align_stack


Define Documentation

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

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

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

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


Typedef Documentation

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


Function Documentation

void add_to_renaming_pragma_list ( tree  oldname,
tree  newname 
)

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

References purpose_member(), tree_cons, TREE_VALUE, and warning.

void c_invoke_pragma_handler ( unsigned int  id  ) 

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

References handler(), parse_in, PRAGMA_FIRST_EXTERNAL, and VEC_index.

Referenced by c_parser_pragma(), and cp_parser_pragma().

void c_register_pragma ( const char *  space,
const char *  name,
pragma_handler  handler 
)

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

void c_register_pragma_with_expansion ( const char *  space,
const char *  name,
pragma_handler  handler 
)

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

DEF_VEC_ALLOC_I ( visibility  ,
heap   
)

DEF_VEC_ALLOC_O ( pragma_handler  ,
heap   
)

DEF_VEC_I ( visibility   ) 

DEF_VEC_O ( pragma_handler   ) 

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

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

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

static void handle_pragma_diagnostic ( cpp_reader ARG_UNUSEDdummy  )  [static]

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

static void handle_pragma_visibility ( cpp_reader  )  [static]

static void handle_pragma_weak ( cpp_reader ARG_UNUSEDdummy  )  [static]

void init_pragma ( void   ) 

void maybe_apply_pending_pragma_weaks ( void   ) 

void maybe_apply_pragma_weak ( tree  decl  ) 

tree maybe_apply_renaming_pragma ( tree  decl,
tree  asmname 
)

void pop_visibility ( void   ) 

static VEC ( pragma_handler  ,
heap   
) [static]

static VEC ( visibility  ,
heap   
) [static]


Variable Documentation

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


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