mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-05 02:38:54 -04:00
72 lines
2.4 KiB
Plaintext
72 lines
2.4 KiB
Plaintext
$NetBSD: patch-gcc_common.opt,v 1.1 2014/01/25 13:38:48 ryoon Exp $
|
|
|
|
--- gcc/common.opt.orig 2013-01-14 16:35:23.000000000 +0000
|
|
+++ gcc/common.opt
|
|
@@ -546,6 +546,10 @@ Wlarger-than=
|
|
Common RejectNegative Joined UInteger Warning
|
|
-Wlarger-than=<number> Warn if an object is larger than <number> bytes
|
|
|
|
+Wstack-larger-than-
|
|
+Common RejectNegative Joined UInteger
|
|
+-Wstack-larger-than-<number> Warn if a function is using more than <number> bytes of stack space for its local variables.
|
|
+
|
|
Wunsafe-loop-optimizations
|
|
Common Var(warn_unsafe_loop_optimizations) Warning
|
|
Warn if the loop cannot be optimized due to nontrivial assumptions.
|
|
@@ -619,7 +623,7 @@ Common Var(warn_switch_enum) Warning
|
|
Warn about all enumerated switches missing a specific case
|
|
|
|
Wsystem-headers
|
|
-Common Var(warn_system_headers) Warning
|
|
+Common Var(warn_system_headers) Init(1) Warning
|
|
Do not suppress warnings from system headers
|
|
|
|
Wtrampolines
|
|
@@ -670,6 +674,10 @@ Wunused-variable
|
|
Common Var(warn_unused_variable) Init(-1) Warning
|
|
Warn when a variable is unused
|
|
|
|
+Wvariable-decl
|
|
+Common Var(warn_variable_decl)
|
|
+Warn about variable-sized declarations
|
|
+
|
|
Wcoverage-mismatch
|
|
Common Var(warn_coverage_mismatch) Init(1) Warning
|
|
Warn in case profiles in -fprofile-use do not match
|
|
@@ -941,7 +949,7 @@ Common Report Var(flag_delayed_branch) O
|
|
Attempt to fill delay slots of branch instructions
|
|
|
|
fdelete-null-pointer-checks
|
|
-Common Report Var(flag_delete_null_pointer_checks) Init(1) Optimization
|
|
+Common Report Var(flag_delete_null_pointer_checks)
|
|
Delete useless null pointer checks
|
|
|
|
fdevirtualize
|
|
@@ -1164,7 +1172,7 @@ Enable guessing of branch probabilities
|
|
; On SVR4 targets, it also controls whether or not to emit a
|
|
; string identifying the compiler.
|
|
fident
|
|
-Common Report Var(flag_no_ident,0)
|
|
+Common Report Var(flag_no_ident,0) Init(1)
|
|
Process #ident directives
|
|
|
|
fif-conversion
|
|
@@ -1492,7 +1500,7 @@ Common Report Var(flag_pic,2)
|
|
Generate position-independent code if possible (large mode)
|
|
|
|
fPIE
|
|
-Common Report Var(flag_pie,2)
|
|
+Common Report Var(flag_pie,2) Init(PIE_DEFAULT)
|
|
Generate position-independent code for executables if possible (large mode)
|
|
|
|
fpic
|
|
@@ -1782,7 +1790,7 @@ Common RejectNegative Joined Var(common_
|
|
-fstack-limit-symbol=<name> Trap if the stack goes past symbol <name>
|
|
|
|
fstack-protector
|
|
-Common Report Var(flag_stack_protect, 1)
|
|
+Common Report Var(flag_stack_protect, 1) Init(-1)
|
|
Use propolice as a stack protection method
|
|
|
|
fstack-protector-all
|