lang.opt 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. ; lang.opt -- Options for the gcc Go front end.
  2. ; Copyright (C) 2009-2015 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. ; See the GCC internals manual for a description of this file's format.
  20. ; Please try to keep this file in ASCII collating order.
  21. Language
  22. Go
  23. I
  24. Go Joined Separate
  25. ; Documented in c.opt
  26. L
  27. Go Joined Separate
  28. ; Not documented
  29. Wall
  30. Go
  31. ; Documented in c.opt
  32. fgo-check-divide-zero
  33. Go Var(go_check_divide_zero) Init(1)
  34. Add explicit checks for division by zero
  35. fgo-check-divide-overflow
  36. Go Var(go_check_divide_overflow) Init(1)
  37. Add explicit checks for division overflow in INT_MIN / -1
  38. fgo-dump-
  39. Go Joined RejectNegative
  40. -fgo-dump-<type> Dump Go frontend internal information
  41. fgo-optimize-
  42. Go Joined RejectNegative
  43. -fgo-optimize-<type> Turn on optimization passes in the frontend
  44. fgo-pkgpath=
  45. Go Joined RejectNegative
  46. -fgo-pkgpath=<string> Set Go package path
  47. fgo-prefix=
  48. Go Joined RejectNegative
  49. -fgo-prefix=<string> Set package-specific prefix for exported Go names
  50. fgo-relative-import-path=
  51. Go Joined RejectNegative
  52. -fgo-relative-import-path=<path> Treat a relative import as relative to path
  53. frequire-return-statement
  54. Go Var(go_require_return_statement) Init(1) Warning
  55. Functions which return values must end with return statements
  56. o
  57. Go Joined Separate
  58. ; Documented in common.opt
  59. ; This comment is to ensure we retain the blank line above.