FreeBSD/contrib/gcc/cp/decl.c
/* Check that a return is ok wrt OpenMP structured blocks.
   Called by finish_return_stmt.  Returns true if all is well.  */
Check that a return is ok wrt OpenMP structured blocks.
Check that a return is ok wrt OpenMP structured blocks .
bool
check_omp_return (void)
{
  struct cp_binding_level *b;
  for (b = current_binding_level; b ; b = b->level_chain)
    if (b->kind == sk_omp)
      {
	error ("invalid exit from OpenMP structured block");
	return false;
      }
  return true;
}
bool check_omp_return ( void ) { struct cp_binding_level * b ; for ( b = current_binding_level ; b ; b = b -> level_chain ) if ( b -> kind == sk_omp ) { error ( " " ) ; return false ; } return true ; }
Check that a return is ok wrt OpenMP structured blocks.
Check that a return is ok wrt OpenMP structured blocks .