m3-sys/m3cc/gcc-apple/gcc/varasm.c
/* Set up DECL as a public symbol that can be defined in multiple
   translation units without generating a linker error.  */
Set up DECL as a public symbol that can be defined in multiple
translation units without generating a linker error.
Set up DECL as a public symbol that can be defined in multiple translation units without generating a linker error .
void
make_decl_one_only (tree decl)
{
  gcc_assert (TREE_CODE (decl) == VAR_DECL
	      || TREE_CODE (decl) == FUNCTION_DECL);
  TREE_PUBLIC (decl) = 1;
  if (SUPPORTS_ONE_ONLY)
    {
#ifdef MAKE_DECL_ONE_ONLY
      MAKE_DECL_ONE_ONLY (decl);
#endif
      DECL_ONE_ONLY (decl) = 1;
    }
  else if (TREE_CODE (decl) == VAR_DECL
      && (DECL_INITIAL (decl) == 0 || DECL_INITIAL (decl) == error_mark_node))
    DECL_COMMON (decl) = 1;
  else
    {
      gcc_assert (SUPPORTS_WEAK);
      DECL_WEAK (decl) = 1;
    }
}
void make_decl_one_only ( tree decl ) { gcc_assert ( TREE_CODE ( decl ) == VAR_DECL || TREE_CODE ( decl ) == FUNCTION_DECL ) ; TREE_PUBLIC ( decl ) = 1 ; if ( SUPPORTS_ONE_ONLY ) { #ifdef MAKE_DECL_ONE_ONLY MAKE_DECL_ONE_ONLY ( decl ) ; #endif DECL_ONE_ONLY ( decl ) = 1 ; } else if ( TREE_CODE ( decl ) == VAR_DECL && ( DECL_INITIAL ( decl ) == 0 || DECL_INITIAL ( decl ) == error_mark_node ) ) DECL_COMMON ( decl ) = 1 ; else { gcc_assert ( SUPPORTS_WEAK ) ; DECL_WEAK ( decl ) = 1 ; } }
Set up DECL as a public symbol that can be defined in multiple
translation units without generating a linker error.
Set up DECL as a public symbol that can be defined in multiple translation units without generating a linker error .