1; Options for the Fortran 95 front end. 2; Copyright (C) 2003-2013 Free Software Foundation, Inc. 3; 4; This file is part of GCC. 5; 6; GCC is free software; you can redistribute it and/or modify it under 7; the terms of the GNU General Public License as published by the Free 8; Software Foundation; either version 3, or (at your option) any later 9; version. 10; 11; GCC is distributed in the hope that it will be useful, but WITHOUT ANY 12; WARRANTY; without even the implied warranty of MERCHANTABILITY or 13; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14; for more details. 15; 16; You should have received a copy of the GNU General Public License 17; along with GCC; see the file COPYING3. If not see 18; <http://www.gnu.org/licenses/>. 19 20; See the GCC internals manual for a description of this file's format. 21 22; Please try to keep this file in ASCII collating order. 23 24Language 25Fortran 26 27-all-warnings 28Fortran Alias(Wall) 29 30-assert 31Fortran Separate Alias(A) 32 33-assert= 34Fortran Joined Alias(A) 35 36-comments 37Fortran Alias(C) 38 39-comments-in-macros 40Fortran Alias(CC) 41 42-define-macro 43Fortran Separate Alias(D) 44 45-define-macro= 46Fortran Joined Alias(D) 47 48-dependencies 49Fortran Alias(M) 50 51-dump 52Fortran Separate Alias(d) 53 54-dump= 55Fortran Joined Alias(d) 56 57-include-barrier 58Fortran Alias(I, -) 59 60-include-directory 61Fortran Separate Alias(I) 62 63-include-directory= 64Fortran Joined Alias(I) 65 66-include-directory-after 67Fortran Separate Alias(idirafter) 68 69-include-directory-after= 70Fortran Joined Alias(idirafter) 71 72-include-prefix 73Fortran Separate Alias(iprefix) 74 75-include-prefix= 76Fortran JoinedOrMissing Alias(iprefix) 77 78-no-line-commands 79Fortran Alias(P) 80 81-no-standard-includes 82Fortran Alias(nostdinc) 83 84-output 85Fortran Separate Alias(o) 86 87-output= 88Fortran Joined Alias(o) 89 90-preprocess 91Fortran Undocumented Alias(E) 92 93-print-missing-file-dependencies 94Fortran Alias(MG) 95 96-trace-includes 97Fortran Alias(H) 98 99-undefine-macro 100Fortran Separate Alias(U) 101 102-undefine-macro= 103Fortran Joined Alias(U) 104 105-user-dependencies 106Fortran Alias(MM) 107 108-verbose 109Fortran Alias(v) 110 111-write-dependencies 112Fortran NoDriverArg Separate Alias(MD) 113 114-write-user-dependencies 115Fortran NoDriverArg Separate Alias(MMD) 116 117A 118Fortran Joined Separate 119; Documented in C 120 121C 122Fortran 123; Documented in C 124 125CC 126Fortran 127; Documented in C 128 129D 130Fortran Joined Separate 131; Documented in C 132 133E 134Fortran Undocumented 135 136H 137Fortran 138; Documented in C 139 140I 141Fortran Joined Separate 142; Documented in C 143 144J 145Fortran Joined Separate 146-J<directory> Put MODULE files in 'directory' 147 148M 149Fortran 150; Documented in C 151 152MD 153Fortran Separate NoDriverArg 154; Documented in C 155 156MF 157Fortran Joined Separate 158; Documented in C 159 160MG 161Fortran 162; Documented in C 163 164MM 165Fortran 166; Documented in C 167 168MMD 169Fortran Separate NoDriverArg 170; Documented in C 171 172MP 173Fortran 174; Documented in C 175 176MT 177Fortran Joined Separate 178; Documented in C 179 180MQ 181Fortran Joined Separate 182; Documented in C 183 184P 185Fortran 186; Documented in C 187 188U 189Fortran Joined Separate 190; Documented in C 191 192Wall 193Fortran 194; Documented in C 195 196Waliasing 197Fortran Warning 198Warn about possible aliasing of dummy arguments 199 200Walign-commons 201Fortran Warning 202Warn about alignment of COMMON blocks 203 204Wampersand 205Fortran Warning 206Warn about missing ampersand in continued character constants 207 208Warray-temporaries 209Fortran Warning 210Warn about creation of array temporaries 211 212Wc-binding-type 213Fortran Warning 214Warn if the type of a variable might be not interoperable with C 215 216Wcharacter-truncation 217Fortran Warning 218Warn about truncated character expressions 219 220Wcompare-reals 221Fortran Warning 222Warn about equality comparisons involving REAL or COMPLEX expressions 223 224Wconversion 225Fortran Warning 226; Documented in C 227 228Wconversion-extra 229Fortran Warning 230Warn about most implicit conversions 231 232Wextra 233Fortran Warning 234Print extra (possibly unwanted) warnings 235 236Wfunction-elimination 237Fortran Warning 238Warn about function call elimination 239 240Wimplicit-interface 241Fortran Warning 242Warn about calls with implicit interface 243 244Wimplicit-procedure 245Fortran Warning 246Warn about called procedures not explicitly declared 247 248Wline-truncation 249Fortran Warning 250Warn about truncated source lines 251 252Wintrinsics-std 253Fortran Warning 254Warn on intrinsics not part of the selected standard 255 256Wreal-q-constant 257Fortran Warning 258Warn about real-literal-constants with 'q' exponent-letter 259 260Wrealloc-lhs 261Fortran Warning 262Warn when a left-hand-side array variable is reallocated 263 264Wrealloc-lhs-all 265Fortran Warning 266Warn when a left-hand-side variable is reallocated 267 268Wtarget-lifetime 269Fortran Warning 270Warn if the pointer in a pointer assignment might outlive its target 271 272Wreturn-type 273Fortran Warning 274; Documented in C 275 276Wsurprising 277Fortran Warning 278Warn about \"suspicious\" constructs 279 280Wtabs 281Fortran Warning 282Permit nonconforming uses of the tab character 283 284Wunderflow 285Fortran Warning 286Warn about underflow of numerical constant expressions 287 288Wintrinsic-shadow 289Fortran Warning 290Warn if a user-procedure has the same name as an intrinsic 291 292Wunused-dummy-argument 293Fortran Warning 294Warn about unused dummy arguments. 295 296cpp 297Fortran Negative(nocpp) 298Enable preprocessing 299 300cpp= 301Fortran Joined Negative(nocpp) Undocumented NoDWARFRecord 302; Internal option generated by specs from -cpp. 303 304nocpp 305Fortran Negative(cpp) 306Disable preprocessing 307 308d 309Fortran Joined 310; Documented in common.opt 311 312faggressive-function-elimination 313Fortran 314Eliminate multiple function invokations also for impure functions 315 316falign-commons 317Fortran 318Enable alignment of COMMON blocks 319 320fall-intrinsics 321Fortran RejectNegative 322All intrinsics procedures are available regardless of selected standard 323 324fallow-leading-underscore 325Fortran Undocumented 326; For internal use only: allow the first character of symbol names to be an underscore 327 328fautomatic 329Fortran 330Do not treat local variables and COMMON blocks as if they were named in SAVE statements 331 332fbackslash 333Fortran 334Specify that backslash in string introduces an escape character 335 336fbacktrace 337Fortran 338Produce a backtrace when a runtime error is encountered 339 340fblas-matmul-limit= 341Fortran RejectNegative Joined UInteger 342-fblas-matmul-limit=<n> Size of the smallest matrix for which matmul will use BLAS 343 344fcheck-array-temporaries 345Fortran 346Produce a warning at runtime if a array temporary has been created for a procedure argument 347 348fconvert=big-endian 349Fortran RejectNegative 350Use big-endian format for unformatted files 351 352fconvert=little-endian 353Fortran RejectNegative 354Use little-endian format for unformatted files 355 356fconvert=native 357Fortran RejectNegative 358Use native format for unformatted files 359 360fconvert=swap 361Fortran RejectNegative 362Swap endianness for unformatted files 363 364fcray-pointer 365Fortran 366Use the Cray Pointer extension 367 368fd-lines-as-code 369Fortran RejectNegative 370Ignore 'D' in column one in fixed form 371 372fd-lines-as-comments 373Fortran RejectNegative 374Treat lines with 'D' in column one as comments 375 376fdefault-double-8 377Fortran 378Set the default double precision kind to an 8 byte wide type 379 380fdefault-integer-8 381Fortran 382Set the default integer kind to an 8 byte wide type 383 384fdefault-real-8 385Fortran 386Set the default real kind to an 8 byte wide type 387 388fdollar-ok 389Fortran 390Allow dollar signs in entity names 391 392fdump-core 393Fortran Ignore 394Does nothing. Preserved for backward compatibility. 395 396fdump-fortran-original 397Fortran 398Display the code tree after parsing 399 400fdump-fortran-optimized 401Fortran 402Display the code tree after front end optimization 403 404fdump-parse-tree 405Fortran 406Display the code tree after parsing; deprecated option 407 408fexternal-blas 409Fortran 410Specify that an external BLAS library should be used for matmul calls on large-size arrays 411 412ff2c 413Fortran 414Use f2c calling convention 415 416ffixed-form 417Fortran RejectNegative 418Assume that the source file is fixed form 419 420finteger-4-integer-8 421Fortran RejectNegative 422Interpret any INTEGER(4) as an INTEGER(8) 423 424fintrinsic-modules-path 425Fortran RejectNegative Separate 426Specify where to find the compiled intrinsic modules 427 428fintrinsic-modules-path= 429Fortran RejectNegative Joined 430Specify where to find the compiled intrinsic modules 431 432ffixed-line-length-none 433Fortran RejectNegative 434Allow arbitrary character line width in fixed mode 435 436ffixed-line-length- 437Fortran RejectNegative Joined UInteger 438-ffixed-line-length-<n> Use n as character line width in fixed mode 439 440ffpe-trap= 441Fortran RejectNegative JoinedOrMissing 442-ffpe-trap=[...] Stop on following floating point exceptions 443 444ffree-form 445Fortran RejectNegative 446Assume that the source file is free form 447 448ffree-line-length-none 449Fortran RejectNegative 450Allow arbitrary character line width in free mode 451 452ffree-line-length- 453Fortran RejectNegative Joined UInteger 454-ffree-line-length-<n> Use n as character line width in free mode 455 456ffrontend-optimize 457Fortran 458Enable front end optimization 459 460fimplicit-none 461Fortran 462Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements 463 464finit-character= 465Fortran RejectNegative Joined UInteger 466-finit-character=<n> Initialize local character variables to ASCII value n 467 468finit-integer= 469Fortran RejectNegative Joined 470-finit-integer=<n> Initialize local integer variables to n 471 472finit-local-zero 473Fortran 474Initialize local variables to zero (from g77) 475 476finit-logical= 477Fortran RejectNegative Joined 478-finit-logical=<true|false> Initialize local logical variables 479 480finit-real= 481Fortran RejectNegative Joined 482-finit-real=<zero|nan|inf|-inf> Initialize local real variables 483 484fmax-array-constructor= 485Fortran RejectNegative Joined UInteger 486-fmax-array-constructor=<n> Maximum number of objects in an array constructor 487 488fmax-identifier-length= 489Fortran RejectNegative Joined UInteger 490-fmax-identifier-length=<n> Maximum identifier length 491 492fmax-subrecord-length= 493Fortran RejectNegative Joined UInteger 494-fmax-subrecord-length=<n> Maximum length for subrecords 495 496fmax-stack-var-size= 497Fortran RejectNegative Joined UInteger 498-fmax-stack-var-size=<n> Size in bytes of the largest array that will be put on the stack 499 500fstack-arrays 501Fortran 502Put all local arrays on stack. 503 504fmodule-private 505Fortran 506Set default accessibility of module entities to PRIVATE. 507 508fopenmp 509Fortran 510; Documented in C 511 512fpack-derived 513Fortran 514Try to lay out derived types as compactly as possible 515 516fpreprocessed 517Fortran 518; Documented in C 519 520fprotect-parens 521Fortran 522Protect parentheses in expressions 523 524frange-check 525Fortran 526Enable range checking during compilation 527 528freal-4-real-8 529Fortran RejectNegative 530Interpret any REAL(4) as a REAL(8) 531 532freal-4-real-10 533Fortran RejectNegative 534Interpret any REAL(4) as a REAL(10) 535 536freal-4-real-16 537Fortran RejectNegative 538Interpret any REAL(4) as a REAL(16) 539 540freal-8-real-4 541Fortran RejectNegative 542Interpret any REAL(8) as a REAL(4) 543 544freal-8-real-10 545Fortran RejectNegative 546Interpret any REAL(8) as a REAL(10) 547 548freal-8-real-16 549Fortran RejectNegative 550Interpret any REAL(8) as a REAL(16) 551 552frealloc-lhs 553Fortran 554Reallocate the LHS in assignments 555 556frecord-marker=4 557Fortran RejectNegative 558Use a 4-byte record marker for unformatted files 559 560frecord-marker=8 561Fortran RejectNegative 562Use an 8-byte record marker for unformatted files 563 564frecursive 565Fortran 566Allocate local variables on the stack to allow indirect recursion 567 568frepack-arrays 569Fortran 570Copy array sections into a contiguous block on procedure entry 571 572fcoarray= 573Fortran RejectNegative JoinedOrMissing 574-fcoarray=[...] Specify which coarray parallelization should be used 575 576fcheck= 577Fortran RejectNegative JoinedOrMissing 578-fcheck=[...] Specify which runtime checks are to be performed 579 580fsecond-underscore 581Fortran 582Append a second underscore if the name already contains an underscore 583 584fshort-enums 585Fortran Var(flag_short_enums) 586; Documented in C 587 588fsign-zero 589Fortran 590Apply negative sign to zero values 591 592funderscoring 593Fortran 594Append underscores to externally visible names 595 596fwhole-file 597Fortran 598Compile all program units at once and check all interfaces 599 600fworking-directory 601Fortran 602; Documented in C 603 604idirafter 605Fortran Joined Separate 606; Documented in C 607 608imultilib 609Fortran Joined Separate 610; Documented in C 611 612iprefix 613Fortran Joined Separate 614; Documented in C 615 616iquote 617Fortran Joined Separate 618; Documented in C 619 620isysroot 621Fortran Joined Separate 622; Documented in C 623 624isystem 625Fortran Joined Separate 626; Documented in C 627 628nostdinc 629Fortran 630; Documented in C 631 632o 633Fortran Joined Separate 634; Documented in common.opt 635 636static-libgfortran 637Fortran 638Statically link the GNU Fortran helper library (libgfortran) 639 640std=f2003 641Fortran 642Conform to the ISO Fortran 2003 standard 643 644std=f2008 645Fortran 646Conform to the ISO Fortran 2008 standard 647 648std=f2008ts 649Fortran 650Conform to the ISO Fortran 2008 standard including TS 29113 651 652std=f95 653Fortran 654Conform to the ISO Fortran 95 standard 655 656std=gnu 657Fortran 658Conform to nothing in particular 659 660std=legacy 661Fortran 662Accept extensions to support legacy code 663 664undef 665Fortran 666; Documented in C 667 668v 669Fortran 670; Documented in C 671 672; This comment is to ensure we retain the blank line above. 673