1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/lang/gcc28/files/patch-06
David E. O'Brien 052412681c Add support for -fformat-extensions.
(kernel and world should now be buildable using gcc28)
1999-03-31 08:47:14 +00:00

43 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- toplev.c.orig Wed Feb 25 18:04:46 1998
+++ toplev.c Wed Mar 31 00:15:41 1999
@@ -463,6 +463,20 @@
int flag_unroll_all_loops;
+/* Nonzero forces all invariant computations in loops to be moved
+ outside the loop. */
+
+int flag_move_all_movables = 0;
+
+/* Nonzero forces all general induction variables in loops to be
+ strength reduced. */
+
+int flag_reduce_all_givs = 0;
+
+/* Nonzero gets another run of loop_optimize performed. */
+
+int flag_rerun_loop_opt = 0;
+
/* Nonzero for -fwritable-strings:
store string constants in data segment and don't uniquize them. */
@@ -691,6 +705,7 @@
{"stack-check", &flag_stack_check, 1},
{"bytecode", &output_bytecode, 1},
{"check-memory-usage", &flag_check_memory_usage, 1},
+ {"format-extensions", &flag_format_extensions, 1},
{"prefix-function-name", &flag_prefix_function_name, 1}
};
@@ -880,6 +895,10 @@
{"uninitialized", &warn_uninitialized, 1},
{"inline", &warn_inline, 1}
};
+
+/* Nonzero means that -Wformat accepts certain system-dependent formats. */
+
+int flag_format_extensions = 0;
/* Output files for assembler code (real compiler output)
and debugging dumps. */