aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-06-28 11:28:09 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2011-06-28 11:28:09 +0100
commit88a00ef7d65f16ce3851cf8ebcda756c97113cee (patch)
treeb3eb1b6cdfe6199aca999ce1c33202fecb509335 /gcc/opts.c
parenta9633db4d2870935d07ea267637422b43f838977 (diff)
downloadgcc-88a00ef7d65f16ce3851cf8ebcda756c97113cee.zip
gcc-88a00ef7d65f16ce3851cf8ebcda756c97113cee.tar.gz
gcc-88a00ef7d65f16ce3851cf8ebcda756c97113cee.tar.bz2
genattr-common.c: New.
* 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. From-SVN: r175579
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 18bbe43..c3e7bc7 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