aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-06-28 10:28:09 +0000
committerJoseph Myers <joseph@codesourcery.com>2011-06-28 10:28:09 +0000
commit4212077a2119ffe137c5cfbf1cc5b4b328bda613 (patch)
treeb3eb1b6cdfe6199aca999ce1c33202fecb509335 /gcc/opts.c
parentef74922e3eb53d5e8daf3b3f0d0e9b1e9b282d6a (diff)
* genattr-common.c: New. Based on genattr.c.
* Makefile.in (INSN_ATTR_H): Include insn-attr-common.h. (MOSTLYCLEANFILES): Add insn-attr-common.h. (opts.o): Update dependencies. (.PRECIOUS): Add insn-attr-common.h. (simple_rtl_generated_h): Add insn-attr-common.h. (build/genattr-common.o): New. (genprogrtl): Add attr-common. * genattr.c (main): Include insn-attr-common.h. Don't generate definitions of DELAY_SLOTS or INSN_SCHEDULING. * opts.c: Include insn-attr-common.h instead of rtl.h and insn-attr.h. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@175579 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index 18bbe4315e9..c3e7bc7e3e1 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -23,17 +23,16 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "intl.h"
#include "coretypes.h"
-#include "tm.h" /* Needed by rtl.h and used for STACK_CHECK_BUILTIN,
+#include "tm.h" /* For STACK_CHECK_BUILTIN,
STACK_CHECK_STATIC_BUILTIN, DEFAULT_GDB_EXTENSIONS,
DWARF2_DEBUGGING_INFO and DBX_DEBUGGING_INFO. */
-#include "rtl.h" /* Needed by insn-attr.h. */
#include "opts.h"
#include "options.h"
#include "flags.h"
#include "params.h"
#include "diagnostic.h"
#include "opts-diagnostic.h"
-#include "insn-attr.h" /* For INSN_SCHEDULING and DELAY_SLOTS. */
+#include "insn-attr-common.h"
#include "common/common-target.h"
/* Parse the -femit-struct-debug-detailed option value