summaryrefslogtreecommitdiff
path: root/lang/gcc41/files/patch-fc
blob: 628048a209e77bdb82f20f1b59e7f854a25c8276 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- gcc/toplev.c.orig	Tue Jun  6 13:11:39 2000
+++ gcc/toplev.c	Mon Jun 26 20:19:31 2000
@@ -787,6 +787,9 @@
 /* Tag all structures with __attribute__(packed) */
 int flag_pack_struct = 0;
 
+/* Nonzero means that -Wformat accepts certain system-dependent formats.  */
+int flag_format_extensions = 0;
+
 /* Emit code to check for stack overflow; also may cause large objects
    to be allocated dynamically.  */
 int flag_stack_check;
@@ -1064,6 +1067,8 @@
    "Do the full regmove optimization pass"},
   {"pack-struct", &flag_pack_struct, 1,
    N_("Pack structure members together without holes") },
+  {"format-extensions", &flag_format_extensions, 1,
+   N_("-Wformat accepts certain FreeBSD system-dependent formats") },
   {"stack-check", &flag_stack_check, 1,
    N_("Insert stack checking code into the program") },
   {"argument-alias", &flag_argument_noalias, 0,