/* Compilation switch flag definitions for GNU CC.
- Copyright (C) 1987, 88, 94-98, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1987, 1988, 1994, 1995, 1996, 1997, 1998, 1999, 2000
+ Free Software Foundation, Inc.
This file is part of GNU CC.
Boston, MA 02111-1307, USA. */
/* Name of the input .c file being compiled. */
-extern char *main_input_filename;
+extern const char *main_input_filename;
enum debug_info_type
{
extern int optimize_size;
-/* Nonzero means do stupid register allocation. -noreg.
- Currently, this is 1 if `optimize' is 0. */
-
-extern int obey_regdecls;
-
/* Don't print functions as they are compiled and don't print
times taken by the various passes. -quiet. */
extern int extra_warnings;
-/* Nonzero to warn about unused local variables. */
+/* Nonzero to warn about unused variables, functions et.al. Use
+ set_Wunused() to update the -Wunused-* flags that correspond to the
+ -Wunused option. */
-extern int warn_unused;
+extern void set_Wunused PARAMS ((int setting));
+
+extern int warn_unused_function;
+extern int warn_unused_label;
+extern int warn_unused_parameter;
+extern int warn_unused_variable;
+extern int warn_unused_value;
/* Nonzero to warn about code which is never reached. */
extern int warn_cast_align;
-/* Nonzero means warn that dbx info for template class methods isn't fully
- supported yet. */
-
-extern int warn_template_debugging;
-
/* Nonzero means warn about any identifiers that match in the first N
characters. The value N is in `id_clash_len'. */
extern int warn_id_clash;
-extern unsigned id_clash_len;
+extern int id_clash_len;
/* Nonzero means warn about any objects definitions whose size is larger
than N bytes. Also want about function definitions whose returned
values are larger than N bytes. The value N is in `larger_than_size'. */
extern int warn_larger_than;
-extern unsigned larger_than_size;
+extern HOST_WIDE_INT larger_than_size;
/* Warn if a function returns an aggregate,
since there are often incompatible calling conventions for doing this. */
extern int warn_aggregate_return;
+/* Warn if packed attribute on struct is unnecessary and inefficient. */
+
+extern int warn_packed;
+
+/* Warn when gcc pads a structure to an alignment boundary. */
+
+extern int warn_padded;
+
/* Nonzero if generating code to do profiling. */
extern int profile_flag;
extern int flag_fast_math;
+/* Nonzero allows GCC to optimize sibling and tail recursive calls. */
+
+extern int flag_optimize_sibling_calls;
+
/* Nonzero means the front end generally wants `errno' maintained by math
operations, like built-in SQRT, unless overridden by flag_fast_math. */
extern int flag_new_exceptions;
+/* Nonzero means generate frame unwind info table when supported */
+
+extern int flag_unwind_tables;
+
/* Nonzero means don't place uninitialized global data in common storage
by default. */
if alias analysis (in general) is enabled. */
extern int flag_strict_aliasing;
-/* Emit code to check for stack overflow; also may cause large objects
- to be allocated dynamically. */
+/* Emit code to probe the stack, to help detect stack overflow; also
+ may cause large objects to be allocated dynamically. */
extern int flag_stack_check;
/* Do the full regmove optimization pass. */
For Fortran: defaults to off.
For CHILL: defaults to off. */
extern int flag_bounds_check;
+
+/* If one, renumber instruction UIDs to reduce the number of
+ unused UIDs if there are a lot of instructions. If greater than
+ one, unconditionally renumber instruction UIDs. */
+extern int flag_renumber_insns;
\f
/* Other basic status info about current function. */