osprey-gcc-4.2.0/gcc/c-pch.c File Reference

#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "version.h"
#include "cpplib.h"
#include "tree.h"
#include "flags.h"
#include "c-common.h"
#include "output.h"
#include "toplev.h"
#include "debug.h"
#include "c-pragma.h"
#include "ggc.h"
#include "langhooks.h"
#include "hosthooks.h"
#include "target.h"

Include dependency graph for c-pch.c:

Go to the source code of this file.

Data Types

type  c_pch_matching
type  c_pch_validity
type  c_pch_header

Defines

#define IDENT_LENGTH   8
#define O_BINARY   0

Enumerations

enum  { MATCH_SIZE = ARRAY_SIZE (pch_matching) }

Functions/Subroutines

static const char * get_ident (void)
void pch_init (void)
void c_common_write_pch (void)
int c_common_valid_pch (cpp_reader *pfile, const char *name, int fd)
void c_common_read_pch (cpp_reader *pfile, const char *name, int fd, const char *orig_name ATTRIBUTE_UNUSED)
void c_common_no_more_pch (void)
void c_common_pch_pragma (cpp_reader *pfile, const char *name)
void c_common_print_pch_checksum (FILE *f)

Variables

static struct c_pch_matching pch_matching []
static const char no_checksum [16] = { 0 }
static FILEpch_outfile
static long asm_file_startpos
void(* lang_post_pch_load )(void)


Define Documentation

#define IDENT_LENGTH   8

Definition at line 77 of file c-pch.c.

#define O_BINARY   0

Definition at line 440 of file c-pch.c.


Enumeration Type Documentation

anonymous enum

Enumerator:
MATCH_SIZE 

Definition at line 51 of file c-pch.c.


Function Documentation

void c_common_no_more_pch ( void   ) 

Definition at line 428 of file c-pch.c.

References cpp_get_callbacks(), NULL, parse_in, and cpp_callbacks::valid_pch.

Referenced by c_lex_with_flags(), and cp_lexer_new_main().

void c_common_pch_pragma ( cpp_reader pfile,
const char *  name 
)

void c_common_print_pch_checksum ( FILE f  ) 

Definition at line 474 of file c-pch.c.

References executable_checksum, fprintf(), fputs(), i, and putc().

Referenced by c_common_handle_option(), c_common_init(), and pch_init().

void c_common_read_pch ( cpp_reader pfile,
const char *  name,
int  fd,
const char *orig_name  ATTRIBUTE_UNUSED 
)

int c_common_valid_pch ( cpp_reader pfile,
const char *  name,
int  fd 
)

void c_common_write_pch ( void   ) 

static const char * get_ident ( void   )  [static]

Definition at line 93 of file c-pch.c.

References c_language, IDENT_LENGTH, memcpy, and result.

void pch_init ( void   ) 


Variable Documentation

Definition at line 83 of file c-pch.c.

Referenced by c_common_read_pch(), and init_repo().

const char no_checksum[16] = { 0 } [static]

Definition at line 57 of file c-pch.c.

Referenced by c_common_valid_pch(), and pch_init().

FILE* pch_outfile [static]

Definition at line 80 of file c-pch.c.


Generated on Wed Apr 8 14:19:38 2009 for Open64 by  doxygen 1.5.6