GCC Middle and Back End API Reference
flags.h File Reference
#include "flag-types.h"
#include "options.h"
Include dependency graph for flags.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  target_flag_state

Macros

#define this_target_flag_state   (&default_target_flag_state)
#define align_loops_log   (this_target_flag_state->x_align_loops_log)
#define align_loops_max_skip   (this_target_flag_state->x_align_loops_max_skip)
#define align_jumps_log   (this_target_flag_state->x_align_jumps_log)
#define align_jumps_max_skip   (this_target_flag_state->x_align_jumps_max_skip)
#define align_labels_log   (this_target_flag_state->x_align_labels_log)
#define align_labels_max_skip   (this_target_flag_state->x_align_labels_max_skip)
#define align_functions_log   (this_target_flag_state->x_align_functions_log)
#define flag_excess_precision   (this_target_flag_state->x_flag_excess_precision)
#define abi_version_at_least(N)   (flag_abi_version == 0 || flag_abi_version >= (N))
#define issue_strict_overflow_warning(c)   (warn_strict_overflow >= (int) (c))

Functions

void strip_off_ending (char *, int)
int base_of_path (const char *path, const char **base_out)
bool fast_math_flags_set_p (const struct gcc_options *)
bool fast_math_flags_struct_set_p (struct cl_optimization *)

Variables

const char *const debug_type_names []
bool final_insns_dump_p
struct target_flag_state default_target_flag_state

Macro Definition Documentation

#define abi_version_at_least (   N)    (flag_abi_version == 0 || flag_abi_version >= (N))

Returns TRUE if generated code should match ABI version N or greater is in use.

#define align_functions_log   (this_target_flag_state->x_align_functions_log)
#define align_jumps_log   (this_target_flag_state->x_align_jumps_log)
#define align_jumps_max_skip   (this_target_flag_state->x_align_jumps_max_skip)
#define align_labels_log   (this_target_flag_state->x_align_labels_log)
#define align_labels_max_skip   (this_target_flag_state->x_align_labels_max_skip)
#define align_loops_log   (this_target_flag_state->x_align_loops_log)
#define align_loops_max_skip   (this_target_flag_state->x_align_loops_max_skip)
#define flag_excess_precision   (this_target_flag_state->x_flag_excess_precision)
#define issue_strict_overflow_warning (   c)    (warn_strict_overflow >= (int) (c))

Whether to emit an overflow warning whose code is C.

#define this_target_flag_state   (&default_target_flag_state)

Referenced by crash_signal().


Function Documentation

int base_of_path ( const char *  path,
const char **  base_out 
)

Referenced by read_cmdline_options().

bool fast_math_flags_set_p ( const struct gcc_options *  )

Return true iff flags are set as if -ffast-math.

bool fast_math_flags_struct_set_p ( struct cl_optimization *  )
void strip_off_ending ( char *  ,
int   
)

Variable Documentation

const char* const debug_type_names[]

Compilation switch flag definitions for GCC. Copyright (C) 1987-2013 Free Software Foundation, Inc.

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see http://www.gnu.org/licenses/. Names of debug_info_type, for error messages.

Indexed by enum debug_info_type.

Referenced by handle_param().

struct target_flag_state default_target_flag_state

Referenced by crash_signal().

bool final_insns_dump_p

Now the symbols that are set with `-f' switches. True if printing into -fdump-final-insns= dump.

True if printing into -fdump-final-insns= dump.