diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-04-27 13:34:22 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-04-27 13:34:22 +0000 |
commit | ec981df8ea822115a9002f095431c658c8d3a8cd (patch) | |
tree | f441540e4fbabaa8e25c1188b20c7c8c312a0078 /gcc/melt-run.proto.h | |
parent | 7cd42a4bdac3d106b0735266d5ab6d6e9cb72b74 (diff) | |
download | gcc-ec981df8ea822115a9002f095431c658c8d3a8cd.tar.gz |
2016-04-27 Basile Starynkevitch <basile@starynkevitch.net>
{{remove GCC 4.x specific code}}
* melt-run.proto.h: Remove GCC 4.x code & includes.
* melt-runtime.h: Likewise, notably for melt_fatal_error...
* melt-runtime.cc: Likewise.
(melt_resize_scangcvect, melt_branch_process_arguments)
(melt_argument, meltgc_strbuf_reserve, melt_assert_failed)
(melt_val2passflag): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@235508 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/melt-run.proto.h')
-rw-r--r-- | gcc/melt-run.proto.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/melt-run.proto.h b/gcc/melt-run.proto.h index c390a4b9b17..6650d84e988 100644 --- a/gcc/melt-run.proto.h +++ b/gcc/melt-run.proto.h @@ -24,7 +24,7 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>. */ -/* We need <cstdlib> very early for GCC 4.8 & 4.9; see http://gcc.gnu.org/ml/gcc/2012-08/msg00277.html */ +/* We need <cstdlib> very early; see http://gcc.gnu.org/ml/gcc/2012-08/msg00277.html */ #include <cstdlib> #include "config.h" @@ -39,8 +39,6 @@ along with GCC; see the file COPYING3. If not see #include "plugin-version.h" #endif /*GCCPLUGIN_VERSION*/ -/// Since at least GCC 4.8, plugin-version.h defines GCCPLUGIN_VERSION - #ifndef MELT_GCC_VERSION /* Actually, the generated melt-run.h contains a number like 4007 for GCC 4.7 etc. This is the version of the GCC using this MELT. */ @@ -56,13 +54,11 @@ along with GCC; see the file COPYING3. If not see #include "tm.h" #include "tree.h" -#if GCCPLUGIN_VERSION >= 4009 #include "basic-block.h" #include "tree-ssa-alias.h" #include "internal-fn.h" #include "gimple-expr.h" #include "is-a.h" -#endif /*GCC 4.9 */ #include "gimple.h" @@ -90,16 +86,12 @@ along with GCC; see the file COPYING3. If not see #include "diagnostic.h" -#if GCCPLUGIN_VERSION >= 4009 #include "context.h" #include "tree-cfg.h" #include "gimple-iterator.h" #include "stringpool.h" #include "tree-ssa-scopedtables.h" #include "tree-ssa-threadedge.h" -#else -#include "tree-flow.h" -#endif /* GCC 4.9 */ #include "flags.h" #include "toplev.h" |