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