FreeBSD/contrib/gcc/c-decl.c
/* Create the predefined scalar types of C,
   and some nodes representing standard constants (0, 1, (void *) 0).
   Initialize the global scope.
   Make definitions for built-in primitive functions.  */
Create the predefined scalar types of C,
and some nodes representing standard constants (0, 1, (void *) 0).
Initialize the global scope.
Make definitions for built-in primitive functions.
Create the predefined scalar types of C and some nodes representing standard constants ( 0 1 ( void * ) 0 ) . Initialize the global scope . Make definitions for built - in primitive functions .
void
c_init_decl_processing (void)
{
  location_t save_loc = input_location;
  c_parse_init ();
  current_function_decl = 0;
  gcc_obstack_init (&parser_obstack);
  push_scope ();
  external_scope = current_scope;
#ifdef USE_MAPPED_LOCATION
  input_location = BUILTINS_LOCATION;
#else
  input_location.file = "<built-in>";
  input_location.line = 0;
#endif
  build_common_tree_nodes (flag_signed_char, false);
  c_common_nodes_and_builtins ();
  truthvalue_type_node = integer_type_node;
  truthvalue_true_node = integer_one_node;
  truthvalue_false_node = integer_zero_node;
  pushdecl (build_decl (TYPE_DECL, get_identifier ("_Bool"),
			boolean_type_node));
  input_location = save_loc;
  pedantic_lvalues = true;
  make_fname_decl = c_make_fname_decl;
  start_fname_decls ();
}
void c_init_decl_processing ( void ) { location_t save_loc = input_location ; c_parse_init ( ) ; current_function_decl = 0 ; gcc_obstack_init ( & parser_obstack ) ; push_scope ( ) ; external_scope = current_scope ; #ifdef USE_MAPPED_LOCATION input_location = BUILTINS_LOCATION ; #else input_location . file = " " ; input_location . line = 0 ; #endif build_common_tree_nodes ( flag_signed_char , false ) ; c_common_nodes_and_builtins ( ) ; truthvalue_type_node = integer_type_node ; truthvalue_true_node = integer_one_node ; truthvalue_false_node = integer_zero_node ; pushdecl ( build_decl ( TYPE_DECL , get_identifier ( " " ) , boolean_type_node ) ) ; input_location = save_loc ; pedantic_lvalues = true ; make_fname_decl = c_make_fname_decl ; start_fname_decls ( ) ; }
Create the predefined scalar types of C,
and some nodes representing standard constants (0, 1, (void *) 0).
Create the predefined scalar types of C and some nodes representing standard constants ( 0 1 ( void * ) 0 ) .
/* Initialize reserved words for parser.  */ /* Make the externals scope.  */ /* Declarations from c_common_nodes_and_builtins must not be associated
     with this input file, lest we get differences between using and not
     using preprocessed headers.  */ /* In C, comparisons and TRUTH_* expressions have type int.  */ /* Even in C99, which has a real boolean type.  */