00001 /* 00002 * Copyright 2003, 2004, 2005, 2006 PathScale, Inc. All Rights Reserved. 00003 */ 00004 00005 /* Compilation switch flag definitions for GCC. 00006 Copyright (C) 1987, 1988, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2002 00007 Free Software Foundation, Inc. 00008 00009 This file is part of GCC. 00010 00011 GCC is free software; you can redistribute it and/or modify it under 00012 the terms of the GNU General Public License as published by the Free 00013 Software Foundation; either version 2, or (at your option) any later 00014 version. 00015 00016 GCC is distributed in the hope that it will be useful, but WITHOUT ANY 00017 WARRANTY; without even the implied warranty of MERCHANTABILITY or 00018 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00019 for more details. 00020 00021 You should have received a copy of the GNU General Public License 00022 along with GCC; see the file COPYING. If not, write to the Free 00023 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 00024 02111-1307, USA. */ 00025 00026 #ifndef GCC_FLAGS_H 00027 #define GCC_FLAGS_H 00028 00029 /* Name of the input .c file being compiled. */ 00030 extern const char *main_input_filename; 00031 00032 enum debug_info_type 00033 { 00034 NO_DEBUG, /* Write no debug info. */ 00035 DBX_DEBUG, /* Write BSD .stabs for DBX (using dbxout.c). */ 00036 SDB_DEBUG, /* Write COFF for (old) SDB (using sdbout.c). */ 00037 DWARF_DEBUG, /* Write Dwarf debug info (using dwarfout.c). */ 00038 DWARF2_DEBUG, /* Write Dwarf v2 debug info (using dwarf2out.c). */ 00039 XCOFF_DEBUG, /* Write IBM/Xcoff debug info (using dbxout.c). */ 00040 VMS_DEBUG, /* Write VMS debug info (using vmsdbgout.c). */ 00041 VMS_AND_DWARF2_DEBUG /* Write VMS debug info (using vmsdbgout.c). 00042 and DWARF v2 debug info (using dwarf2out.c). */ 00043 }; 00044 00045 /* Specify which kind of debugging info to generate. */ 00046 extern enum debug_info_type write_symbols; 00047 00048 enum debug_info_level 00049 { 00050 DINFO_LEVEL_NONE, /* Write no debugging info. */ 00051 DINFO_LEVEL_TERSE, /* Write minimal info to support tracebacks only. */ 00052 DINFO_LEVEL_NORMAL, /* Write info for all declarations (and line table). */ 00053 DINFO_LEVEL_VERBOSE /* Write normal info plus #define/#undef info. */ 00054 }; 00055 00056 /* Specify how much debugging info to generate. */ 00057 extern enum debug_info_level debug_info_level; 00058 00059 /* Nonzero means use GNU-only extensions in the generated symbolic 00060 debugging information. */ 00061 extern int use_gnu_debug_info_extensions; 00062 00063 /* Nonzero means do optimizations. -opt. */ 00064 00065 extern int optimize; 00066 00067 /* Nonzero means optimize for size. -Os. */ 00068 00069 extern int optimize_size; 00070 00071 /* Don't print functions as they are compiled and don't print 00072 times taken by the various passes. -quiet. */ 00073 00074 extern int quiet_flag; 00075 00076 /* Print times taken by the various passes. -ftime-report. */ 00077 00078 extern int time_report; 00079 00080 /* Print memory still in use at end of compilation (which may have little 00081 to do with peak memory consumption). -fmem-report. */ 00082 00083 extern int mem_report; 00084 00085 /* Don't print warning messages. -w. */ 00086 00087 extern int inhibit_warnings; 00088 00089 /* Don't suppress warnings from system headers. -Wsystem-headers. */ 00090 00091 extern int warn_system_headers; 00092 00093 /* Do print extra warnings (such as for uninitialized variables). -W. */ 00094 00095 extern int extra_warnings; 00096 00097 #ifdef TARG_SL 00098 /* Supporting long long type. -mlong-long */ 00099 00100 extern bool Long_Long_Support; 00101 00102 /* Supporting float point emulation. -msoft-float */ 00103 00104 extern bool Float_Point_Support; 00105 #endif 00106 00107 /* Nonzero to warn about unused variables, functions et.al. Use 00108 set_Wunused() to update the -Wunused-* flags that correspond to the 00109 -Wunused option. */ 00110 00111 extern void set_Wunused PARAMS ((int setting)); 00112 00113 extern int warn_unused_function; 00114 extern int warn_unused_label; 00115 extern int warn_unused_parameter; 00116 extern int warn_unused_variable; 00117 extern int warn_unused_value; 00118 00119 /* Nonzero to warn about code which is never reached. */ 00120 00121 extern int warn_notreached; 00122 00123 /* Nonzero means warn if inline function is too large. */ 00124 00125 extern int warn_inline; 00126 00127 /* Nonzero to warn about variables used before they are initialized. */ 00128 00129 extern int warn_uninitialized; 00130 00131 /* Zero if unknown pragmas are ignored 00132 One if the compiler should warn about an unknown pragma not in 00133 a system include file. 00134 Greater than one if the compiler should warn for all unknown 00135 pragmas. */ 00136 00137 extern int warn_unknown_pragmas; 00138 00139 /* Nonzero means warn about all declarations which shadow others. */ 00140 00141 extern int warn_shadow; 00142 00143 /* Warn if a switch on an enum, that does not have a default case, 00144 fails to have a case for every enum value. */ 00145 00146 extern int warn_switch; 00147 00148 /* Warn if a switch does not have a default case. */ 00149 00150 extern int warn_switch_default; 00151 00152 /* Warn if a switch on an enum fails to have a case for every enum 00153 value (regardless of the presence or otherwise of a default case). */ 00154 00155 extern int warn_switch_enum; 00156 00157 /* Nonzero means warn about function definitions that default the return type 00158 or that use a null return and have a return-type other than void. */ 00159 00160 extern int warn_return_type; 00161 00162 /* Warn about functions which might be candidates for attribute noreturn. */ 00163 00164 extern int warn_missing_noreturn; 00165 00166 /* Nonzero means warn about pointer casts that increase the required 00167 alignment of the target type (and might therefore lead to a crash 00168 due to a misaligned access). */ 00169 00170 extern int warn_cast_align; 00171 00172 /* Nonzero means warn about any objects definitions whose size is larger 00173 than N bytes. Also want about function definitions whose returned 00174 values are larger than N bytes. The value N is in `larger_than_size'. */ 00175 00176 extern int warn_larger_than; 00177 extern HOST_WIDE_INT larger_than_size; 00178 00179 /* Warn if a function returns an aggregate, 00180 since there are often incompatible calling conventions for doing this. */ 00181 00182 extern int warn_aggregate_return; 00183 00184 /* Warn if packed attribute on struct is unnecessary and inefficient. */ 00185 00186 extern int warn_packed; 00187 00188 /* Warn when gcc pads a structure to an alignment boundary. */ 00189 00190 extern int warn_padded; 00191 00192 /* Warn when an optimization pass is disabled. */ 00193 00194 extern int warn_disabled_optimization; 00195 00196 /* Nonzero means warn about uses of __attribute__((deprecated)) 00197 declarations. */ 00198 00199 extern int warn_deprecated_decl; 00200 00201 /* Nonzero means warn about constructs which might not be strict 00202 aliasing safe. */ 00203 00204 extern int warn_strict_aliasing; 00205 00206 /* Nonzero if generating code to do profiling. */ 00207 00208 extern int profile_flag; 00209 00210 /* Nonzero if generating code to profile program flow graph arcs. */ 00211 00212 extern int profile_arc_flag; 00213 00214 /* Nonzero if generating info for gcov to calculate line test coverage. */ 00215 00216 extern int flag_test_coverage; 00217 00218 /* Nonzero indicates that branch taken probabilities should be calculated. */ 00219 00220 extern int flag_branch_probabilities; 00221 00222 /* Nonzero if basic blocks should be reordered. */ 00223 00224 extern int flag_reorder_blocks; 00225 00226 /* Nonzero if functions should be reordered. */ 00227 00228 extern int flag_reorder_functions; 00229 00230 /* Nonzero if registers should be renamed. */ 00231 00232 extern int flag_rename_registers; 00233 00234 /* Nonzero for -pedantic switch: warn about anything 00235 that standard C forbids. */ 00236 00237 extern int pedantic; 00238 00239 /* Temporarily suppress certain warnings. 00240 This is set while reading code from a system header file. */ 00241 00242 extern int in_system_header; 00243 00244 /* Nonzero for -dp: annotate the assembly with a comment describing the 00245 pattern and alternative used. */ 00246 00247 extern int flag_print_asm_name; 00248 00249 /* Now the symbols that are set with `-f' switches. */ 00250 00251 /* Nonzero means `char' should be signed. */ 00252 00253 extern int flag_signed_char; 00254 00255 /* Nonzero means give an enum type only as many bytes as it needs. */ 00256 00257 extern int flag_short_enums; 00258 00259 /* Nonzero for -fcaller-saves: allocate values in regs that need to 00260 be saved across function calls, if that produces overall better code. 00261 Optional now, so people can test it. */ 00262 00263 extern int flag_caller_saves; 00264 00265 /* Nonzero for -fpcc-struct-return: return values the same way PCC does. */ 00266 00267 extern int flag_pcc_struct_return; 00268 00269 /* Nonzero for -fforce-mem: load memory value into a register 00270 before arithmetic on it. This makes better cse but slower compilation. */ 00271 00272 extern int flag_force_mem; 00273 00274 /* Nonzero for -fforce-addr: load memory address into a register before 00275 reference to memory. This makes better cse but slower compilation. */ 00276 00277 extern int flag_force_addr; 00278 00279 /* Nonzero for -fdefer-pop: don't pop args after each function call; 00280 instead save them up to pop many calls' args with one insns. */ 00281 00282 extern int flag_defer_pop; 00283 00284 /* Nonzero for -ffloat-store: don't allocate floats and doubles 00285 in extended-precision registers. */ 00286 00287 extern int flag_float_store; 00288 00289 /* Nonzero enables strength-reduction in loop.c. */ 00290 00291 extern int flag_strength_reduce; 00292 00293 /* Nonzero enables loop unrolling in unroll.c. Only loops for which the 00294 number of iterations can be calculated at compile-time (UNROLL_COMPLETELY, 00295 UNROLL_MODULO) or at run-time (preconditioned to be UNROLL_MODULO) are 00296 unrolled. */ 00297 00298 extern int flag_unroll_loops; 00299 00300 /* Nonzero enables loop unrolling in unroll.c. All loops are unrolled. 00301 This is generally not a win. */ 00302 00303 extern int flag_unroll_all_loops; 00304 00305 /* Nonzero forces all invariant computations in loops to be moved 00306 outside the loop. */ 00307 00308 extern int flag_move_all_movables; 00309 00310 /* Nonzero enables prefetch optimizations for arrays in loops. */ 00311 00312 extern int flag_prefetch_loop_arrays; 00313 00314 /* Nonzero forces all general induction variables in loops to be 00315 strength reduced. */ 00316 00317 extern int flag_reduce_all_givs; 00318 00319 /* Nonzero for -fcse-follow-jumps: 00320 have cse follow jumps to do a more extensive job. */ 00321 00322 extern int flag_cse_follow_jumps; 00323 00324 /* Nonzero for -fcse-skip-blocks: 00325 have cse follow a branch around a block. */ 00326 00327 extern int flag_cse_skip_blocks; 00328 00329 /* Nonzero for -fexpensive-optimizations: 00330 perform miscellaneous relatively-expensive optimizations. */ 00331 extern int flag_expensive_optimizations; 00332 00333 /* Nonzero for -fwritable-strings: 00334 store string constants in data segment and don't uniquize them. */ 00335 00336 extern int flag_writable_strings; 00337 00338 /* Nonzero means don't put addresses of constant functions in registers. 00339 Used for compiling the Unix kernel, where strange substitutions are 00340 done on the assembly output. */ 00341 00342 extern int flag_no_function_cse; 00343 00344 /* Nonzero for -fomit-frame-pointer: 00345 don't make a frame pointer in simple functions that don't require one. */ 00346 00347 extern int flag_omit_frame_pointer; 00348 00349 /* Nonzero to inhibit use of define_optimization peephole opts. */ 00350 00351 extern int flag_no_peephole; 00352 00353 /* Nonzero means all references through pointers are volatile. */ 00354 00355 extern int flag_volatile; 00356 00357 /* Nonzero means treat all global and extern variables as volatile. */ 00358 00359 extern int flag_volatile_global; 00360 00361 /* Nonzero means treat all static variables as volatile. */ 00362 00363 extern int flag_volatile_static; 00364 00365 /* Nonzero allows GCC to optimize sibling and tail recursive calls. */ 00366 00367 extern int flag_optimize_sibling_calls; 00368 00369 /* Nonzero means the front end generally wants `errno' maintained by math 00370 operations, like built-in SQRT. */ 00371 00372 extern int flag_errno_math; 00373 00374 /* Nonzero means that unsafe floating-point math optimizations are allowed 00375 for the sake of speed. IEEE compliance is not guaranteed, and operations 00376 are allowed to assume that their arguments and results are "normal" 00377 (e.g., nonnegative for SQRT). */ 00378 00379 extern int flag_unsafe_math_optimizations; 00380 00381 /* Nonzero means that no NaNs or +-Infs are expected. */ 00382 00383 extern int flag_finite_math_only; 00384 00385 /* Zero means that floating-point math operations cannot generate a 00386 (user-visible) trap. This is the case, for example, in nonstop 00387 IEEE 754 arithmetic. */ 00388 00389 extern int flag_trapping_math; 00390 00391 /* 0 means straightforward implementation of complex divide acceptable. 00392 1 means wide ranges of inputs must work for complex divide. 00393 2 means C99-like requirements for complex divide (not yet implemented). */ 00394 00395 extern int flag_complex_divide_method; 00396 00397 /* Nonzero means to run loop optimizations twice. */ 00398 00399 extern int flag_rerun_loop_opt; 00400 00401 /* Nonzero means make functions that look like good inline candidates 00402 go inline. */ 00403 00404 extern int flag_inline_functions; 00405 00406 /* Nonzero for -fkeep-inline-functions: even if we make a function 00407 go inline everywhere, keep its definition around for debugging 00408 purposes. */ 00409 00410 extern int flag_keep_inline_functions; 00411 00412 /* Nonzero means that functions declared `inline' will be treated 00413 as `static'. Prevents generation of zillions of copies of unused 00414 static inline functions; instead, `inlines' are written out 00415 only when actually used. Used in conjunction with -g. Also 00416 does the right thing with #pragma interface. */ 00417 00418 extern int flag_no_inline; 00419 00420 /* Nonzero means that we don't want inlining by virtue of -fno-inline, 00421 not just because the tree inliner turned us off. */ 00422 00423 extern int flag_really_no_inline; 00424 00425 /* Nonzero if we are only using compiler to check syntax errors. */ 00426 00427 extern int flag_syntax_only; 00428 00429 /* Nonzero means we should save auxiliary info into a .X file. */ 00430 00431 extern int flag_gen_aux_info; 00432 00433 /* Nonzero means make the text shared if supported. */ 00434 00435 extern int flag_shared_data; 00436 00437 /* flag_schedule_insns means schedule insns within basic blocks (before 00438 local_alloc). 00439 flag_schedule_insns_after_reload means schedule insns after 00440 global_alloc. */ 00441 00442 extern int flag_schedule_insns; 00443 extern int flag_schedule_insns_after_reload; 00444 00445 /* The following flags have effect only for scheduling before register 00446 allocation: 00447 00448 flag_schedule_interblock means schedule insns across basic blocks. 00449 flag_schedule_speculative means allow speculative motion of non-load insns. 00450 flag_schedule_speculative_load means allow speculative motion of some 00451 load insns. 00452 flag_schedule_speculative_load_dangerous allows speculative motion of more 00453 load insns. */ 00454 00455 extern int flag_schedule_interblock; 00456 extern int flag_schedule_speculative; 00457 extern int flag_schedule_speculative_load; 00458 extern int flag_schedule_speculative_load_dangerous; 00459 00460 /* flag_branch_on_count_reg means try to replace add-1,compare,branch tupple 00461 by a cheaper branch, on a count register. */ 00462 extern int flag_branch_on_count_reg; 00463 00464 /* This option is set to 1 on -fsingle-precision-constant option which is 00465 used to convert the floating point constants to single precision 00466 constants. */ 00467 00468 extern int flag_single_precision_constant; 00469 00470 /* Nonzero means put things in delayed-branch slots if supported. */ 00471 00472 extern int flag_delayed_branch; 00473 00474 /* Nonzero means suppress output of instruction numbers and line number 00475 notes in debugging dumps. */ 00476 00477 extern int flag_dump_unnumbered; 00478 00479 /* Nonzero means change certain warnings into errors. 00480 Usually these are warnings about failure to conform to some standard. */ 00481 00482 extern int flag_pedantic_errors; 00483 00484 /* Nonzero means generate position-independent code. 1 vs 2 for a 00485 target-dependent "small" or "large" mode. */ 00486 00487 extern int flag_pic; 00488 00489 /* Nonzero if we are compiling position independent code for executable. 00490 1 vs 2 for a target-dependent "small" or "large" mode. */ 00491 00492 extern int flag_pie; 00493 00494 /* Nonzero if we are compiling code for a shared library, zero for 00495 executable. */ 00496 00497 extern int flag_shlib; 00498 00499 /* Nonzero means generate extra code for exception handling and enable 00500 exception handling. */ 00501 00502 extern int flag_exceptions; 00503 00504 #ifdef KEY 00505 /* Nonzero means enable implementation of KEY exception handling */ 00506 extern int key_exceptions; 00507 extern int opt_regions; 00508 #endif 00509 00510 /* Nonzero means generate frame unwind info table when supported */ 00511 00512 extern int flag_unwind_tables; 00513 00514 /* Nonzero means generate frame unwind info table exact at each insn boundary */ 00515 00516 extern int flag_asynchronous_unwind_tables; 00517 00518 /* Nonzero means don't place uninitialized global data in common storage 00519 by default. */ 00520 00521 extern int flag_no_common; 00522 00523 /* -finhibit-size-directive inhibits output of .size for ELF. 00524 This is used only for compiling crtstuff.c, 00525 and it may be extended to other effects 00526 needed for crtstuff.c on other systems. */ 00527 extern int flag_inhibit_size_directive; 00528 00529 /* Nonzero means place each function into its own section on those platforms 00530 which support arbitrary section names and unlimited numbers of sections. */ 00531 00532 extern int flag_function_sections; 00533 00534 /* ... and similar for data. */ 00535 00536 extern int flag_data_sections; 00537 00538 /* -fverbose-asm causes extra commentary information to be produced in 00539 the generated assembly code (to make it more readable). This option 00540 is generally only of use to those who actually need to read the 00541 generated assembly code (perhaps while debugging the compiler itself). 00542 -fno-verbose-asm, the default, causes the extra information 00543 to not be added and is useful when comparing two assembler files. */ 00544 00545 extern int flag_verbose_asm; 00546 00547 /* -dA causes debug information to be produced in 00548 the generated assembly code (to make it more readable). This option 00549 is generally only of use to those who actually need to read the 00550 generated assembly code (perhaps while debugging the compiler itself). 00551 Currently, this switch is only used by dwarfout.c; however, it is intended 00552 to be a catchall for printing debug information in the assembler file. */ 00553 00554 extern int flag_debug_asm; 00555 00556 extern int flag_dump_rtl_in_asm; 00557 00558 /* -fgnu-linker specifies use of the GNU linker for initializations. 00559 -fno-gnu-linker says that collect will be used. */ 00560 extern int flag_gnu_linker; 00561 00562 #ifdef SGI_MONGOOSE 00563 00564 /* -dC causes asm operand constraints that aren't valid or supported 00565 for the target machine to force the entire containing asm statement 00566 to be discarded. This is a temporary hack. RK 990428 */ 00567 00568 extern int flag_bad_asm_constraint_kills_stmt; 00569 00570 #endif /* SGI_MONGOOSE */ 00571 00572 /* Tag all structures with __attribute__(packed) */ 00573 extern int flag_pack_struct; 00574 00575 /* This flag is only tested if alias checking is enabled. 00576 0 if pointer arguments may alias each other. True in C. 00577 1 if pointer arguments may not alias each other but may alias 00578 global variables. 00579 2 if pointer arguments may not alias each other and may not 00580 alias global variables. True in Fortran. 00581 The value is ignored if flag_alias_check is 0. */ 00582 extern int flag_argument_noalias; 00583 00584 /* Nonzero if we should do (language-dependent) alias analysis. 00585 Typically, this analysis will assume that expressions of certain 00586 types do not alias expressions of certain other types. Only used 00587 if alias analysis (in general) is enabled. */ 00588 extern int flag_strict_aliasing; 00589 00590 /* Emit code to probe the stack, to help detect stack overflow; also 00591 may cause large objects to be allocated dynamically. */ 00592 extern int flag_stack_check; 00593 00594 /* Do the full regmove optimization pass. */ 00595 extern int flag_regmove; 00596 00597 /* Instrument functions with calls at entry and exit, for profiling. */ 00598 extern int flag_instrument_function_entry_exit; 00599 00600 /* Perform a peephole pass before sched2. */ 00601 extern int flag_peephole2; 00602 00603 /* Try to guess branch probablities. */ 00604 extern int flag_guess_branch_prob; 00605 00606 /* -fcheck-bounds causes gcc to generate array bounds checks. 00607 For C, C++ and ObjC: defaults off. 00608 For Java: defaults to on. 00609 For Fortran: defaults to off. */ 00610 extern int flag_bounds_check; 00611 00612 /* This will attempt to merge constant section constants, if 1 only 00613 string constants and constants from constant pool, if 2 also constant 00614 variables. */ 00615 extern int flag_merge_constants; 00616 00617 /* If one, renumber instruction UIDs to reduce the number of 00618 unused UIDs if there are a lot of instructions. If greater than 00619 one, unconditionally renumber instruction UIDs. */ 00620 extern int flag_renumber_insns; 00621 00622 /* Other basic status info about current function. */ 00623 00624 /* Nonzero means current function must be given a frame pointer. 00625 Set in stmt.c if anything is allocated on the stack there. 00626 Set in reload1.c if anything is allocated on the stack there. */ 00627 00628 extern int frame_pointer_needed; 00629 00630 /* Nonzero if the generated code should trap on signed overflow 00631 for PLUS / SUB / MULT. */ 00632 extern int flag_trapv; 00633 00634 #ifdef KEY 00635 /* Bug 8041: 00636 Non-zero iff a shift written by the user is to be retained as it is. */ 00637 extern int flag_honor_shift; 00638 #endif 00639 00640 /* Value of the -G xx switch, and whether it was passed or not. */ 00641 extern int g_switch_value; 00642 extern int g_switch_set; 00643 00644 /* Values of the -falign-* flags: how much to align labels in code. 00645 0 means `use default', 1 means `don't align'. 00646 For each variable, there is an _log variant which is the power 00647 of two not less than the variable, for .align output. */ 00648 00649 extern int align_loops; 00650 extern int align_loops_log; 00651 extern int align_loops_max_skip; 00652 extern int align_jumps; 00653 extern int align_jumps_log; 00654 extern int align_jumps_max_skip; 00655 extern int align_labels; 00656 extern int align_labels_log; 00657 extern int align_labels_max_skip; 00658 extern int align_functions; 00659 extern int align_functions_log; 00660 00661 /* Like align_functions_log above, but used by front-ends to force the 00662 minimum function alignment. Zero means no alignment is forced. */ 00663 extern int force_align_functions_log; 00664 00665 /* Nonzero if we dump in VCG format, not plain text. */ 00666 extern int dump_for_graph; 00667 00668 /* Selection of the graph form. */ 00669 enum graph_dump_types 00670 { 00671 no_graph = 0, 00672 vcg 00673 }; 00674 extern enum graph_dump_types graph_dump_format; 00675 00676 /* Nonzero means ignore `#ident' directives. 0 means handle them. 00677 On SVR4 targets, it also controls whether or not to emit a 00678 string identifying the compiler. */ 00679 00680 extern int flag_no_ident; 00681 00682 /* Nonzero if we want to perform enhanced load motion during gcse. */ 00683 00684 extern int flag_gcse_lm; 00685 00686 /* Nonzero if we want to perform store motion after gcse. */ 00687 00688 extern int flag_gcse_sm; 00689 00690 00691 /* Nonzero means we should do dwarf2 duplicate elimination. */ 00692 00693 extern int flag_eliminate_dwarf2_dups; 00694 00695 /* Nonzero means to collect statistics which might be expensive 00696 and to print them when we are done. */ 00697 extern int flag_detailed_statistics; 00698 00699 /* Nonzero means enable synchronous exceptions for non-call instructions. */ 00700 extern int flag_non_call_exceptions; 00701 00702 /* Nonzero means put zero initialized data in the bss section. */ 00703 extern int flag_zero_initialized_in_bss; 00704 00705 /* Nonzero means disable transformations observable by signaling NaNs. */ 00706 extern int flag_signaling_nans; 00707 00708 /* A string that's used when a random name is required. NULL means 00709 to make it really random. */ 00710 00711 extern const char *flag_random_seed; 00712 00713 /* True if the given mode has a NaN representation and the treatment of 00714 NaN operands is important. Certain optimizations, such as folding 00715 x * 0 into x, are not correct for NaN operands, and are normally 00716 disabled for modes with NaNs. The user can ask for them to be 00717 done anyway using the -funsafe-math-optimizations switch. */ 00718 #define HONOR_NANS(MODE) \ 00719 (MODE_HAS_NANS (MODE) && !flag_finite_math_only) 00720 00721 /* Like HONOR_NANs, but true if we honor signaling NaNs (or sNaNs). */ 00722 #define HONOR_SNANS(MODE) (flag_signaling_nans && HONOR_NANS (MODE)) 00723 00724 /* As for HONOR_NANS, but true if the mode can represent infinity and 00725 the treatment of infinite values is important. */ 00726 #define HONOR_INFINITIES(MODE) \ 00727 (MODE_HAS_INFINITIES (MODE) && !flag_finite_math_only) 00728 00729 /* Like HONOR_NANS, but true if the given mode distinguishes between 00730 postive and negative zero, and the sign of zero is important. */ 00731 #define HONOR_SIGNED_ZEROS(MODE) \ 00732 (MODE_HAS_SIGNED_ZEROS (MODE) && !flag_unsafe_math_optimizations) 00733 00734 /* Like HONOR_NANS, but true if given mode supports sign-dependent rounding, 00735 and the rounding mode is important. */ 00736 #define HONOR_SIGN_DEPENDENT_ROUNDING(MODE) \ 00737 (MODE_HAS_SIGN_DEPENDENT_ROUNDING (MODE) && !flag_unsafe_math_optimizations) 00738 00739 #endif /* ! GCC_FLAGS_H */
1.5.6