diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 02cffc7f6..6dc3ae939 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -6,7 +6,7 @@ // Update 'COMPILERS' to install needed frontend compiler versions "args": { "VARIANT": "bionic-23.10", - "COMPILERS": "gcc-4.5,gcc-4.6,gcc-4.7,gcc-4.8,gcc-4.9,gcc-5,gcc-6,gcc-7,gcc-8,clang-4,clang-5,clang-6,clang-7,clang-8,clang-9,clang-10,clang-11,clang-12" + "COMPILERS": "gcc-4.9,gcc-5,gcc-6,gcc-7,gcc-8,clang-4,clang-5,clang-6,clang-7,clang-8,clang-9,clang-10,clang-11,clang-12" } }, "remoteUser": "vscode" diff --git a/.devcontainer/library-scripts/compiler-download.sh b/.devcontainer/library-scripts/compiler-download.sh index f4e35a1a8..8a54ffa18 100644 --- a/.devcontainer/library-scripts/compiler-download.sh +++ b/.devcontainer/library-scripts/compiler-download.sh @@ -70,18 +70,6 @@ inflate() { clang-4 ) url="https://releases.llvm.org/4.0.0/clang+llvm-4.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz" ;; - gcc-4.5 ) - url="${bambuhls_compiler_url}/gcc-4.5-bambu-Ubuntu_16.04.tar.xz" - ;; - gcc-4.6 ) - url="${bambuhls_compiler_url}/gcc-4.6-bambu-Ubuntu_16.04.tar.xz" - ;; - gcc-4.7 ) - url="${bambuhls_compiler_url}/gcc-4.7-bambu-Ubuntu_16.04.tar.xz" - ;; - gcc-4.8 ) - url="${bambuhls_compiler_url}/gcc-4.8-bambu-Ubuntu_16.04.tar.xz" - ;; gcc-4.9 ) url="${bambuhls_compiler_url}/gcc-4.9-bambu-Ubuntu_16.04.tar.xz" ;; diff --git a/.github/actions/build-gcc/entrypoint.sh b/.github/actions/build-gcc/entrypoint.sh index bfa2a20b4..6c1aa43ee 100755 --- a/.github/actions/build-gcc/entrypoint.sh +++ b/.github/actions/build-gcc/entrypoint.sh @@ -10,8 +10,6 @@ shift workspace_dir=$PWD -#Necessary for gcc-4.5 -export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h function cleanup { diff --git a/.github/actions/generate-appimage/entrypoint.sh b/.github/actions/generate-appimage/entrypoint.sh index 405ed4e1f..14396f875 100755 --- a/.github/actions/generate-appimage/entrypoint.sh +++ b/.github/actions/generate-appimage/entrypoint.sh @@ -31,8 +31,6 @@ function cleanup { } trap cleanup EXIT -#Necessary for gcc-4.5 -export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu ln -sf /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h echo "::group::Initialize workspace" diff --git a/.github/workflows/full-gcc.yml b/.github/workflows/full-gcc.yml index 2650ff674..d89e9c73f 100644 --- a/.github/workflows/full-gcc.yml +++ b/.github/workflows/full-gcc.yml @@ -18,7 +18,7 @@ jobs: uses: ./.github/workflows/build-appimage.yml with: package-name: bambu-gcc-full - compilers: gcc-4.5,gcc-4.6,gcc-4.7,gcc-4.8,gcc-4.9,gcc-5,gcc-6,gcc-7,gcc-8,clang-6 + compilers: gcc-4.9,gcc-5,gcc-6,gcc-7,gcc-8,clang-6 build-compiler: gcc-8 configure: --enable-glpk --enable-flopoco --enable-opt --with-opt-level=2 --enable-release CC=gcc-8 CXX=g++-8 secrets: inherit @@ -83,7 +83,7 @@ jobs: uses: ./.github/workflows/reusable-grs.yml with: package-name: ${{needs.build.outputs.package-name}} - test-compilers: \"I386_GCC45 --skip_list 20071202-1\",I386_GCC46,I386_GCC47,I386_GCC48,I386_GCC49,I386_GCC5,I386_GCC6,I386_GCC7,I386_GCC8 + test-compilers: I386_GCC49,I386_GCC5,I386_GCC6,I386_GCC7,I386_GCC8 additional-args: \"\",\"-c=--speculative-sdc-scheduling --skip_list 20040705-1,20040705-2,20040629-1,memset-3\" secrets: inherit @@ -92,7 +92,7 @@ jobs: uses: ./.github/workflows/reusable-grs-vhdl.yml with: package-name: ${{needs.build.outputs.package-name}} - test-compilers: \"I386_GCC45 --skip_list 20071202-1\",I386_GCC46,I386_GCC47,I386_GCC48,I386_GCC49,I386_GCC5,I386_GCC6,I386_GCC7,I386_GCC8 + test-compilers: I386_GCC49,I386_GCC5,I386_GCC6,I386_GCC7,I386_GCC8 secrets: inherit examples: diff --git a/Makefile.init b/Makefile.init index ffa13d332..ea1b1c2af 100644 --- a/Makefile.init +++ b/Makefile.init @@ -106,16 +106,21 @@ buildenv-shell : compose-up @docker compose -f .devcontainer/docker-compose.yml exec -i -e J=$J buildenv bash @docker compose -f .devcontainer/docker-compose.yml stop -t 0 -appimage-build : buildenv-sync +buildenv-build : buildenv-sync @echo "Configure options: $(APP_CONFIGURE)" @docker compose -f .devcontainer/docker-compose.yml exec -e J=$J buildenv bash /workspace/.devcontainer/library-scripts/appimage-build.sh /panda_dist/distdir /panda_dist/bambu.AppImage $(APP_CONFIGURE) @docker compose -f .devcontainer/docker-compose.yml exec buildenv chown -R $(shell id -u):$(shell id -g) /panda_dist/distdir || true @docker compose -f .devcontainer/docker-compose.yml stop -t 0 -appimage-setup : buildenv-sync +buildenv-setup : buildenv-sync @docker compose -f .devcontainer/docker-compose.yml exec buildenv bash /workspace/.devcontainer/library-scripts/compiler-download.sh / $(APP_COMPILERS) /compilers @docker compose -f .devcontainer/docker-compose.yml exec buildenv bash /workspace/.devcontainer/library-scripts/compiler-setup.sh @docker compose -f .devcontainer/docker-compose.yml exec buildenv bash /workspace/.devcontainer/library-scripts/appimage-setup.sh /panda_dist/distdir $(APP_COMPILERS) /compilers @echo "Initializing PandA build environment" @docker compose -f .devcontainer/docker-compose.yml exec buildenv make --directory=/workspace -f Makefile.init @docker compose -f .devcontainer/docker-compose.yml stop -t 0 + +buildenv-init : buildenv-sync + @echo "Initializing PandA build environment" + @docker compose -f .devcontainer/docker-compose.yml exec buildenv make --directory=/workspace -f Makefile.init + @docker compose -f .devcontainer/docker-compose.yml stop -t 0 diff --git a/QTCreator-PandA-GitHub.files b/QTCreator-PandA-GitHub.files index 147fc1561..03994f6f0 100644 --- a/QTCreator-PandA-GitHub.files +++ b/QTCreator-PandA-GitHub.files @@ -61,16 +61,6 @@ build/config_headers/config_HAVE_I386_CLANG7_COMPILER.hpp build/config_headers/config_HAVE_I386_CLANG7_M32.hpp build/config_headers/config_HAVE_I386_CLANG7_M64.hpp build/config_headers/config_HAVE_I386_CLANG7_MX32.hpp -build/config_headers/config_HAVE_I386_GCC45_COMPILER.hpp -build/config_headers/config_HAVE_I386_GCC46_COMPILER.hpp -build/config_headers/config_HAVE_I386_GCC47_COMPILER.hpp -build/config_headers/config_HAVE_I386_GCC47_M32.hpp -build/config_headers/config_HAVE_I386_GCC47_M64.hpp -build/config_headers/config_HAVE_I386_GCC47_MX32.hpp -build/config_headers/config_HAVE_I386_GCC48_COMPILER.hpp -build/config_headers/config_HAVE_I386_GCC48_M32.hpp -build/config_headers/config_HAVE_I386_GCC48_M64.hpp -build/config_headers/config_HAVE_I386_GCC48_MX32.hpp build/config_headers/config_HAVE_I386_GCC49_COMPILER.hpp build/config_headers/config_HAVE_I386_GCC49_M32.hpp build/config_headers/config_HAVE_I386_GCC49_M64.hpp @@ -187,46 +177,10 @@ build/config_headers/config_I386_CLANG_CPP4_EXE.hpp build/config_headers/config_I386_CLANG_CPP5_EXE.hpp build/config_headers/config_I386_CLANG_CPP6_EXE.hpp build/config_headers/config_I386_CLANG_CPP7_EXE.hpp -build/config_headers/config_I386_CPP45_EXE.hpp -build/config_headers/config_I386_CPP46_EXE.hpp -build/config_headers/config_I386_CPP47_EXE.hpp -build/config_headers/config_I386_CPP48_EXE.hpp build/config_headers/config_I386_CPP49_EXE.hpp build/config_headers/config_I386_CPP5_EXE.hpp build/config_headers/config_I386_CPP6_EXE.hpp build/config_headers/config_I386_CPP7_EXE.hpp -build/config_headers/config_I386_GCC45_EMPTY_PLUGIN.hpp -build/config_headers/config_I386_GCC45_EXE.hpp -build/config_headers/config_I386_GCC45_PLUGIN_COMPILER.hpp -build/config_headers/config_I386_GCC45_SSAVRP_PLUGIN.hpp -build/config_headers/config_I386_GCC45_SSA_PLUGIN.hpp -build/config_headers/config_I386_GCC45_SSA_PLUGINCPP.hpp -build/config_headers/config_I386_GCC45_TOPFNAME_PLUGIN.hpp -build/config_headers/config_I386_GCC45_VERSION.hpp -build/config_headers/config_I386_GCC46_EMPTY_PLUGIN.hpp -build/config_headers/config_I386_GCC46_EXE.hpp -build/config_headers/config_I386_GCC46_PLUGIN_COMPILER.hpp -build/config_headers/config_I386_GCC46_SSAVRP_PLUGIN.hpp -build/config_headers/config_I386_GCC46_SSA_PLUGIN.hpp -build/config_headers/config_I386_GCC46_SSA_PLUGINCPP.hpp -build/config_headers/config_I386_GCC46_TOPFNAME_PLUGIN.hpp -build/config_headers/config_I386_GCC46_VERSION.hpp -build/config_headers/config_I386_GCC47_EMPTY_PLUGIN.hpp -build/config_headers/config_I386_GCC47_EXE.hpp -build/config_headers/config_I386_GCC47_PLUGIN_COMPILER.hpp -build/config_headers/config_I386_GCC47_SSAVRP_PLUGIN.hpp -build/config_headers/config_I386_GCC47_SSA_PLUGIN.hpp -build/config_headers/config_I386_GCC47_SSA_PLUGINCPP.hpp -build/config_headers/config_I386_GCC47_TOPFNAME_PLUGIN.hpp -build/config_headers/config_I386_GCC47_VERSION.hpp -build/config_headers/config_I386_GCC48_EMPTY_PLUGIN.hpp -build/config_headers/config_I386_GCC48_EXE.hpp -build/config_headers/config_I386_GCC48_PLUGIN_COMPILER.hpp -build/config_headers/config_I386_GCC48_SSAVRP_PLUGIN.hpp -build/config_headers/config_I386_GCC48_SSA_PLUGIN.hpp -build/config_headers/config_I386_GCC48_SSA_PLUGINCPP.hpp -build/config_headers/config_I386_GCC48_TOPFNAME_PLUGIN.hpp -build/config_headers/config_I386_GCC48_VERSION.hpp build/config_headers/config_I386_GCC49_EMPTY_PLUGIN.hpp build/config_headers/config_I386_GCC49_EXE.hpp build/config_headers/config_I386_GCC49_PLUGIN_COMPILER.hpp diff --git a/configure.ac b/configure.ac index d2650dca3..70ba8084a 100644 --- a/configure.ac +++ b/configure.ac @@ -381,7 +381,7 @@ if test "x$panda_USE_BAMBU" = xyes; then panda_USE_SYNTHESIS_TOOL=yes; panda_USE_TASTE=yes; panda_USE_TREE_PANDA_GCC=yes; - AS_VERSION_COMPARE($MIN_GCC_VERSION, [4.5.0], [MIN_GCC_VERSION=4.5.0],,) + AS_VERSION_COMPARE($MIN_GCC_VERSION, [4.9.0], [MIN_GCC_VERSION=4.9.0],,) AS_VERSION_COMPARE($MAX_GCC_VERSION, [9.0.0],,,[MAX_GCC_VERSION=9.0.0]) AS_VERSION_COMPARE($MIN_CLANG_VERSION, [4.0.0], [MIN_CLANG_VERSION=4.0.0],,) AS_VERSION_COMPARE($MAX_CLANG_VERSION, [17.0.0],,,[MAX_CLANG_VERSION=17.0.0]) @@ -1216,10 +1216,6 @@ if test "x$panda_USE_I386_GCC" = xyes; then EXTRA_CLANG_OPTIONS=-D_GLIBCXX_USE_CXX11_ABI=0 fi AC_CHECK_GCC_PLUGIN_DIR - AC_CHECK_GCC45_I386_VERSION($MIN_GCC_VERSION,$MAX_GCC_VERSION) - AC_CHECK_GCC46_I386_VERSION($MIN_GCC_VERSION,$MAX_GCC_VERSION) - AC_CHECK_GCC47_I386_VERSION($MIN_GCC_VERSION,$MAX_GCC_VERSION) - AC_CHECK_GCC48_I386_VERSION($MIN_GCC_VERSION,$MAX_GCC_VERSION) AC_CHECK_GCC49_I386_VERSION($MIN_GCC_VERSION,$MAX_GCC_VERSION) AC_CHECK_GCC5_I386_VERSION($MIN_GCC_VERSION,$MAX_GCC_VERSION) AC_CHECK_GCC6_I386_VERSION($MIN_GCC_VERSION,$MAX_GCC_VERSION) @@ -1239,39 +1235,11 @@ if test "x$panda_USE_I386_GCC" = xyes; then AC_CHECK_CLANG16_I386_VERSION($MIN_CLANG_VERSION,$MAX_CLANG_VERSION,$EXTRA_CLANG_OPTIONS) AC_CHECK_CLANGVVD_I386_VERSION($MIN_CLANG_VERSION,$MAX_CLANG_VERSION,$EXTRA_CLANG_OPTIONS) - if test "x$I386_GCC45_PLUGIN_COMPILER" = x && test "x$I386_GCC46_PLUGIN_COMPILER" = x && test "x$I386_GCC47_PLUGIN_COMPILER" = x && test "x$I386_GCC48_PLUGIN_COMPILER" = x && test "x$I386_GCC49_PLUGIN_COMPILER" = x && test "x$I386_GCC5_PLUGIN_COMPILER" = x && test "x$I386_GCC6_PLUGIN_COMPILER" = x && test "x$I386_GCC7_PLUGIN_COMPILER" = x && test "x$I386_GCC8_PLUGIN_COMPILER" = x && test "x$I386_CLANG4_PLUGIN_COMPILER" = x && test "x$I386_CLANG5_PLUGIN_COMPILER" = x && test "x$I386_CLANG6_PLUGIN_COMPILER" = x && test "x$I386_CLANG7_PLUGIN_COMPILER" = x && test "x$I386_CLANG8_PLUGIN_COMPILER" = x && test "x$I386_CLANG9_PLUGIN_COMPILER" = x && test "x$I386_CLANG10_PLUGIN_COMPILER" = x && test "x$I386_CLANG11_PLUGIN_COMPILER" = x && test "x$I386_CLANG12_PLUGIN_COMPILER" = x && test "x$I386_CLANG13_PLUGIN_COMPILER" = x && test "x$I386_CLANG16_PLUGIN_COMPILER" = x && test "x$I386_CLANGVVD_PLUGIN_COMPILER" = x; then + if test "x$I386_GCC49_PLUGIN_COMPILER" = x && test "x$I386_GCC5_PLUGIN_COMPILER" = x && test "x$I386_GCC6_PLUGIN_COMPILER" = x && test "x$I386_GCC7_PLUGIN_COMPILER" = x && test "x$I386_GCC8_PLUGIN_COMPILER" = x && test "x$I386_CLANG4_PLUGIN_COMPILER" = x && test "x$I386_CLANG5_PLUGIN_COMPILER" = x && test "x$I386_CLANG6_PLUGIN_COMPILER" = x && test "x$I386_CLANG7_PLUGIN_COMPILER" = x && test "x$I386_CLANG8_PLUGIN_COMPILER" = x && test "x$I386_CLANG9_PLUGIN_COMPILER" = x && test "x$I386_CLANG10_PLUGIN_COMPILER" = x && test "x$I386_CLANG11_PLUGIN_COMPILER" = x && test "x$I386_CLANG12_PLUGIN_COMPILER" = x && test "x$I386_CLANG13_PLUGIN_COMPILER" = x && test "x$I386_CLANG16_PLUGIN_COMPILER" = x && test "x$I386_CLANGVVD_PLUGIN_COMPILER" = x; then AC_MSG_ERROR("gcc with support to -m32 and plugin not found") fi fi -AM_CONDITIONAL(BUILD_I386_GCC45, test "x$build_I386_GCC45" = xyes) -AM_CONDITIONAL(BUILD_I386_GCC45_EMPTY_PLUGIN, test "x$build_I386_GCC45_EMPTY_PLUGIN" = xyes) -AM_CONDITIONAL(BUILD_I386_GCC45_SSA_PLUGIN, test "x$build_I386_GCC45_SSA_PLUGIN" = xyes) -AM_CONDITIONAL(BUILD_I386_GCC45_SSA_PLUGINCPP, test "x$build_I386_GCC45_SSA_PLUGINCPP" = xyes) -AM_CONDITIONAL(BUILD_I386_GCC45_SSAVRP_PLUGIN, test "x$build_I386_GCC45_SSAVRP_PLUGIN" = xyes) -AM_CONDITIONAL(BUILD_I386_GCC45_TOPFNAME_PLUGIN, test "x$build_I386_GCC45_TOPFNAME_PLUGIN" = xyes) - -AM_CONDITIONAL(BUILD_I386_GCC46, test "x$build_I386_GCC46" = xyes) -AM_CONDITIONAL(BUILD_I386_GCC46_EMPTY_PLUGIN, test "x$build_I386_GCC46_EMPTY_PLUGIN" = xyes) -AM_CONDITIONAL(BUILD_I386_GCC46_SSA_PLUGIN, test "x$build_I386_GCC46_SSA_PLUGIN" = xyes) -AM_CONDITIONAL(BUILD_I386_GCC46_SSA_PLUGINCPP, test "x$build_I386_GCC46_SSA_PLUGINCPP" = xyes) -AM_CONDITIONAL(BUILD_I386_GCC46_SSAVRP_PLUGIN, test "x$build_I386_GCC46_SSAVRP_PLUGIN" = xyes) -AM_CONDITIONAL(BUILD_I386_GCC46_TOPFNAME_PLUGIN, test "x$build_I386_GCC46_TOPFNAME_PLUGIN" = xyes) - -AM_CONDITIONAL(BUILD_I386_GCC47, test "x$build_I386_GCC47" = xyes) -AM_CONDITIONAL(BUILD_I386_GCC47_EMPTY_PLUGIN, test "x$build_I386_GCC47_EMPTY_PLUGIN" = xyes) -AM_CONDITIONAL(BUILD_I386_GCC47_SSA_PLUGIN, test "x$build_I386_GCC47_SSA_PLUGIN" = xyes) -AM_CONDITIONAL(BUILD_I386_GCC47_SSA_PLUGINCPP, test "x$build_I386_GCC47_SSA_PLUGINCPP" = xyes) -AM_CONDITIONAL(BUILD_I386_GCC47_SSAVRP_PLUGIN, test "x$build_I386_GCC47_SSAVRP_PLUGIN" = xyes) -AM_CONDITIONAL(BUILD_I386_GCC47_TOPFNAME_PLUGIN, test "x$build_I386_GCC47_TOPFNAME_PLUGIN" = xyes) - -AM_CONDITIONAL(BUILD_I386_GCC48, test "x$build_I386_GCC48" = xyes) -AM_CONDITIONAL(BUILD_I386_GCC48_EMPTY_PLUGIN, test "x$build_I386_GCC48_EMPTY_PLUGIN" = xyes) -AM_CONDITIONAL(BUILD_I386_GCC48_SSA_PLUGIN, test "x$build_I386_GCC48_SSA_PLUGIN" = xyes) -AM_CONDITIONAL(BUILD_I386_GCC48_SSA_PLUGINCPP, test "x$build_I386_GCC48_SSA_PLUGINCPP" = xyes) -AM_CONDITIONAL(BUILD_I386_GCC48_SSAVRP_PLUGIN, test "x$build_I386_GCC48_SSAVRP_PLUGIN" = xyes) -AM_CONDITIONAL(BUILD_I386_GCC48_TOPFNAME_PLUGIN, test "x$build_I386_GCC48_TOPFNAME_PLUGIN" = xyes) - AM_CONDITIONAL(BUILD_I386_GCC49, test "x$build_I386_GCC49" = xyes) AM_CONDITIONAL(BUILD_I386_GCC49_EMPTY_PLUGIN, test "x$build_I386_GCC49_EMPTY_PLUGIN" = xyes) AM_CONDITIONAL(BUILD_I386_GCC49_SSA_PLUGIN, test "x$build_I386_GCC49_SSA_PLUGIN" = xyes) diff --git a/etc/gcc_plugin/Makefile.am b/etc/gcc_plugin/Makefile.am index 8a6e5720b..f4c4f6d4a 100644 --- a/etc/gcc_plugin/Makefile.am +++ b/etc/gcc_plugin/Makefile.am @@ -30,253 +30,6 @@ FORCE: check:all -###### gcc 4.5 -if BUILD_I386_GCC45_EMPTY_PLUGIN -all: $(I386_GCC45_EMPTY_PLUGIN) -endif - -if BUILD_I386_GCC45_SSA_PLUGIN -all: $(I386_GCC45_SSA_PLUGIN) -endif - -if BUILD_I386_GCC45_SSA_PLUGINCPP -all: $(I386_GCC45_SSA_PLUGINCPP) -endif - -if BUILD_I386_GCC45_SSAVRP_PLUGIN -all: $(I386_GCC45_SSAVRP_PLUGIN) -endif - -if BUILD_I386_GCC45_TOPFNAME_PLUGIN -all: $(I386_GCC45_TOPFNAME_PLUGIN) -endif - -$(I386_GCC45_SSA_PLUGIN) : gcc45_plugin_dumpGimpleSSA.o gcc45_dumpGimple.o gcc45_version.h - $(I386_GCC45_PLUGIN_COMPILER) -shared gcc45_plugin_dumpGimpleSSA.o gcc45_dumpGimple.o -o gcc45_plugin_dumpGimpleSSA.so -fPIC - -$(I386_GCC45_SSA_PLUGINCPP) : gcc45_plugin_dumpGimpleSSA.o gcc45_dumpGimpleCpp.o gcc45_version.h - $(I386_GCC45_PLUGIN_COMPILER) -shared gcc45_plugin_dumpGimpleSSA.o gcc45_dumpGimpleCpp.o -o gcc45_plugin_dumpGimpleSSACpp.so -fPIC - -$(I386_GCC45_SSAVRP_PLUGIN) : dumpVRP_common.h patched-tree-vrp.454.c patched-tree-vrp.463.c patched-tree-vrp.472.c patched-tree-vrp.480.c gcc45_plugin_dumpGimpleSSAVRP.o gcc45_dumpGimple.o gcc45_version.h - $(I386_GCC45_PLUGIN_COMPILER) -shared gcc45_plugin_dumpGimpleSSAVRP.o gcc45_dumpGimple.o -o gcc45_plugin_dumpGimpleSSAVRP.so -fPIC - -$(I386_GCC45_EMPTY_PLUGIN) : gcc45_plugin_dumpGimpleEmpty.o gcc45_dumpGimple.o gcc45_version.h - $(I386_GCC45_PLUGIN_COMPILER) -shared gcc45_plugin_dumpGimpleEmpty.o gcc45_dumpGimple.o -o gcc45_plugin_dumpGimpleEmpty.so -fPIC - -$(I386_GCC45_TOPFNAME_PLUGIN) : gcc45_plugin_topfname.o gcc45_version.h - $(I386_GCC45_PLUGIN_COMPILER) -shared gcc45_plugin_topfname.o -o gcc45_plugin_topfname.so -fPIC - -gcc45_plugin_dumpGimpleEmpty.o : $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleEmpty.c $(top_srcdir)/etc/gcc_plugin/plugin_includes.h gcc45_version.h - $(I386_GCC45_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleEmpty.c -o gcc45_plugin_dumpGimpleEmpty.o -I$(I386_GCC45_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" - -gcc45_plugin_dumpGimpleSSA.o : $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleSSA.c $(top_srcdir)/etc/gcc_plugin/plugin_includes.h gcc45_version.h - $(I386_GCC45_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleSSA.c -o gcc45_plugin_dumpGimpleSSA.o -I$(I386_GCC45_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" - -gcc45_plugin_dumpGimpleSSAVRP.o : $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleSSAVRP.c $(top_srcdir)/etc/gcc_plugin/plugin_includes.h gcc45_version.h - $(I386_GCC45_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleSSAVRP.c -o gcc45_plugin_dumpGimpleSSAVRP.o -I$(I386_GCC45_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" - -gcc45_plugin_topfname.o : $(top_srcdir)/etc/gcc_plugin/plugin_topfname.c $(top_srcdir)/etc/gcc_plugin/plugin_includes.h gcc45_version.h - $(I386_GCC45_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/plugin_topfname.c -o gcc45_plugin_topfname.o -I$(I386_GCC45_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" - -gcc45_dumpGimple.o : $(top_srcdir)/etc/gcc_plugin/dumpGimple.c gcc45_version.h - $(I386_GCC45_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/dumpGimple.c -o gcc45_dumpGimple.o -I$(I386_GCC45_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" - -gcc45_dumpGimpleCpp.o : $(top_srcdir)/etc/gcc_plugin/dumpGimple.c gcc45_version.h - $(I386_GCC45_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/dumpGimple.c -DCPP_LANGUAGE -o gcc45_dumpGimpleCpp.o -I$(I386_GCC45_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" - -gcc45_version.h : FORCE - $(I386_GCC45_PLUGIN_COMPILER) --version > new_gcc45_version.h - if ! test -f gcc45_version.h; then mv new_gcc45_version.h gcc45_version.h; else if ! diff -q gcc45_version.h new_gcc45_version.h > /dev/null; then mv new_gcc45_version.h gcc45_version.h; fi fi - -###### - -###### gcc 4.6 -if BUILD_I386_GCC46_EMPTY_PLUGIN -all: $(I386_GCC46_EMPTY_PLUGIN) -endif - -if BUILD_I386_GCC46_SSA_PLUGIN -all: $(I386_GCC46_SSA_PLUGIN) -endif - -if BUILD_I386_GCC46_SSA_PLUGINCPP -all: $(I386_GCC46_SSA_PLUGINCPP) -endif - -if BUILD_I386_GCC46_SSAVRP_PLUGIN -all: $(I386_GCC46_SSAVRP_PLUGIN) -endif - -if BUILD_I386_GCC46_TOPFNAME_PLUGIN -all: $(I386_GCC46_TOPFNAME_PLUGIN) -endif - -$(I386_GCC46_SSA_PLUGIN) : gcc46_plugin_dumpGimpleSSA.o gcc46_dumpGimple.o gcc46_version.h - $(I386_GCC46_PLUGIN_COMPILER) -shared gcc46_plugin_dumpGimpleSSA.o gcc46_dumpGimple.o -o gcc46_plugin_dumpGimpleSSA.so -fPIC - -$(I386_GCC46_SSA_PLUGINCPP) : gcc46_plugin_dumpGimpleSSA.o gcc46_dumpGimpleCpp.o gcc46_version.h - $(I386_GCC46_PLUGIN_COMPILER) -shared gcc46_plugin_dumpGimpleSSA.o gcc46_dumpGimpleCpp.o -o gcc46_plugin_dumpGimpleSSACpp.so -fPIC - -$(I386_GCC46_SSAVRP_PLUGIN) : dumpVRP_common.h patched-tree-vrp.454.c patched-tree-vrp.463.c patched-tree-vrp.472.c patched-tree-vrp.480.c gcc46_plugin_dumpGimpleSSAVRP.o gcc46_dumpGimple.o gcc46_version.h - $(I386_GCC46_PLUGIN_COMPILER) -shared gcc46_plugin_dumpGimpleSSAVRP.o gcc46_dumpGimple.o -o gcc46_plugin_dumpGimpleSSAVRP.so -fPIC - -$(I386_GCC46_EMPTY_PLUGIN) : gcc46_plugin_dumpGimpleEmpty.o gcc46_dumpGimple.o gcc46_version.h - $(I386_GCC46_PLUGIN_COMPILER) -shared gcc46_plugin_dumpGimpleEmpty.o gcc46_dumpGimple.o -o gcc46_plugin_dumpGimpleEmpty.so -fPIC - -$(I386_GCC46_TOPFNAME_PLUGIN) : gcc46_plugin_topfname.o gcc46_version.h - $(I386_GCC46_PLUGIN_COMPILER) -shared gcc46_plugin_topfname.o -o gcc46_plugin_topfname.so -fPIC - -gcc46_plugin_dumpGimpleEmpty.o : $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleEmpty.c $(top_srcdir)/etc/gcc_plugin/plugin_includes.h gcc46_version.h - $(I386_GCC46_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleEmpty.c -o gcc46_plugin_dumpGimpleEmpty.o -I. -I$(I386_GCC46_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" $(WFLAGS) - -gcc46_plugin_dumpGimpleSSA.o : $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleSSA.c $(top_srcdir)/etc/gcc_plugin/plugin_includes.h gcc46_version.h - $(I386_GCC46_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleSSA.c -o gcc46_plugin_dumpGimpleSSA.o -I. -I$(I386_GCC46_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" $(WFLAGS) - -gcc46_plugin_dumpGimpleSSAVRP.o : $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleSSAVRP.c $(top_srcdir)/etc/gcc_plugin/plugin_includes.h gcc46_version.h - $(I386_GCC46_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleSSAVRP.c -o gcc46_plugin_dumpGimpleSSAVRP.o -I. -I$(I386_GCC46_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" - -gcc46_plugin_topfname.o : $(top_srcdir)/etc/gcc_plugin/plugin_topfname.c $(top_srcdir)/etc/gcc_plugin/plugin_includes.h gcc46_version.h - $(I386_GCC46_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/plugin_topfname.c -o gcc46_plugin_topfname.o -I$(I386_GCC46_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" - -gtype_roots_gcc46.h : $(top_srcdir)/etc/gcc_plugin/dumpGimple.c $(top_srcdir)/etc/gcc_plugin/plugin_includes.h $(top_srcdir)/etc/gcc_plugin/ggc_clike_static.h $(top_srcdir)/etc/gcc_plugin/ggc_clike_extern.h - $(I386_GCC46_GENGTYPE) -r $(I386_GCC46_GTYPESTATE) -P $@ $(top_srcdir)/etc/gcc_plugin/dumpGimple.c $(I386_GCC46_PLUGIN_DIR)/include/splay-tree.h $(top_srcdir)/etc/gcc_plugin/plugin_includes.h $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleSSA.c $(top_srcdir)/etc/gcc_plugin/ggc_clike_static.h $(top_srcdir)/etc/gcc_plugin/ggc_clike_extern.h - -gcc46_dumpGimple.o : $(top_srcdir)/etc/gcc_plugin/dumpGimple.c gcc46_version.h gtype_roots_gcc46.h - $(I386_GCC46_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/dumpGimple.c -o gcc46_dumpGimple.o -I. -I$(I386_GCC46_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" $(WFLAGS) - -gcc46_dumpGimpleCpp.o : $(top_srcdir)/etc/gcc_plugin/dumpGimple.c gcc46_version.h gtype_roots_gcc46.h - $(I386_GCC46_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/dumpGimple.c -DCPP_LANGUAGE -o gcc46_dumpGimpleCpp.o -I. -I$(I386_GCC46_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" $(WFLAGS) - -gcc46_version.h : FORCE - $(I386_GCC46_PLUGIN_COMPILER) --version > new_gcc46_version.h - if ! test -f gcc46_version.h; then mv new_gcc46_version.h gcc46_version.h; else if ! diff -q gcc46_version.h new_gcc46_version.h > /dev/null; then mv new_gcc46_version.h gcc46_version.h; fi fi - -###### -###### gcc 4.7 -if BUILD_I386_GCC47_EMPTY_PLUGIN -all: $(I386_GCC47_EMPTY_PLUGIN) -endif - -if BUILD_I386_GCC47_SSA_PLUGIN -all: $(I386_GCC47_SSA_PLUGIN) -endif - -if BUILD_I386_GCC47_SSA_PLUGINCPP -all: $(I386_GCC47_SSA_PLUGINCPP) -endif - -if BUILD_I386_GCC47_SSAVRP_PLUGIN -all: $(I386_GCC47_SSAVRP_PLUGIN) -endif - -if BUILD_I386_GCC47_TOPFNAME_PLUGIN -all: $(I386_GCC47_TOPFNAME_PLUGIN) -endif - -$(I386_GCC47_SSA_PLUGIN) : gcc47_plugin_dumpGimpleSSA.o gcc47_dumpGimple.o gcc47_version.h - $(I386_GCC47_PLUGIN_COMPILER) -shared gcc47_plugin_dumpGimpleSSA.o gcc47_dumpGimple.o -o gcc47_plugin_dumpGimpleSSA.so -fPIC - -$(I386_GCC47_SSA_PLUGINCPP) : gcc47_plugin_dumpGimpleSSA.o gcc47_dumpGimpleCpp.o gcc47_version.h - $(I386_GCC47_PLUGIN_COMPILER) -shared gcc47_plugin_dumpGimpleSSA.o gcc47_dumpGimpleCpp.o -o gcc47_plugin_dumpGimpleSSACpp.so -fPIC - -$(I386_GCC47_SSAVRP_PLUGIN) : dumpVRP_common.h patched-tree-vrp.454.c patched-tree-vrp.463.c patched-tree-vrp.472.c patched-tree-vrp.480.c gcc47_plugin_dumpGimpleSSAVRP.o gcc47_dumpGimple.o gcc47_version.h - $(I386_GCC47_PLUGIN_COMPILER) -shared gcc47_plugin_dumpGimpleSSAVRP.o gcc47_dumpGimple.o -o gcc47_plugin_dumpGimpleSSAVRP.so -fPIC - -$(I386_GCC47_EMPTY_PLUGIN) : gcc47_plugin_dumpGimpleEmpty.o gcc47_dumpGimple.o gcc47_version.h - $(I386_GCC47_PLUGIN_COMPILER) -shared gcc47_plugin_dumpGimpleEmpty.o gcc47_dumpGimple.o -o gcc47_plugin_dumpGimpleEmpty.so -fPIC - -$(I386_GCC47_TOPFNAME_PLUGIN) : gcc47_plugin_topfname.o gcc47_version.h - $(I386_GCC47_PLUGIN_COMPILER) -shared gcc47_plugin_topfname.o -o gcc47_plugin_topfname.so -fPIC - -gcc47_plugin_dumpGimpleEmpty.o : $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleEmpty.c $(top_srcdir)/etc/gcc_plugin/plugin_includes.h gcc47_version.h - $(I386_GCC47_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleEmpty.c -o gcc47_plugin_dumpGimpleEmpty.o -I$(I386_GCC47_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" $(WFLAGS) - -gcc47_plugin_dumpGimpleSSA.o : $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleSSA.c $(top_srcdir)/etc/gcc_plugin/plugin_includes.h gcc47_version.h - $(I386_GCC47_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleSSA.c -o gcc47_plugin_dumpGimpleSSA.o -I$(I386_GCC47_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" $(WFLAGS) - -gcc47_plugin_dumpGimpleSSAVRP.o : $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleSSAVRP.c $(top_srcdir)/etc/gcc_plugin/plugin_includes.h gcc47_version.h - $(I386_GCC47_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleSSAVRP.c -o gcc47_plugin_dumpGimpleSSAVRP.o -I$(I386_GCC47_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" - -gcc47_plugin_topfname.o : $(top_srcdir)/etc/gcc_plugin/plugin_topfname.c $(top_srcdir)/etc/gcc_plugin/plugin_includes.h gcc47_version.h - $(I386_GCC47_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/plugin_topfname.c -o gcc47_plugin_topfname.o -I$(I386_GCC47_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" - -gtype_roots_gcc47.h : $(top_srcdir)/etc/gcc_plugin/dumpGimple.c $(top_srcdir)/etc/gcc_plugin/plugin_includes.h $(top_srcdir)/etc/gcc_plugin/ggc_clike_static.h $(top_srcdir)/etc/gcc_plugin/ggc_clike_extern.h - $(I386_GCC47_GENGTYPE) -r $(I386_GCC47_GTYPESTATE) -P $@ $(top_srcdir)/etc/gcc_plugin/dumpGimple.c $(I386_GCC47_PLUGIN_DIR)/include/splay-tree.h $(top_srcdir)/etc/gcc_plugin/plugin_includes.h $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleSSA.c $(top_srcdir)/etc/gcc_plugin/ggc_clike_static.h $(top_srcdir)/etc/gcc_plugin/ggc_clike_extern.h - -gcc47_dumpGimple.o : $(top_srcdir)/etc/gcc_plugin/dumpGimple.c gcc47_version.h gtype_roots_gcc47.h - $(I386_GCC47_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/dumpGimple.c -o gcc47_dumpGimple.o -I. -I$(I386_GCC47_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" $(WFLAGS) - -gcc47_dumpGimpleCpp.o : $(top_srcdir)/etc/gcc_plugin/dumpGimple.c gcc47_version.h gtype_roots_gcc47.h - $(I386_GCC47_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/dumpGimple.c -DCPP_LANGUAGE -o gcc47_dumpGimpleCpp.o -I. -I$(I386_GCC47_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" $(WFLAGS) - -gcc47_version.h : FORCE - $(I386_GCC47_PLUGIN_COMPILER) --version > new_gcc47_version.h - if ! test -f gcc47_version.h; then mv new_gcc47_version.h gcc47_version.h; else if ! diff -q gcc47_version.h new_gcc47_version.h > /dev/null; then mv new_gcc47_version.h gcc47_version.h; fi fi - -###### -###### gcc 4.8 -if BUILD_I386_GCC48_EMPTY_PLUGIN -all: $(I386_GCC48_EMPTY_PLUGIN) -endif - -if BUILD_I386_GCC48_SSA_PLUGIN -all: $(I386_GCC48_SSA_PLUGIN) -endif - -if BUILD_I386_GCC48_SSA_PLUGINCPP -all: $(I386_GCC48_SSA_PLUGINCPP) -endif - -if BUILD_I386_GCC48_SSAVRP_PLUGIN -all: $(I386_GCC48_SSAVRP_PLUGIN) -endif - -if BUILD_I386_GCC48_TOPFNAME_PLUGIN -all: $(I386_GCC48_TOPFNAME_PLUGIN) -endif - -$(I386_GCC48_SSA_PLUGIN) : gcc48_plugin_dumpGimpleSSA.o gcc48_dumpGimple.o gcc48_version.h - $(I386_GCC48_PLUGIN_COMPILER) -shared gcc48_plugin_dumpGimpleSSA.o gcc48_dumpGimple.o -o gcc48_plugin_dumpGimpleSSA.so -fPIC - -$(I386_GCC48_SSA_PLUGINCPP) : gcc48_plugin_dumpGimpleSSA.o gcc48_dumpGimpleCpp.o gcc48_version.h - $(I386_GCC48_PLUGIN_COMPILER) -shared gcc48_plugin_dumpGimpleSSA.o gcc48_dumpGimpleCpp.o -o gcc48_plugin_dumpGimpleSSACpp.so -fPIC - -$(I386_GCC48_SSAVRP_PLUGIN) : dumpVRP_common.h patched-tree-vrp.454.c patched-tree-vrp.463.c patched-tree-vrp.472.c patched-tree-vrp.480.c gcc48_plugin_dumpGimpleSSAVRP.o gcc48_dumpGimple.o gcc48_version.h - $(I386_GCC48_PLUGIN_COMPILER) -shared gcc48_plugin_dumpGimpleSSAVRP.o gcc48_dumpGimple.o -o gcc48_plugin_dumpGimpleSSAVRP.so -fPIC - -$(I386_GCC48_EMPTY_PLUGIN) : gcc48_plugin_dumpGimpleEmpty.o gcc48_dumpGimple.o gcc48_version.h - $(I386_GCC48_PLUGIN_COMPILER) -shared gcc48_plugin_dumpGimpleEmpty.o gcc48_dumpGimple.o -o gcc48_plugin_dumpGimpleEmpty.so -fPIC - -$(I386_GCC48_TOPFNAME_PLUGIN) : gcc48_plugin_topfname.o gcc48_version.h - $(I386_GCC48_PLUGIN_COMPILER) -shared gcc48_plugin_topfname.o -o gcc48_plugin_topfname.so -fPIC - -gcc48_plugin_dumpGimpleEmpty.o : $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleEmpty.c $(top_srcdir)/etc/gcc_plugin/plugin_includes.h gcc48_version.h - $(I386_GCC48_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleEmpty.c -o gcc48_plugin_dumpGimpleEmpty.o -I$(I386_GCC48_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" $(WFLAGS) - -gcc48_plugin_dumpGimpleSSA.o : $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleSSA.c $(top_srcdir)/etc/gcc_plugin/plugin_includes.h gcc48_version.h - $(I386_GCC48_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleSSA.c -o gcc48_plugin_dumpGimpleSSA.o -I$(I386_GCC48_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" $(WFLAGS) - -gcc48_plugin_dumpGimpleSSAVRP.o : $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleSSAVRP.c $(top_srcdir)/etc/gcc_plugin/plugin_includes.h gcc48_version.h - $(I386_GCC48_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleSSAVRP.c -o gcc48_plugin_dumpGimpleSSAVRP.o -I$(I386_GCC48_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" - -gcc48_plugin_topfname.o : $(top_srcdir)/etc/gcc_plugin/plugin_topfname.c $(top_srcdir)/etc/gcc_plugin/plugin_includes.h gcc48_version.h - $(I386_GCC48_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/plugin_topfname.c -o gcc48_plugin_topfname.o -I$(I386_GCC48_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" - -gcc48_dumpGimple.o : $(top_srcdir)/etc/gcc_plugin/dumpGimple.c gcc48_version.h gtype_roots_gcc48.h - $(I386_GCC48_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/dumpGimple.c -o gcc48_dumpGimple.o -I. -I$(I386_GCC48_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" $(WFLAGS) - -gcc48_dumpGimpleCpp.o : $(top_srcdir)/etc/gcc_plugin/dumpGimple.c gcc48_version.h gtype_roots_gcc48.h - $(I386_GCC48_PLUGIN_COMPILER) -c $(top_srcdir)/etc/gcc_plugin/dumpGimple.c -DCPP_LANGUAGE -o gcc48_dumpGimpleCpp.o -I. -I$(I386_GCC48_PLUGIN_DIR)/include -fPIC -DPANDA_PLUGIN_VERSION=\"$(PANDA_PLUGIN_VERSION)\" $(WFLAGS) - -gtype_roots_gcc48.h : $(top_srcdir)/etc/gcc_plugin/dumpGimple.c $(top_srcdir)/etc/gcc_plugin/plugin_includes.h $(top_srcdir)/etc/gcc_plugin/ggc_clike_static.h $(top_srcdir)/etc/gcc_plugin/ggc_clike_extern.h - $(I386_GCC48_GENGTYPE) -r $(I386_GCC48_GTYPESTATE) -P $@ $(top_srcdir)/etc/gcc_plugin/dumpGimple.c $(I386_GCC48_PLUGIN_DIR)/include/splay-tree.h $(top_srcdir)/etc/gcc_plugin/plugin_includes.h $(top_srcdir)/etc/gcc_plugin/plugin_dumpGimpleSSA.c $(top_srcdir)/etc/gcc_plugin/ggc_clike_static.h $(top_srcdir)/etc/gcc_plugin/ggc_clike_extern.h - -gcc48_version.h : FORCE - $(I386_GCC48_PLUGIN_COMPILER) --version > new_gcc48_version.h - if ! test -f gcc48_version.h; then mv new_gcc48_version.h gcc48_version.h; else if ! diff -q gcc48_version.h new_gcc48_version.h > /dev/null; then mv new_gcc48_version.h gcc48_version.h; fi fi - -###### - ###### gcc 4.9 if BUILD_I386_GCC49_EMPTY_PLUGIN all: $(I386_GCC49_EMPTY_PLUGIN) diff --git a/etc/libbambu/Makefile.am b/etc/libbambu/Makefile.am index 8fb8d6db6..b39454233 100644 --- a/etc/libbambu/Makefile.am +++ b/etc/libbambu/Makefile.am @@ -20,34 +20,6 @@ common_treegccflags_clang = --output-temporary-directory=/tmp -iplugindir=$(top_ common_cflags=-O3 -nostdlib $(common_treegccflags) $(BOOST_CPPFLAGS) common_cflags_clang=-O3 -nostdlib $(common_treegccflags_clang) $(BOOST_CPPFLAGS) -if BUILD_I386_GCC45 -pkglib_LIBRARIES += libbambu_gcc45.a -libbambu_gcc45_a_SOURCES = $(common_libbambu_src) -libbambu_gcc45_a_CFLAGS =$(common_cflags) --compiler=I386_GCC45 -libbambu_gcc45_a_AR =$(top_builddir)/src/tree-panda-gcc $(common_treegccflags) --compiler=I386_GCC45 -C -endif - -if BUILD_I386_GCC46 -pkglib_LIBRARIES += libbambu_gcc46.a -libbambu_gcc46_a_SOURCES = $(common_libbambu_src) -libbambu_gcc46_a_CFLAGS =$(common_cflags) --compiler=I386_GCC46 -libbambu_gcc46_a_AR =$(top_builddir)/src/tree-panda-gcc $(common_treegccflags) --compiler=I386_GCC46 -C -endif - -if BUILD_I386_GCC47 -pkglib_LIBRARIES += libbambu_gcc47.a -libbambu_gcc47_a_SOURCES = $(common_libbambu_src) -libbambu_gcc47_a_CFLAGS =$(common_cflags) --compiler=I386_GCC47 -libbambu_gcc47_a_AR =$(top_builddir)/src/tree-panda-gcc $(common_treegccflags) --compiler=I386_GCC47 -C -endif - -if BUILD_I386_GCC48 -pkglib_LIBRARIES += libbambu_gcc48.a -libbambu_gcc48_a_SOURCES = $(common_libbambu_src) -libbambu_gcc48_a_CFLAGS =$(common_cflags) -fno-tree-loop-distribute-patterns --compiler=I386_GCC48 -libbambu_gcc48_a_AR =$(top_builddir)/src/tree-panda-gcc $(common_treegccflags) --compiler=I386_GCC48 -C -endif - if BUILD_I386_GCC49 pkglib_LIBRARIES += libbambu_gcc49.a libbambu_gcc49_a_SOURCES = $(common_libbambu_src) diff --git a/etc/libbambu/libm/Makefile.am b/etc/libbambu/libm/Makefile.am index 5872de956..e65dd65da 100644 --- a/etc/libbambu/libm/Makefile.am +++ b/etc/libbambu/libm/Makefile.am @@ -41,78 +41,6 @@ compiler_flags_clang=-O2 -finline-functions -finline-hint-functions $(common_cfl compiler_flags_nosub=-DFLT_NO_DENORMALS -DNO_SUBNORMALS $(compiler_flags) compiler_flags_clang_nosub=-DFLT_NO_DENORMALS -DNO_SUBNORMALS $(compiler_flags_clang) -if BUILD_I386_GCC45 -pkglib_LIBRARIES += libm_gcc45.a libm_gcc45_std.a -libm_gcc45_a_SOURCES = $(common_libm_src) $(common_libm_src_fr) -libm_gcc45_a_CFLAGS = $(compiler_flags_nosub) --compiler=I386_GCC45 -libm_gcc45_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC45 $(common_treegccflags) -C -libm_gcc45_std_a_SOURCES = $(common_libm_src) $(common_libm_src_std) -libm_gcc45_std_a_CFLAGS = $(compiler_flags_nosub) --compiler=I386_GCC45 -libm_gcc45_std_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC45 $(common_treegccflags) -C - -pkglib_LIBRARIES += libm_gcc45_subnormals.a libm_gcc45_subnormals_std.a -libm_gcc45_subnormals_a_SOURCES = $(common_libm_src) $(common_libm_src_fr) -libm_gcc45_subnormals_a_CFLAGS = $(compiler_flags) --compiler=I386_GCC45 -libm_gcc45_subnormals_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC45 $(common_treegccflags) -C -libm_gcc45_subnormals_std_a_SOURCES = $(common_libm_src) $(common_libm_src_std) -libm_gcc45_subnormals_std_a_CFLAGS = $(compiler_flags) --compiler=I386_GCC45 -libm_gcc45_subnormals_std_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC45 $(common_treegccflags) -C -endif - -if BUILD_I386_GCC46 -pkglib_LIBRARIES += libm_gcc46.a libm_gcc46_std.a -libm_gcc46_a_SOURCES = $(common_libm_src) $(common_libm_src_fr) -libm_gcc46_a_CFLAGS = $(compiler_flags_nosub) --compiler=I386_GCC46 -libm_gcc46_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC46 $(common_treegccflags) -C -libm_gcc46_std_a_SOURCES = $(common_libm_src) $(common_libm_src_std) -libm_gcc46_std_a_CFLAGS = $(compiler_flags_nosub) --compiler=I386_GCC46 -libm_gcc46_std_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC46 $(common_treegccflags) -C - -pkglib_LIBRARIES += libm_gcc46_subnormals.a libm_gcc46_subnormals_std.a -libm_gcc46_subnormals_a_SOURCES = $(common_libm_src) $(common_libm_src_fr) -libm_gcc46_subnormals_a_CFLAGS = $(compiler_flags) --compiler=I386_GCC46 -libm_gcc46_subnormals_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC46 $(common_treegccflags) -C -libm_gcc46_subnormals_std_a_SOURCES = $(common_libm_src) $(common_libm_src_std) -libm_gcc46_subnormals_std_a_CFLAGS = $(compiler_flags) --compiler=I386_GCC46 -libm_gcc46_subnormals_std_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC46 $(common_treegccflags) -C -endif - -if BUILD_I386_GCC47 -pkglib_LIBRARIES += libm_gcc47.a libm_gcc47_std.a -libm_gcc47_a_SOURCES = $(common_libm_src) $(common_libm_src_fr) -libm_gcc47_a_CFLAGS = $(compiler_flags_nosub) --compiler=I386_GCC47 -libm_gcc47_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC47 $(common_treegccflags) -C -libm_gcc47_std_a_SOURCES = $(common_libm_src) $(common_libm_src_std) -libm_gcc47_std_a_CFLAGS = $(compiler_flags_nosub) --compiler=I386_GCC47 -libm_gcc47_std_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC47 $(common_treegccflags) -C - -pkglib_LIBRARIES += libm_gcc47_subnormals.a libm_gcc47_subnormals_std.a -libm_gcc47_subnormals_a_SOURCES = $(common_libm_src) $(common_libm_src_fr) -libm_gcc47_subnormals_a_CFLAGS = $(compiler_flags) --compiler=I386_GCC47 -libm_gcc47_subnormals_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC47 $(common_treegccflags) -C -libm_gcc47_subnormals_std_a_SOURCES = $(common_libm_src) $(common_libm_src_std) -libm_gcc47_subnormals_std_a_CFLAGS = $(compiler_flags) --compiler=I386_GCC47 -libm_gcc47_subnormals_std_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC47 $(common_treegccflags) -C -endif - -if BUILD_I386_GCC48 -pkglib_LIBRARIES += libm_gcc48.a libm_gcc48_std.a -libm_gcc48_a_SOURCES = $(common_libm_src) $(common_libm_src_fr) -libm_gcc48_a_CFLAGS = $(compiler_flags_nosub) -ftree-partial-pre -fno-tree-loop-distribute-patterns --compiler=I386_GCC48 -libm_gcc48_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC48 $(common_treegccflags) -C -libm_gcc48_std_a_SOURCES = $(common_libm_src) $(common_libm_src_std) -libm_gcc48_std_a_CFLAGS = $(compiler_flags_nosub) -ftree-partial-pre -fno-tree-loop-distribute-patterns --compiler=I386_GCC48 -libm_gcc48_std_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC48 $(common_treegccflags) -C - -pkglib_LIBRARIES += libm_gcc48_subnormals.a libm_gcc48_subnormals_std.a -libm_gcc48_subnormals_a_SOURCES = $(common_libm_src) $(common_libm_src_fr) -libm_gcc48_subnormals_a_CFLAGS = $(compiler_flags) -ftree-partial-pre -fno-tree-loop-distribute-patterns --compiler=I386_GCC48 -libm_gcc48_subnormals_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC48 $(common_treegccflags) -C -libm_gcc48_subnormals_std_a_SOURCES = $(common_libm_src) $(common_libm_src_std) -libm_gcc48_subnormals_std_a_CFLAGS = $(compiler_flags) -ftree-partial-pre -fno-tree-loop-distribute-patterns --compiler=I386_GCC48 -libm_gcc48_subnormals_std_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC48 $(common_treegccflags) -C -endif - if BUILD_I386_GCC49 pkglib_LIBRARIES += libm_gcc49.a libm_gcc49_std.a libm_gcc49_a_SOURCES = $(common_libm_src) $(common_libm_src_fr) diff --git a/etc/libbambu/pthread/Makefile.am b/etc/libbambu/pthread/Makefile.am index 359816456..66eda0631 100644 --- a/etc/libbambu/pthread/Makefile.am +++ b/etc/libbambu/pthread/Makefile.am @@ -6,30 +6,6 @@ pkglib_LIBRARIES = common_treegccflags = --output-temporary-directory=/tmp -iplugindir=$(top_builddir)/etc/gcc_plugin -finline-limit=10000 -O3 -I$(BOOST_DIR) common_treegccflags_clang = --output-temporary-directory=/tmp -iplugindir=$(top_builddir)/etc/clang_plugin -O3 -I$(BOOST_DIR) --extra-gcc-options="-mllvm -inline-threshold=10000" -if BUILD_I386_GCC45 -pkglib_LIBRARIES += libpthread_gcc45.a -libpthread_gcc45_a_SOURCES = pthread.c -libpthread_gcc45_a_CFLAGS = --compiler=I386_GCC45 $(common_treegccflags) -endif - -if BUILD_I386_GCC46 -pkglib_LIBRARIES += libpthread_gcc46.a -libpthread_gcc46_a_SOURCES = pthread.c -libpthread_gcc46_a_CFLAGS = --compiler=I386_GCC46 $(common_treegccflags) -endif - -if BUILD_I386_GCC47 -pkglib_LIBRARIES += libpthread_gcc47.a -libpthread_gcc47_a_SOURCES = pthread.c -libpthread_gcc47_a_CFLAGS = --compiler=I386_GCC47 $(common_treegccflags) -endif - -if BUILD_I386_GCC48 -pkglib_LIBRARIES += libpthread_gcc48.a -libpthread_gcc48_a_SOURCES = pthread.c -libpthread_gcc48_a_CFLAGS = -fno-tree-loop-distribute-patterns --compiler=I386_GCC48 $(common_treegccflags) -endif - if BUILD_I386_GCC49 pkglib_LIBRARIES += libpthread_gcc49.a libpthread_gcc49_a_SOURCES = pthread.c diff --git a/etc/libbambu/soft-fp/Makefile.am b/etc/libbambu/soft-fp/Makefile.am index 3a2c0ffee..69d0913a2 100644 --- a/etc/libbambu/soft-fp/Makefile.am +++ b/etc/libbambu/soft-fp/Makefile.am @@ -24,95 +24,6 @@ common_libhls_divnr_src = divsi3nr.c divdi3nr.c divdi3nr6432.c common_libhls_divas_src = divsi3as.c divdi3as.c divdi3as6432.c common_libhls_cdiv_src = divsc3.c divdc3.c -if BUILD_I386_GCC45 -pkglib_LIBRARIES += libsoft-fp_gcc45.a libhls-divNR_gcc45.a libhls-divnr1_gcc45.a libhls-divnr2_gcc45.a libhls-divas_gcc45.a libhls-cdiv_gcc45.a -libsoft_fp_gcc45_a_SOURCES = $(common_libsoft_fp_src) -libsoft_fp_gcc45_a_CFLAGS = --compiler=I386_GCC45 $(common_cflags) -I$(BOOST_DIR) -finline-limit=10000 -libsoft_fp_gcc45_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC45 $(common_treegccflags) -C -libhls_divNR_gcc45_a_SOURCES = $(common_libhls_div_src) -libhls_divNR_gcc45_a_CFLAGS = -finline-limit=10000 --compiler=I386_GCC45 $(common_cflags_nr) -I$(BOOST_DIR) -libhls_divNR_gcc45_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC45 $(common_treegccflags) -C -libhls_divnr1_gcc45_a_SOURCES = $(common_libhls_divnr_src) -libhls_divnr1_gcc45_a_CFLAGS = -finline-limit=10000 --compiler=I386_GCC45 $(common_cflags) -I$(BOOST_DIR) -DUNROLL_FACTOR=1 -libhls_divnr1_gcc45_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC45 $(common_treegccflags) -C -libhls_divnr2_gcc45_a_SOURCES = $(common_libhls_divnr_src) -libhls_divnr2_gcc45_a_CFLAGS = -finline-limit=10000 --compiler=I386_GCC45 $(common_cflags) -I$(BOOST_DIR) -DUNROLL_FACTOR=2 -libhls_divnr2_gcc45_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC45 $(common_treegccflags) -C -libhls_divas_gcc45_a_SOURCES = $(common_libhls_divas_src) -libhls_divas_gcc45_a_CFLAGS = -finline-limit=10000 --compiler=I386_GCC45 $(common_cflags) -I$(BOOST_DIR) -libhls_divas_gcc45_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC45 $(common_treegccflags) -C -libhls_cdiv_gcc45_a_SOURCES = $(common_libhls_cdiv_src) -libhls_cdiv_gcc45_a_CFLAGS = -finline-limit=10000 --compiler=I386_GCC45 $(common_cflags) -I$(BOOST_DIR) -libhls_cdiv_gcc45_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC45 $(common_treegccflags) -C - -endif - -if BUILD_I386_GCC46 -pkglib_LIBRARIES += libsoft-fp_gcc46.a libhls-divNR_gcc46.a libhls-divnr1_gcc46.a libhls-divnr2_gcc46.a libhls-divas_gcc46.a libhls-cdiv_gcc46.a -libsoft_fp_gcc46_a_SOURCES = $(common_libsoft_fp_src) -libsoft_fp_gcc46_a_CFLAGS = --compiler=I386_GCC46 $(common_cflags) -I$(BOOST_DIR) -finline-limit=10000 -libsoft_fp_gcc46_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC46 $(common_treegccflags) -C -libhls_divNR_gcc46_a_SOURCES = $(common_libhls_div_src) -libhls_divNR_gcc46_a_CFLAGS = -finline-limit=10000 --compiler=I386_GCC46 $(common_cflags_nr) -I$(BOOST_DIR) -libhls_divNR_gcc46_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC46 $(common_treegccflags) -C -libhls_divnr1_gcc46_a_SOURCES = $(common_libhls_divnr_src) -libhls_divnr1_gcc46_a_CFLAGS = -finline-limit=10000 --compiler=I386_GCC46 $(common_cflags) -I$(BOOST_DIR) -DUNROLL_FACTOR=1 -libhls_divnr1_gcc46_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC46 $(common_treegccflags) -C -libhls_divnr2_gcc46_a_SOURCES = $(common_libhls_divnr_src) -libhls_divnr2_gcc46_a_CFLAGS = -finline-limit=10000 --compiler=I386_GCC46 $(common_cflags) -I$(BOOST_DIR) -DUNROLL_FACTOR=2 -libhls_divnr2_gcc46_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC46 $(common_treegccflags) -C -libhls_divas_gcc46_a_SOURCES = $(common_libhls_divas_src) -libhls_divas_gcc46_a_CFLAGS = -finline-limit=10000 --compiler=I386_GCC46 $(common_cflags) -I$(BOOST_DIR) -libhls_divas_gcc46_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC46 $(common_treegccflags) -C -libhls_cdiv_gcc46_a_SOURCES = $(common_libhls_cdiv_src) -libhls_cdiv_gcc46_a_CFLAGS = -finline-limit=10000 --compiler=I386_GCC46 $(common_cflags) -I$(BOOST_DIR) -libhls_cdiv_gcc46_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC46 $(common_treegccflags) -C -endif - -if BUILD_I386_GCC47 -pkglib_LIBRARIES += libsoft-fp_gcc47.a libhls-divNR_gcc47.a libhls-divnr1_gcc47.a libhls-divnr2_gcc47.a libhls-divas_gcc47.a libhls-cdiv_gcc47.a -libsoft_fp_gcc47_a_SOURCES = $(common_libsoft_fp_src) -libsoft_fp_gcc47_a_CFLAGS = --compiler=I386_GCC47 $(common_cflags) -I$(BOOST_DIR) -finline-limit=10000 -libsoft_fp_gcc47_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC47 $(common_treegccflags) -C -libhls_divNR_gcc47_a_SOURCES = $(common_libhls_div_src) -libhls_divNR_gcc47_a_CFLAGS = -finline-limit=10000 --compiler=I386_GCC47 $(common_cflags_nr) -I$(BOOST_DIR) -libhls_divNR_gcc47_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC47 $(common_treegccflags) -C -libhls_divnr1_gcc47_a_SOURCES = $(common_libhls_divnr_src) -libhls_divnr1_gcc47_a_CFLAGS = -finline-limit=10000 --compiler=I386_GCC47 $(common_cflags) -I$(BOOST_DIR) -DUNROLL_FACTOR=1 -libhls_divnr1_gcc47_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC47 $(common_treegccflags) -C -libhls_divnr2_gcc47_a_SOURCES = $(common_libhls_divnr_src) -libhls_divnr2_gcc47_a_CFLAGS = -finline-limit=10000 --compiler=I386_GCC47 $(common_cflags) -I$(BOOST_DIR) -DUNROLL_FACTOR=2 -libhls_divnr2_gcc47_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC47 $(common_treegccflags) -C -libhls_divas_gcc47_a_SOURCES = $(common_libhls_divas_src) -libhls_divas_gcc47_a_CFLAGS = -finline-limit=10000 --compiler=I386_GCC47 $(common_cflags) -I$(BOOST_DIR) -libhls_divas_gcc47_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC47 $(common_treegccflags) -C -libhls_cdiv_gcc47_a_SOURCES = $(common_libhls_cdiv_src) -libhls_cdiv_gcc47_a_CFLAGS = -finline-limit=10000 --compiler=I386_GCC47 $(common_cflags) -I$(BOOST_DIR) -libhls_cdiv_gcc47_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC47 $(common_treegccflags) -C -endif - -if BUILD_I386_GCC48 -pkglib_LIBRARIES += libsoft-fp_gcc48.a libhls-divNR_gcc48.a libhls-divnr1_gcc48.a libhls-divnr2_gcc48.a libhls-divas_gcc48.a libhls-cdiv_gcc48.a -libsoft_fp_gcc48_a_SOURCES = $(common_libsoft_fp_src) -libsoft_fp_gcc48_a_CFLAGS = --compiler=I386_GCC48 $(common_cflags) -I$(BOOST_DIR) -finline-limit=10000 -libsoft_fp_gcc48_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC48 $(common_treegccflags) -C -libhls_divNR_gcc48_a_SOURCES = $(common_libhls_div_src) -libhls_divNR_gcc48_a_CFLAGS = -finline-limit=10000 --compiler=I386_GCC48 $(common_cflags_nr) -I$(BOOST_DIR) -libhls_divNR_gcc48_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC48 $(common_treegccflags) -C -libhls_divnr1_gcc48_a_SOURCES = $(common_libhls_divnr_src) -libhls_divnr1_gcc48_a_CFLAGS = -finline-limit=10000 --compiler=I386_GCC48 $(common_cflags) -I$(BOOST_DIR) -DUNROLL_FACTOR=1 -libhls_divnr1_gcc48_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC48 $(common_treegccflags) -C -libhls_divnr2_gcc48_a_SOURCES = $(common_libhls_divnr_src) -libhls_divnr2_gcc48_a_CFLAGS = -finline-limit=10000 --compiler=I386_GCC48 $(common_cflags) -I$(BOOST_DIR) -DUNROLL_FACTOR=2 -libhls_divnr2_gcc48_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC48 $(common_treegccflags) -C -libhls_divas_gcc48_a_SOURCES = $(common_libhls_divas_src) -libhls_divas_gcc48_a_CFLAGS = -finline-limit=10000 --compiler=I386_GCC48 $(common_cflags) -I$(BOOST_DIR) -libhls_divas_gcc48_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC48 $(common_treegccflags) -C -libhls_cdiv_gcc48_a_SOURCES = $(common_libhls_cdiv_src) -libhls_cdiv_gcc48_a_CFLAGS = -finline-limit=10000 --compiler=I386_GCC48 $(common_cflags) -I$(BOOST_DIR) -libhls_cdiv_gcc48_a_AR = $(top_builddir)/src/tree-panda-gcc --compiler=I386_GCC48 $(common_treegccflags) -C -endif - if BUILD_I386_GCC49 pkglib_LIBRARIES += libsoft-fp_gcc49.a libhls-divNR_gcc49.a libhls-divnr1_gcc49.a libhls-divnr2_gcc49.a libhls-divas_gcc49.a libhls-cdiv_gcc49.a libsoft_fp_gcc49_a_SOURCES = $(common_libsoft_fp_src) diff --git a/etc/libbambu/softfloat/Makefile.am b/etc/libbambu/softfloat/Makefile.am index d02067269..16df283df 100644 --- a/etc/libbambu/softfloat/Makefile.am +++ b/etc/libbambu/softfloat/Makefile.am @@ -13,38 +13,6 @@ CC=$(top_builddir)/src/tree-panda-gcc CFLAGS= pkglib_LIBRARIES = -if BUILD_I386_GCC45 -pkglib_LIBRARIES += libsoftfloat_gcc45.a libsoftfloat_subnormals_gcc45.a -libsoftfloat_gcc45_a_SOURCES = softfloat.c -libsoftfloat_gcc45_a_CFLAGS = -O3 --compiler=I386_GCC45 -finline-limit=10000 $(common_cflags) -I$(BOOST_DIR) -libsoftfloat_subnormals_gcc45_a_SOURCES = softfloat.c -libsoftfloat_subnormals_gcc45_a_CFLAGS = -O3 --compiler=I386_GCC45 -finline-limit=10000 $(common_cflags_subnormals) -I$(BOOST_DIR) -endif - -if BUILD_I386_GCC46 -pkglib_LIBRARIES += libsoftfloat_gcc46.a libsoftfloat_subnormals_gcc46.a -libsoftfloat_gcc46_a_SOURCES = softfloat.c -libsoftfloat_gcc46_a_CFLAGS = -O3 --compiler=I386_GCC46 -finline-limit=10000 $(common_cflags) -I$(BOOST_DIR) -libsoftfloat_subnormals_gcc46_a_SOURCES = softfloat.c -libsoftfloat_subnormals_gcc46_a_CFLAGS = -O3 --compiler=I386_GCC46 -finline-limit=10000 $(common_cflags_subnormals) -I$(BOOST_DIR) -endif - -if BUILD_I386_GCC47 -pkglib_LIBRARIES += libsoftfloat_gcc47.a libsoftfloat_subnormals_gcc47.a -libsoftfloat_gcc47_a_SOURCES = softfloat.c -libsoftfloat_gcc47_a_CFLAGS = -O3 --compiler=I386_GCC47 -finline-limit=10000 $(common_cflags) -I$(BOOST_DIR) -libsoftfloat_subnormals_gcc47_a_SOURCES = softfloat.c -libsoftfloat_subnormals_gcc47_a_CFLAGS = -O3 --compiler=I386_GCC47 -finline-limit=10000 $(common_cflags_subnormals) -I$(BOOST_DIR) -endif - -if BUILD_I386_GCC48 -pkglib_LIBRARIES += libsoftfloat_gcc48.a libsoftfloat_subnormals_gcc48.a -libsoftfloat_gcc48_a_SOURCES = softfloat.c -libsoftfloat_gcc48_a_CFLAGS = -O3 -fno-tree-loop-distribute-patterns --compiler=I386_GCC48 -finline-limit=10000 $(common_cflags) -I$(BOOST_DIR) -libsoftfloat_subnormals_gcc48_a_SOURCES = softfloat.c -libsoftfloat_subnormals_gcc48_a_CFLAGS = -O3 -fno-tree-loop-distribute-patterns --compiler=I386_GCC48 -finline-limit=10000 $(common_cflags_subnormals) -I$(BOOST_DIR) -endif - if BUILD_I386_GCC49 pkglib_LIBRARIES += libsoftfloat_gcc49.a libsoftfloat_subnormals_gcc49.a libsoftfloat_gcc49_a_SOURCES = softfloat.c diff --git a/etc/macros/gcc_version.m4 b/etc/macros/gcc_version.m4 index 10b1b9e01..a71727c32 100644 --- a/etc/macros/gcc_version.m4 +++ b/etc/macros/gcc_version.m4 @@ -1,901 +1,3 @@ -dnl -dnl check gcc with plugin support enabled and plugins -dnl -AC_DEFUN([AC_CHECK_GCC45_I386_VERSION],[ - AC_ARG_WITH(gcc45, - [ --with-gcc45=executable-path path where the GCC 4.5 is installed ], - [ - ac_gcc45="$withval" - ]) - -dnl switch to c -AC_LANG_PUSH([C]) - -if test "x$ac_gcc45" = x; then - GCC_TO_BE_CHECKED="/usr/bin/gcc-4.5 /usr/bin/gcc" -else - GCC_TO_BE_CHECKED=$ac_gcc45; -fi - -echo "looking for gcc 4.5..." -for compiler in $GCC_TO_BE_CHECKED; do - if test -f $compiler; then - echo "checking $compiler..." - dnl check for gcc - I386_GCC45_VERSION=`$compiler -dumpspecs | grep \*version -A1 | tail -1` - I386_GCC45_FULL_VERSION=`$compiler --version` - AS_VERSION_COMPARE($1, [4.5.0], MIN_GCC45=[4.5.0], MIN_GCC45=$1, MIN_GCC45=$1) - AS_VERSION_COMPARE([4.6.0], $2, MAX_GCC45=[4.6.0], MAX_GCC45=$2, MAX_GCC45=$2) - AS_VERSION_COMPARE($I386_GCC45_VERSION, $MIN_GCC45, echo "checking $compiler >= $MIN_GCC45... no"; min=no, echo "checking $compiler >= $MIN_GCC45... yes"; min=yes, echo "checking $compiler >= $MIN_GCC45... yes"; min=yes) - if test "$min" = "no" ; then - continue; - fi - AS_VERSION_COMPARE($I386_GCC45_VERSION, $MAX_GCC45, echo "checking $compiler < $MAX_GCC45... yes"; max=yes, echo "checking $compiler < $MAX_GCC45... no"; max=no, echo "checking $compiler < $MAX_GCC45... no"; max=no) - if test "$max" = "no" ; then - continue; - fi - I386_GCC45_EXE=$compiler; - I386_GCC45_PLUGIN_DIR=`$I386_GCC45_EXE -print-file-name=plugin` - if test "x$I386_GCC45_PLUGIN_DIR" = "xplugin"; then - echo "checking plugin support... no. Package gcc-4.5-plugin-dev missing?" - break; - fi - echo "checking plugin directory...$I386_GCC45_PLUGIN_DIR" - gcc_file=`basename $I386_GCC45_EXE` - gcc_dir=`dirname $I386_GCC45_EXE` - cpp=`echo $gcc_file | sed s/gcc/cpp/` - I386_CPP45_EXE=$gcc_dir/$cpp - if test -f $I386_CPP45_EXE; then - echo "checking cpp...$I386_CPP45_EXE" - else - echo "checking cpp...no" - I386_GCC45_EXE="" - continue - fi - gpp=`echo $gcc_file | sed s/gcc/g\+\+/` - I386_GPP45_EXE=$gcc_dir/$gpp - if test -f $I386_GPP45_EXE; then - echo "checking g++...$I386_GPP45_EXE" - else - echo "checking g++...no" - continue - fi - ac_save_CC="$CC" - ac_save_CFLAGS="$CFLAGS" - ac_save_LDFLAGS="$LDFLAGS" - ac_save_LIBS="$LIBS" - CC=$I386_GCC45_EXE - CFLAGS="-m32" - LDFLAGS= - LIBS= - AC_LANG_PUSH([C]) - AC_LINK_IFELSE([AC_LANG_SOURCE([int main(void){ return 0;}])],I386_GCC45_MULTIARCH=yes,I386_GCC45_MULTIARCH=no) - AC_LANG_POP([C]) - CC=$ac_save_CC - CFLAGS=$ac_save_CFLAGS - LDFLAGS=$ac_save_LDFLAGS - LIBS=$ac_save_LIBS - if test "x$I386_GCC45_MULTIARCH" != xyes; then - echo "checking support to -m32... no" - continue - fi - cat > plugin_test.c <= $MIN_GCC46... no"; min=no, echo "checking $compiler >= $MIN_GCC46... yes"; min=yes, echo "checking $compiler >= $MIN_GCC46... yes"; min=yes) - if test "$min" = "no" ; then - continue; - fi - AS_VERSION_COMPARE($I386_GCC46_VERSION, $MAX_GCC46, echo "checking $compiler < $MAX_GCC46... yes"; max=yes, echo "checking $compiler < $MAX_GCC46... no"; max=no, echo "checking $compiler < $MAX_GCC46... no"; max=no) - if test "$max" = "no" ; then - continue; - fi - I386_GCC46_EXE=$compiler; - I386_GCC46_PLUGIN_DIR=`$I386_GCC46_EXE -print-file-name=plugin` - if test "x$I386_GCC46_PLUGIN_DIR" = "xplugin"; then - echo "checking plugin support... no. Package gcc-4.6-plugin-dev missing?" - break; - fi - echo "checking plugin directory...$I386_GCC46_PLUGIN_DIR" - gcc_file=`basename $I386_GCC46_EXE` - gcc_dir=`dirname $I386_GCC46_EXE` - cpp=`echo $gcc_file | sed s/gcc/cpp/` - I386_CPP46_EXE=$gcc_dir/$cpp - if test -f $I386_CPP46_EXE; then - echo "checking cpp...$I386_CPP46_EXE" - else - echo "checking cpp...no" - I386_GCC46_EXE="" - continue - fi - ac_save_CC="$CC" - ac_save_CFLAGS="$CFLAGS" - ac_save_LDFLAGS="$LDFLAGS" - ac_save_LIBS="$LIBS" - CC=$I386_GCC46_EXE - CFLAGS="-m32" - LDFLAGS= - LIBS= - AC_LANG_PUSH([C]) - AC_LINK_IFELSE([AC_LANG_SOURCE([int main(void){ return 0;}])],I386_GCC46_MULTIARCH=yes,I386_GCC46_MULTIARCH=no) - AC_LANG_POP([C]) - CC=$ac_save_CC - CFLAGS=$ac_save_CFLAGS - LDFLAGS=$ac_save_LDFLAGS - LIBS=$ac_save_LIBS - if test "x$I386_GCC46_MULTIARCH" != xyes; then - echo "checking support to -m32... no" - continue - fi - gpp=`echo $gcc_file | sed s/gcc/g\+\+/` - I386_GPP46_EXE=$gcc_dir/$gpp - if test -f $I386_GPP46_EXE; then - echo "checking g++...$I386_GPP46_EXE" - else - echo "checking g++...no" - continue - fi - cat > plugin_test.c < /dev/null - if test ! -f plugin_test.so; then - echo "checking $plugin_compiler -I$TOPSRCDIR/etc/gcc_plugin/ -fPIC -shared plugin_test.c -o plugin_test.so -I$I386_GCC46_PLUGIN_DIR/include... no" - continue - fi - echo "checking $plugin_compiler -I$TOPSRCDIR/etc/gcc_plugin/ -fPIC -shared plugin_test.c -o plugin_test.so -I$I386_GCC46_PLUGIN_DIR/include... yes" - ac_save_CC="$CC" - ac_save_CFLAGS="$CFLAGS" - CC=$plugin_compiler - CFLAGS="-fplugin=$BUILDDIR/plugin_test.so" - AC_LANG_PUSH([C]) - AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ - ]],[[ - return 0; - ]])], - I386_GCC46_PLUGIN_COMPILER=$plugin_compiler,I386_GCC46_PLUGIN_COMPILER=) - AC_LANG_POP([C]) - CC=$ac_save_CC - CFLAGS=$ac_save_CFLAGS - #If plugin compilation fails, skip this executable - if test "x$I386_GCC46_PLUGIN_COMPILER" = x; then - continue - fi - echo "Looking for gengtype" - I386_GCC46_GENGTYPE=`$I386_GCC46_EXE -print-file-name=gengtype` - if test "x$I386_GCC46_GENGTYPE" = "xgengtype"; then - I386_GCC46_GENGTYPE=`$I386_GCC46_EXE -print-file-name=plugin/gengtype` - if test "x$I386_GCC46_GENGTYPE" = "xplugin/gengtype"; then - I386_GCC46_ROOT_DIR=`dirname $I386_GCC46_EXE`/.. - I386_GCC46_GENGTYPE=`find $I386_GCC46_ROOT_DIR -name gengtype | head -n1` - if test "x$I386_GCC46_GENGTYPE" = "x"; then - # Try to find gengtype in the gcc install dir based on libgcc - I386_GCC46_LIBGCC=`$I386_GCC46_EXE -print-libgcc-file-name` - I386_GCC46_ROOT_DIR=`dirname $I386_GCC46_LIBGCC`/../../../.. - I386_GCC46_GENGTYPE=`find $I386_GCC46_ROOT_DIR -name gengtype | head -n1` - if test "x$I386_GCC46_GENGTYPE" = "x"; then - I386_GCC46_PLUGIN_COMPILER= - continue - fi - fi - fi - fi - echo "Looking for gtype.state" - I386_GCC46_GTYPESTATE=`$I386_GCC46_EXE -print-file-name=gtype.state` - if test "x$I386_GCC46_GTYPESTATE" = "xgtype.state"; then - I386_GCC46_GTYPESTATE=`$I386_GCC46_EXE -print-file-name=plugin/gtype.state` - if test "x$I386_GCC46_GTYPESTATE" = "xplugin/gtype.state"; then - I386_GCC46_PLUGIN_COMPILER= - continue - fi - fi - echo "OK, we have found the compiler" - build_I386_GCC46=yes; - build_I386_GCC46_EMPTY_PLUGIN=yes; - build_I386_GCC46_SSA_PLUGIN=yes; - build_I386_GCC46_SSA_PLUGINCPP=yes; - build_I386_GCC46_SSAVRP_PLUGIN=yes; - build_I386_GCC46_TOPFNAME_PLUGIN=yes; - break; - done - if test "x$I386_GCC46_PLUGIN_COMPILER" != x; then - break; - fi - else - echo "checking $compiler... not found" - fi -done - -if test x$I386_GCC46_PLUGIN_COMPILER != x; then - dnl set configure and makefile variables - I386_GCC46_EMPTY_PLUGIN=gcc46_plugin_dumpGimpleEmpty - I386_GCC46_SSA_PLUGIN=gcc46_plugin_dumpGimpleSSA - I386_GCC46_SSA_PLUGINCPP=gcc46_plugin_dumpGimpleSSACpp - I386_GCC46_SSAVRP_PLUGIN=gcc46_plugin_dumpGimpleSSAVRP - I386_GCC46_TOPFNAME_PLUGIN=gcc46_plugin_topfname - AC_SUBST(I386_GCC46_EMPTY_PLUGIN) - AC_SUBST(I386_GCC46_SSA_PLUGIN) - AC_SUBST(I386_GCC46_SSA_PLUGINCPP) - AC_SUBST(I386_GCC46_SSAVRP_PLUGIN) - AC_SUBST(I386_GCC46_TOPFNAME_PLUGIN) - AC_SUBST(I386_GCC46_PLUGIN_DIR) - AC_SUBST(I386_GCC46_GENGTYPE) - AC_SUBST(I386_GCC46_GTYPESTATE) - AC_SUBST(I386_GCC46_EXE) - AC_SUBST(I386_GCC46_VERSION) - AC_SUBST(I386_GCC46_PLUGIN_COMPILER) - AC_DEFINE(HAVE_I386_GCC46_COMPILER, 1, "Define if GCC 4.6 I386 compiler is compliant") - AC_DEFINE_UNQUOTED(I386_GCC46_EXE, "${I386_GCC46_EXE}", "Define the plugin gcc") - AC_DEFINE_UNQUOTED(I386_CPP46_EXE, "${I386_CPP46_EXE}", "Define the plugin cpp") - AC_DEFINE_UNQUOTED(I386_GPP46_EXE, "${I386_GPP46_EXE}", "Define the plugin g++") - AC_DEFINE_UNQUOTED(I386_GCC46_EMPTY_PLUGIN, "${I386_GCC46_EMPTY_PLUGIN}", "Define the filename of the GCC PandA Empty plugin") - AC_DEFINE_UNQUOTED(I386_GCC46_SSA_PLUGIN, "${I386_GCC46_SSA_PLUGIN}", "Define the filename of the GCC PandA SSA plugin") - AC_DEFINE_UNQUOTED(I386_GCC46_SSA_PLUGINCPP, "${I386_GCC46_SSA_PLUGINCPP}", "Define the filename of the GCC PandA C++ SSA plugin") - AC_DEFINE_UNQUOTED(I386_GCC46_SSAVRP_PLUGIN, "${I386_GCC46_SSAVRP_PLUGIN}", "Define the filename of the GCC PandA SSAVRP plugin") - AC_DEFINE_UNQUOTED(I386_GCC46_TOPFNAME_PLUGIN, "${I386_GCC46_TOPFNAME_PLUGIN}", "Define the filename of the GCC PandA topfname plugin") - AC_DEFINE_UNQUOTED(I386_GCC46_VERSION, "${I386_GCC46_VERSION}", "Define the gcc version") - AC_DEFINE_UNQUOTED(I386_GCC46_PLUGIN_COMPILER, "${I386_GCC46_PLUGIN_COMPILER}", "Define the plugin compiler") -fi - -dnl switch back to old language -AC_LANG_POP([C]) - -]) -dnl -dnl check gcc with plugin support enabled and plugins -dnl -AC_DEFUN([AC_CHECK_GCC47_I386_VERSION],[ - AC_ARG_WITH(gcc47, - [ --with-gcc47=executable-path path where the GCC 4.7 is installed ], - [ - ac_gcc47="$withval" - ]) - -dnl switch to c -AC_LANG_PUSH([C]) - -if test "x$ac_gcc47" = x; then - GCC_TO_BE_CHECKED="/usr/bin/gcc-4.7 /usr/bin/gcc" -else - GCC_TO_BE_CHECKED=$ac_gcc47; -fi - -echo "looking for gcc 4.7..." -for compiler in $GCC_TO_BE_CHECKED; do - if test -f $compiler; then - echo "checking $compiler..." - dnl check for gcc - I386_GCC47_VERSION=`$compiler -dumpspecs | grep \*version -A1 | tail -1` - I386_GCC47_FULL_VERSION=`$compiler --version` - AS_VERSION_COMPARE($1, [4.7.0], MIN_GCC47=[4.7.0], MIN_GCC47=$1, MIN_GCC47=$1) - AS_VERSION_COMPARE([4.8.0], $2, MAX_GCC47=[4.8.0], MAX_GCC47=$2, MAX_GCC47=$2) - AS_VERSION_COMPARE($I386_GCC47_VERSION, $MIN_GCC47, echo "checking $compiler >= $MIN_GCC47... no"; min=no, echo "checking $compiler >= $MIN_GCC47... yes"; min=yes, echo "checking $compiler >= $MIN_GCC47... yes"; min=yes) - if test "$min" = "no" ; then - continue; - fi - AS_VERSION_COMPARE($I386_GCC47_VERSION, $MAX_GCC47, echo "checking $compiler < $MAX_GCC47... yes"; max=yes, echo "checking $compiler < $MAX_GCC47... no"; max=no, echo "checking $compiler < $MAX_GCC47... no"; max=no) - if test "$max" = "no" ; then - continue; - fi - I386_GCC47_EXE=$compiler; - I386_GCC47_PLUGIN_DIR=`$I386_GCC47_EXE -print-file-name=plugin` - if test "x$I386_GCC47_PLUGIN_DIR" = "xplugin"; then - echo "checking plugin support... no. Package gcc-4.7-plugin-dev missing?" - break; - fi - echo "checking plugin directory...$I386_GCC47_PLUGIN_DIR" - gcc_file=`basename $I386_GCC47_EXE` - gcc_dir=`dirname $I386_GCC47_EXE` - cpp=`echo $gcc_file | sed s/gcc/cpp/` - I386_CPP47_EXE=$gcc_dir/$cpp - if test -f $I386_CPP47_EXE; then - echo "checking cpp...$I386_CPP47_EXE" - else - echo "checking cpp...no" - I386_GCC47_EXE="" - continue - fi - gpp=`echo $gcc_file | sed s/gcc/g\+\+/` - I386_GPP47_EXE=$gcc_dir/$gpp - if test -f $I386_GPP47_EXE; then - echo "checking g++...$I386_GPP47_EXE" - else - echo "checking g++...no" - continue - fi - ac_save_CC="$CC" - ac_save_CFLAGS="$CFLAGS" - ac_save_LDFLAGS="$LDFLAGS" - ac_save_LIBS="$LIBS" - CC=$I386_GCC47_EXE - CFLAGS="-m32" - LDFLAGS= - LIBS= - AC_LANG_PUSH([C]) - AC_LINK_IFELSE([AC_LANG_SOURCE([int main(void){ return 0;}])],I386_GCC47_M32=yes,I386_GCC47_M32=no) - AC_LANG_POP([C]) - CC=$ac_save_CC - CFLAGS=$ac_save_CFLAGS - LDFLAGS=$ac_save_LDFLAGS - LIBS=$ac_save_LIBS - if test "x$I386_GCC47_M32" == xyes; then - AC_DEFINE(HAVE_I386_GCC47_M32,1,[Define if gcc 4.7 supports -m32 ]) - echo "checking support to -m32... yes" - else - echo "checking support to -m32... no" - fi - ac_save_CC="$CC" - ac_save_CFLAGS="$CFLAGS" - ac_save_LDFLAGS="$LDFLAGS" - ac_save_LIBS="$LIBS" - CC=$I386_GCC47_EXE - CFLAGS="-mx32" - LDFLAGS= - LIBS= - AC_LANG_PUSH([C]) - AC_LINK_IFELSE([AC_LANG_SOURCE([int main(void){ return 0;}])],I386_GCC47_MX32=yes,I386_GCC47_MX32=no) - AC_LANG_POP([C]) - CC=$ac_save_CC - CFLAGS=$ac_save_CFLAGS - LDFLAGS=$ac_save_LDFLAGS - LIBS=$ac_save_LIBS - if test "x$I386_GCC47_MX32" == xyes; then - AC_DEFINE(HAVE_I386_GCC47_MX32,1,[Define if gcc 4.7 supports -mx32 ]) - echo "checking support to -mx32... yes" - else - echo "checking support to -mx32... no" - fi - ac_save_CC="$CC" - ac_save_CFLAGS="$CFLAGS" - ac_save_LDFLAGS="$LDFLAGS" - ac_save_LIBS="$LIBS" - CC=$I386_GCC47_EXE - CFLAGS="-m64" - LDFLAGS= - LIBS= - AC_LANG_PUSH([C]) - AC_LINK_IFELSE([AC_LANG_SOURCE([int main(void){ return 0;}])],I386_GCC47_M64=yes,I386_GCC47_M64=no) - AC_LANG_POP([C]) - CC=$ac_save_CC - CFLAGS=$ac_save_CFLAGS - LDFLAGS=$ac_save_LDFLAGS - LIBS=$ac_save_LIBS - if test "x$I386_GCC47_M64" == xyes; then - AC_DEFINE(HAVE_I386_GCC47_M64,1,[Define if gcc 4.7 supports -m64 ]) - echo "checking support to -m64... yes" - else - echo "checking support to -m64... no" - fi - cat > plugin_test.c < /dev/null - if test ! -f plugin_test.so; then - echo "checking $plugin_compiler -I$TOPSRCDIR/etc/gcc_plugin/ -fPIC -shared plugin_test.c -o plugin_test.so -I$I386_GCC47_PLUGIN_DIR/include... no" - continue - fi - echo "checking $plugin_compiler -I$TOPSRCDIR/etc/gcc_plugin/ -fPIC -shared plugin_test.c -o plugin_test.so -I$I386_GCC47_PLUGIN_DIR/include... yes" - ac_save_CC="$CC" - ac_save_CFLAGS="$CFLAGS" - CC=$plugin_compiler - CFLAGS="-fplugin=$BUILDDIR/plugin_test.so" - AC_LANG_PUSH([C]) - AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ - ]],[[ - return 0; - ]])], - I386_GCC47_PLUGIN_COMPILER=$plugin_compiler,I386_GCC47_PLUGIN_COMPILER=) - AC_LANG_POP([C]) - CC=$ac_save_CC - CFLAGS=$ac_save_CFLAGS - #If plugin compilation fails, skip this executable - if test "x$I386_GCC47_PLUGIN_COMPILER" = x; then - continue - fi - echo "Looking for gengtype" - I386_GCC47_GENGTYPE=`$I386_GCC47_EXE -print-file-name=gengtype` - if test "x$I386_GCC47_GENGTYPE" = "xgengtype"; then - I386_GCC47_GENGTYPE=`$I386_GCC47_EXE -print-file-name=plugin/gengtype` - if test "x$I386_GCC47_GENGTYPE" = "xplugin/gengtype"; then - I386_GCC47_ROOT_DIR=`dirname $I386_GCC47_EXE`/.. - I386_GCC47_GENGTYPE=`find $I386_GCC47_ROOT_DIR -name gengtype | head -n1` - if test "x$I386_GCC47_GENGTYPE" = "x"; then - # Try to find gengtype in the gcc install dir based on libgcc - I386_GCC47_LIBGCC=`$I386_GCC47_EXE -print-libgcc-file-name` - I386_GCC47_ROOT_DIR=`dirname $I386_GCC47_LIBGCC`/../../../.. - I386_GCC47_GENGTYPE=`find $I386_GCC47_ROOT_DIR -name gengtype | head -n1` - if test "x$I386_GCC47_GENGTYPE" = "x"; then - I386_GCC47_PLUGIN_COMPILER= - continue - fi - fi - fi - fi - echo "Looking for gtype.state" - I386_GCC47_GTYPESTATE=`$I386_GCC47_EXE -print-file-name=gtype.state` - if test "x$I386_GCC47_GTYPESTATE" = "xgtype.state"; then - I386_GCC47_GTYPESTATE=`$I386_GCC47_EXE -print-file-name=plugin/gtype.state` - if test "x$I386_GCC47_GTYPESTATE" = "xplugin/gtype.state"; then - I386_GCC47_PLUGIN_COMPILER= - continue - fi - fi - echo "OK, we have found the compiler" - build_I386_GCC47=yes; - build_I386_GCC47_EMPTY_PLUGIN=yes; - build_I386_GCC47_SSA_PLUGIN=yes; - build_I386_GCC47_SSA_PLUGINCPP=yes; - build_I386_GCC47_SSAVRP_PLUGIN=yes; - build_I386_GCC47_TOPFNAME_PLUGIN=yes; - break; - done - if test "x$I386_GCC47_PLUGIN_COMPILER" != x; then - break; - fi - else - echo "checking $compiler... not found" - fi -done - -if test x$I386_GCC47_PLUGIN_COMPILER != x; then - dnl set configure and makefile variables - I386_GCC47_EMPTY_PLUGIN=gcc47_plugin_dumpGimpleEmpty - I386_GCC47_SSA_PLUGIN=gcc47_plugin_dumpGimpleSSA - I386_GCC47_SSA_PLUGINCPP=gcc47_plugin_dumpGimpleSSACpp - I386_GCC47_SSAVRP_PLUGIN=gcc47_plugin_dumpGimpleSSAVRP - I386_GCC47_TOPFNAME_PLUGIN=gcc47_plugin_topfname - AC_SUBST(I386_GCC47_EMPTY_PLUGIN) - AC_SUBST(I386_GCC47_SSA_PLUGIN) - AC_SUBST(I386_GCC47_SSA_PLUGINCPP) - AC_SUBST(I386_GCC47_SSAVRP_PLUGIN) - AC_SUBST(I386_GCC47_TOPFNAME_PLUGIN) - AC_SUBST(I386_GCC47_PLUGIN_DIR) - AC_SUBST(I386_GCC47_GENGTYPE) - AC_SUBST(I386_GCC47_GTYPESTATE) - AC_SUBST(I386_GCC47_EXE) - AC_SUBST(I386_GCC47_VERSION) - AC_SUBST(I386_GCC47_PLUGIN_COMPILER) - AC_DEFINE(HAVE_I386_GCC47_COMPILER, 1, "Define if GCC 4.7 I386 compiler is compliant") - AC_DEFINE_UNQUOTED(I386_GCC47_EXE, "${I386_GCC47_EXE}", "Define the plugin gcc") - AC_DEFINE_UNQUOTED(I386_CPP47_EXE, "${I386_CPP47_EXE}", "Define the plugin cpp") - AC_DEFINE_UNQUOTED(I386_GPP47_EXE, "${I386_GPP47_EXE}", "Define the plugin g++") - AC_DEFINE_UNQUOTED(I386_GCC47_EMPTY_PLUGIN, "${I386_GCC47_EMPTY_PLUGIN}", "Define the filename of the GCC PandA Empty plugin") - AC_DEFINE_UNQUOTED(I386_GCC47_SSA_PLUGIN, "${I386_GCC47_SSA_PLUGIN}", "Define the filename of the GCC PandA SSA plugin") - AC_DEFINE_UNQUOTED(I386_GCC47_SSA_PLUGINCPP, "${I386_GCC47_SSA_PLUGINCPP}", "Define the filename of the GCC PandA C++ SSA plugin") - AC_DEFINE_UNQUOTED(I386_GCC47_SSAVRP_PLUGIN, "${I386_GCC47_SSAVRP_PLUGIN}", "Define the filename of the GCC PandA SSAVRP plugin") - AC_DEFINE_UNQUOTED(I386_GCC47_TOPFNAME_PLUGIN, "${I386_GCC47_TOPFNAME_PLUGIN}", "Define the filename of the GCC PandA topfname plugin") - AC_DEFINE_UNQUOTED(I386_GCC47_VERSION, "${I386_GCC47_VERSION}", "Define the gcc version") - AC_DEFINE_UNQUOTED(I386_GCC47_PLUGIN_COMPILER, "${I386_GCC47_PLUGIN_COMPILER}", "Define the plugin compiler") -fi - -dnl switch back to old language -AC_LANG_POP([C]) - -]) - -dnl -dnl check gcc with plugin support enabled and plugins -dnl -AC_DEFUN([AC_CHECK_GCC48_I386_VERSION],[ - AC_ARG_WITH(gcc48, - [ --with-gcc48=executable-path path where the GCC 4.8 is installed ], - [ - ac_gcc48="$withval" - ]) - -dnl switch to c -AC_LANG_PUSH([C]) - -if test "x$ac_gcc48" = x; then - GCC_TO_BE_CHECKED="/usr/bin/gcc-4.8 /usr/bin/gcc" -else - GCC_TO_BE_CHECKED=$ac_gcc48; -fi - -echo "looking for gcc 4.8..." -for compiler in $GCC_TO_BE_CHECKED; do - if test -f $compiler; then - echo "checking $compiler..." - dnl check for gcc - I386_GCC48_VERSION=`$compiler -dumpspecs | grep \*version -A1 | tail -1` - I386_GCC48_FULL_VERSION=`$compiler --version` - AS_VERSION_COMPARE($1, [4.8.0], MIN_GCC48=[4.8.0], MIN_GCC48=$1, MIN_GCC48=$2) - AS_VERSION_COMPARE([4.9.0], $2, MAX_GCC48=[4.9.0], MAX_GCC48=$2, MAX_GCC48=$2) - AS_VERSION_COMPARE($I386_GCC48_VERSION, $MIN_GCC48, echo "checking $compiler >= $MIN_GCC48... no"; min=no, echo "checking $compiler >= $MIN_GCC48... yes"; min=yes, echo "checking $compiler >= $MIN_GCC48... yes"; min=yes) - if test "$min" = "no" ; then - continue; - fi - AS_VERSION_COMPARE($I386_GCC48_VERSION, $MAX_GCC48, echo "checking $compiler < $MAX_GCC48... yes"; max=yes, echo "checking $compiler < $MAX_GCC48... no"; max=no, echo "checking $compiler < $MAX_GCC48... no"; max=no) - if test "$max" = "no" ; then - continue; - fi - I386_GCC48_EXE=$compiler; - I386_GCC48_PLUGIN_DIR=`$I386_GCC48_EXE -print-file-name=plugin` - if test "x$I386_GCC48_PLUGIN_DIR" = "xplugin"; then - echo "checking plugin support... no. Package gcc-4.8-plugin-dev missing?" - break; - fi - echo "checking plugin directory...$I386_GCC48_PLUGIN_DIR" - gcc_file=`basename $I386_GCC48_EXE` - gcc_dir=`dirname $I386_GCC48_EXE` - cpp=`echo $gcc_file | sed s/gcc/cpp/` - I386_CPP48_EXE=$gcc_dir/$cpp - if test -f $I386_CPP48_EXE; then - echo "checking cpp...$I386_CPP48_EXE" - else - echo "checking cpp...no" - I386_GCC48_EXE="" - continue - fi - gpp=`echo $gcc_file | sed s/gcc/g\+\+/` - I386_GPP48_EXE=$gcc_dir/$gpp - if test -f $I386_GPP48_EXE; then - echo "checking g++...$I386_GPP48_EXE" - else - echo "checking g++...no" - continue - fi - ac_save_CC="$CC" - ac_save_CFLAGS="$CFLAGS" - ac_save_LDFLAGS="$LDFLAGS" - ac_save_LIBS="$LIBS" - CC=$I386_GCC48_EXE - CFLAGS="-m32" - LDFLAGS= - LIBS= - AC_LANG_PUSH([C]) - AC_LINK_IFELSE([AC_LANG_SOURCE([int main(void){ return 0;}])],I386_GCC48_M32=yes,I386_GCC48_M32=no) - AC_LANG_POP([C]) - CC=$ac_save_CC - CFLAGS=$ac_save_CFLAGS - LDFLAGS=$ac_save_LDFLAGS - LIBS=$ac_save_LIBS - if test "x$I386_GCC48_M32" == xyes; then - AC_DEFINE(HAVE_I386_GCC48_M32,1,[Define if gcc 4.8 supports -m32 ]) - echo "checking support to -m32... yes" - else - echo "checking support to -m32... no" - fi - ac_save_CC="$CC" - ac_save_CFLAGS="$CFLAGS" - ac_save_LDFLAGS="$LDFLAGS" - ac_save_LIBS="$LIBS" - CC=$I386_GCC48_EXE - CFLAGS="-mx32" - LDFLAGS= - LIBS= - AC_LANG_PUSH([C]) - AC_LINK_IFELSE([AC_LANG_SOURCE([int main(void){ return 0;}])],I386_GCC48_MX32=yes,I386_GCC48_MX32=no) - AC_LANG_POP([C]) - CC=$ac_save_CC - CFLAGS=$ac_save_CFLAGS - LDFLAGS=$ac_save_LDFLAGS - LIBS=$ac_save_LIBS - if test "x$I386_GCC48_MX32" == xyes; then - AC_DEFINE(HAVE_I386_GCC48_MX32,1,[Define if gcc 4.8 supports -mx32 ]) - echo "checking support to -mx32... yes" - else - echo "checking support to -mx32... no" - fi - ac_save_CC="$CC" - ac_save_CFLAGS="$CFLAGS" - ac_save_LDFLAGS="$LDFLAGS" - ac_save_LIBS="$LIBS" - CC=$I386_GCC48_EXE - CFLAGS="-m64" - LDFLAGS= - LIBS= - AC_LANG_PUSH([C]) - AC_LINK_IFELSE([AC_LANG_SOURCE([int main(void){ return 0;}])],I386_GCC48_M64=yes,I386_GCC48_M64=no) - AC_LANG_POP([C]) - CC=$ac_save_CC - CFLAGS=$ac_save_CFLAGS - LDFLAGS=$ac_save_LDFLAGS - LIBS=$ac_save_LIBS - if test "x$I386_GCC48_M64" == xyes; then - AC_DEFINE(HAVE_I386_GCC48_M64,1,[Define if gcc 4.8 supports -m64 ]) - echo "checking support to -m64... yes" - else - echo "checking support to -m64... no" - fi - cat > plugin_test.c < /dev/null - if test ! -f plugin_test.so; then - echo "checking $plugin_compiler -I$TOPSRCDIR/etc/gcc_plugin/ -fPIC -shared plugin_test.c -o plugin_test.so -I$I386_GCC48_PLUGIN_DIR/include... no" - continue - fi - echo "checking $plugin_compiler -I$TOPSRCDIR/etc/gcc_plugin/ -fPIC -shared plugin_test.c -o plugin_test.so -I$I386_GCC48_PLUGIN_DIR/include... yes" - ac_save_CC="$CC" - ac_save_CFLAGS="$CFLAGS" - CC=$plugin_compiler - CFLAGS="-fplugin=$BUILDDIR/plugin_test.so" - AC_LANG_PUSH([C]) - AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ - ]],[[ - return 0; - ]])], - I386_GCC48_PLUGIN_COMPILER=$plugin_compiler,I386_GCC48_PLUGIN_COMPILER=) - AC_LANG_POP([C]) - CC=$ac_save_CC - CFLAGS=$ac_save_CFLAGS - #If plugin compilation fails, skip this executable - if test "x$I386_GCC48_PLUGIN_COMPILER" = x; then - continue - fi - echo "Looking for gengtype" - I386_GCC48_GENGTYPE=`$I386_GCC48_EXE -print-file-name=gengtype` - if test "x$I386_GCC48_GENGTYPE" = "xgengtype"; then - I386_GCC48_GENGTYPE=`$I386_GCC48_EXE -print-file-name=plugin/gengtype` - if test "x$I386_GCC48_GENGTYPE" = "xplugin/gengtype"; then - I386_GCC48_ROOT_DIR=`dirname $I386_GCC48_EXE`/.. - I386_GCC48_GENGTYPE=`find $I386_GCC48_ROOT_DIR -name gengtype | head -n1` - if test "x$I386_GCC48_GENGTYPE" = "x"; then - # Try to find gengtype in the gcc install dir based on libgcc - I386_GCC48_LIBGCC=`$I386_GCC48_EXE -print-libgcc-file-name` - I386_GCC48_ROOT_DIR=`dirname $I386_GCC48_LIBGCC`/../../../.. - I386_GCC48_GENGTYPE=`find $I386_GCC48_ROOT_DIR -name gengtype | head -n1` - if test "x$I386_GCC48_GENGTYPE" = "x"; then - I386_GCC48_PLUGIN_COMPILER= - continue - fi - fi - fi - fi - echo "Looking for gtype.state" - I386_GCC48_GTYPESTATE=`$I386_GCC48_EXE -print-file-name=gtype.state` - if test "x$I386_GCC48_GTYPESTATE" = "xgtype.state"; then - I386_GCC48_GTYPESTATE=`$I386_GCC48_EXE -print-file-name=plugin/gtype.state` - if test "x$I386_GCC48_GTYPESTATE" = "xplugin/gtype.state"; then - I386_GCC48_PLUGIN_COMPILER= - continue - fi - fi - echo "OK, we have found the compiler" - build_I386_GCC48=yes; - build_I386_GCC48_EMPTY_PLUGIN=yes; - build_I386_GCC48_SSA_PLUGIN=yes; - build_I386_GCC48_SSA_PLUGINCPP=yes; - build_I386_GCC48_SSAVRP_PLUGIN=yes; - build_I386_GCC48_TOPFNAME_PLUGIN=yes; - break; - done - if test "x$I386_GCC48_PLUGIN_COMPILER" != x; then - break; - fi - else - echo "checking $compiler... not found" - fi -done - -if test x$I386_GCC48_PLUGIN_COMPILER != x; then - dnl set configure and makefile variables - I386_GCC48_EMPTY_PLUGIN=gcc48_plugin_dumpGimpleEmpty - I386_GCC48_SSA_PLUGIN=gcc48_plugin_dumpGimpleSSA - I386_GCC48_SSA_PLUGINCPP=gcc48_plugin_dumpGimpleSSACpp - I386_GCC48_SSAVRP_PLUGIN=gcc48_plugin_dumpGimpleSSAVRP - I386_GCC48_TOPFNAME_PLUGIN=gcc48_plugin_topfname - AC_SUBST(I386_GCC48_EMPTY_PLUGIN) - AC_SUBST(I386_GCC48_SSA_PLUGIN) - AC_SUBST(I386_GCC48_SSA_PLUGINCPP) - AC_SUBST(I386_GCC48_SSAVRP_PLUGIN) - AC_SUBST(I386_GCC48_TOPFNAME_PLUGIN) - AC_SUBST(I386_GCC48_PLUGIN_DIR) - AC_SUBST(I386_GCC48_GENGTYPE) - AC_SUBST(I386_GCC48_GTYPESTATE) - AC_SUBST(I386_GCC48_EXE) - AC_SUBST(I386_GCC48_VERSION) - AC_SUBST(I386_GCC48_PLUGIN_COMPILER) - AC_DEFINE(HAVE_I386_GCC48_COMPILER, 1, "Define if GCC 4.8 I386 compiler is compliant") - AC_DEFINE_UNQUOTED(I386_GCC48_EXE, "${I386_GCC48_EXE}", "Define the plugin gcc") - AC_DEFINE_UNQUOTED(I386_CPP48_EXE, "${I386_CPP48_EXE}", "Define the plugin cpp") - AC_DEFINE_UNQUOTED(I386_GPP48_EXE, "${I386_GPP48_EXE}", "Define the plugin g++") - AC_DEFINE_UNQUOTED(I386_GCC48_EMPTY_PLUGIN, "${I386_GCC48_EMPTY_PLUGIN}", "Define the filename of the GCC PandA Empty plugin") - AC_DEFINE_UNQUOTED(I386_GCC48_SSA_PLUGIN, "${I386_GCC48_SSA_PLUGIN}", "Define the filename of the GCC PandA SSA plugin") - AC_DEFINE_UNQUOTED(I386_GCC48_SSA_PLUGINCPP, "${I386_GCC48_SSA_PLUGINCPP}", "Define the filename of the GCC PandA C++ SSA plugin") - AC_DEFINE_UNQUOTED(I386_GCC48_SSAVRP_PLUGIN, "${I386_GCC48_SSAVRP_PLUGIN}", "Define the filename of the GCC PandA SSAVRP plugin") - AC_DEFINE_UNQUOTED(I386_GCC48_TOPFNAME_PLUGIN, "${I386_GCC48_TOPFNAME_PLUGIN}", "Define the filename of the GCC PandA topfname plugin") - AC_DEFINE_UNQUOTED(I386_GCC48_VERSION, "${I386_GCC48_VERSION}", "Define the gcc version") - AC_DEFINE_UNQUOTED(I386_GCC48_PLUGIN_COMPILER, "${I386_GCC48_PLUGIN_COMPILER}", "Define the plugin compiler") -fi - -dnl switch back to old language -AC_LANG_POP([C]) - -]) - dnl dnl check gcc with plugin support enabled and plugins dnl diff --git a/panda_regressions/hls/all_gcc_CHStone-frontend.sh b/panda_regressions/hls/all_gcc_CHStone-frontend.sh index adb8db193..f0c67850e 100755 --- a/panda_regressions/hls/all_gcc_CHStone-frontend.sh +++ b/panda_regressions/hls/all_gcc_CHStone-frontend.sh @@ -7,10 +7,6 @@ OUT_SUFFIX="all_gcc_CHStone-frontend" BENCHMARKS_ROOT="${script_dir}/../../examples/CHStone/CHStone" python3 $script_dir/../../etc/scripts/test_panda.py --tool=bambu \ - --args="--configuration-name=GCC45-O0-wp-NN --compiler=I386_GCC45 ${BATCH_ARGS[*]}" \ - --args="--configuration-name=GCC46-O0-wp-NN --compiler=I386_GCC46 ${BATCH_ARGS[*]}" \ - --args="--configuration-name=GCC47-O0-wp-NN --compiler=I386_GCC47 ${BATCH_ARGS[*]}" \ - --args="--configuration-name=GCC48-O0-wp-NN --compiler=I386_GCC48 ${BATCH_ARGS[*]}" \ --args="--configuration-name=GCC49-O0-wp-NN --compiler=I386_GCC49 ${BATCH_ARGS[*]}" \ --args="--configuration-name=GCC5-O0-wp-NN --compiler=I386_GCC5 ${BATCH_ARGS[*]}" \ --args="--configuration-name=GCC6-O0-wp-NN --compiler=I386_GCC6 ${BATCH_ARGS[*]}" \ diff --git a/panda_regressions/hls/all_gcc_softfloat-tests.sh b/panda_regressions/hls/all_gcc_softfloat-tests.sh index d19013fcb..a6df4d576 100755 --- a/panda_regressions/hls/all_gcc_softfloat-tests.sh +++ b/panda_regressions/hls/all_gcc_softfloat-tests.sh @@ -6,10 +6,6 @@ BATCH_ARGS=("--simulate" "--soft-float" "--max-ulp=0" "--experimental-setup=BAMB OUT_SUFFIX="all_gcc_softfloat-tests" python3 $script_dir/../../etc/scripts/test_panda.py --tool=bambu \ - --args="--configuration-name=GCC45-wp-NN --compiler=I386_GCC45 ${BATCH_ARGS[*]}" \ - --args="--configuration-name=GCC46-wp-NN --compiler=I386_GCC46 ${BATCH_ARGS[*]}" \ - --args="--configuration-name=GCC47-wp-NN --compiler=I386_GCC47 ${BATCH_ARGS[*]}" \ - --args="--configuration-name=GCC48-wp-NN --compiler=I386_GCC48 ${BATCH_ARGS[*]}" \ --args="--configuration-name=GCC49-wp-NN --compiler=I386_GCC49 ${BATCH_ARGS[*]}" \ --args="--configuration-name=GCC5-wp-NN --compiler=I386_GCC5 ${BATCH_ARGS[*]}" \ --args="--configuration-name=GCC6-wp-NN --compiler=I386_GCC6 ${BATCH_ARGS[*]}" \ diff --git a/src/BambuParameter.cpp b/src/BambuParameter.cpp index 33c0058ea..ca06bd68e 100644 --- a/src/BambuParameter.cpp +++ b/src/BambuParameter.cpp @@ -3180,8 +3180,7 @@ void BambuParameter::CheckParameters() tuning_optimizations += "inline-functions" + STR_CST_string_separator + "gcse-after-reload" + STR_CST_string_separator + "ipa-cp-clone" + STR_CST_string_separator + "unswitch-loops" + STR_CST_string_separator + "no-tree-loop-ivcanon"; - if(default_compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC48 || - default_compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC49 || + if(default_compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC49 || default_compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC5 || default_compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC6 || default_compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC7 || @@ -3602,11 +3601,7 @@ void BambuParameter::CheckParameters() } if(isOption(OPT_discrepancy) && getOption(OPT_discrepancy)) { - if(default_compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC45 || - default_compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC46 || - default_compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC47 || - default_compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC48 || - default_compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC49) + if(default_compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC49) { THROW_WARNING("discrepancy analysis can report false positives with old compilers, use --compiler=I386_GCC5 " "or higher to avoid them"); diff --git a/src/HLS/simulation/CTestbenchExecution.cpp b/src/HLS/simulation/CTestbenchExecution.cpp index d9196bfd8..47e350eaf 100644 --- a/src/HLS/simulation/CTestbenchExecution.cpp +++ b/src/HLS/simulation/CTestbenchExecution.cpp @@ -154,7 +154,7 @@ DesignFlowStep_Status CTestbenchExecution::Exec() if(is_discrepancy && (!parameters->isOption(OPT_discrepancy_permissive_ptrs) || !parameters->getOption(OPT_discrepancy_permissive_ptrs))) { - if(is_clang || CompilerWrapper::isCurrentOrNewer(default_compiler, CompilerWrapper_CompilerTarget::CT_I386_GCC48)) + if(is_clang || CompilerWrapper::isCurrentOrNewer(default_compiler, CompilerWrapper_CompilerTarget::CT_I386_GCC49)) { compiler_flags += "-g -fsanitize=address -fno-omit-frame-pointer -fno-common "; } diff --git a/src/Parameter.cpp b/src/Parameter.cpp index 03fbb0517..b613088bc 100644 --- a/src/Parameter.cpp +++ b/src/Parameter.cpp @@ -54,10 +54,6 @@ #include "config_HAVE_I386_CLANG8_COMPILER.hpp" #include "config_HAVE_I386_CLANG9_COMPILER.hpp" #include "config_HAVE_I386_CLANGVVD_COMPILER.hpp" -#include "config_HAVE_I386_GCC45_COMPILER.hpp" -#include "config_HAVE_I386_GCC46_COMPILER.hpp" -#include "config_HAVE_I386_GCC47_COMPILER.hpp" -#include "config_HAVE_I386_GCC48_COMPILER.hpp" #include "config_HAVE_I386_GCC49_COMPILER.hpp" #include "config_HAVE_I386_GCC5_COMPILER.hpp" #include "config_HAVE_I386_GCC6_COMPILER.hpp" @@ -775,34 +771,6 @@ bool Parameter::ManageGccOptions(int next_option, char* optarg_param) #endif case INPUT_OPT_COMPILER: { -#if HAVE_I386_GCC45_COMPILER - if(std::string(optarg_param) == "I386_GCC45") - { - setOption(OPT_default_compiler, static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC45)); - break; - } -#endif -#if HAVE_I386_GCC46_COMPILER - if(std::string(optarg_param) == "I386_GCC46") - { - setOption(OPT_default_compiler, static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC46)); - break; - } -#endif -#if HAVE_I386_GCC47_COMPILER - if(std::string(optarg_param) == "I386_GCC47") - { - setOption(OPT_default_compiler, static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC47)); - break; - } -#endif -#if HAVE_I386_GCC48_COMPILER - if(std::string(optarg_param) == "I386_GCC48") - { - setOption(OPT_default_compiler, static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC48)); - break; - } -#endif #if HAVE_I386_GCC49_COMPILER if(std::string(optarg_param) == "I386_GCC49") { @@ -1225,18 +1193,6 @@ void Parameter::PrintGccOptionsUsage(std::ostream& os) const << " --compiler=\n" << " Specify which compiler is used.\n" << " Possible values for are:\n" -#if HAVE_I386_GCC45_COMPILER - << " I386_GCC45\n" -#endif -#if HAVE_I386_GCC46_COMPILER - << " I386_GCC46\n" -#endif -#if HAVE_I386_GCC47_COMPILER - << " I386_GCC47\n" -#endif -#if HAVE_I386_GCC48_COMPILER - << " I386_GCC48\n" -#endif #if HAVE_I386_GCC49_COMPILER << " I386_GCC49\n" #endif diff --git a/src/constants/compiler_constants.hpp b/src/constants/compiler_constants.hpp index eca8356d1..2ffcc138f 100644 --- a/src/constants/compiler_constants.hpp +++ b/src/constants/compiler_constants.hpp @@ -72,10 +72,8 @@ /// The list of tested versions of gcc #define STR_CST_gcc_supported_versions \ - "4.5.2 4.5.3 4.5.4 4.6.1 4.6.3 4.6.4 4.7.0 4.7.2 4.7.3 4.7.4 4.8.0 4.8.1 4.8.2 4.8.3 4.8.4 4.8.5 4.9.0 4.9.1 " \ - "4.9.2 4.9.3 4.9.4 5.1.0 5.1.1 5.2.0 5.2.1 5.3.0 5.3.1 5.4.0 5.4.1 5.5.0 6.0.0 6.2.0 6.2.1 6.3.0 6.4.0 6.5.0 " \ - "7.0.1 7.1.0 7.3.0 7.4.0 7.5.0 " \ - "8.0.1 8.2.0 8.2.1 8.3.0 8.3.1 8.4.0 8.5.0 4.2.1" + "4.9.0 4.9.1 4.9.2 4.9.3 4.9.4 5.1.0 5.1.1 5.2.0 5.2.1 5.3.0 5.3.1 5.4.0 5.4.1 5.5.0 6.0.0 6.2.0 6.2.1 6.3.0 " \ + "6.4.0 6.5.0 7.0.1 7.1.0 7.3.0 7.4.0 7.5.0 8.0.1 8.2.0 8.2.1 8.3.0 8.3.1 8.4.0 8.5.0 4.2.1" /// The suffix of gimple files #define STR_CST_gcc_tree_suffix ".gimplePSSA" diff --git a/src/frontend_analysis/IR_analysis/var_computation.cpp b/src/frontend_analysis/IR_analysis/var_computation.cpp index e3787ff24..b735e8958 100644 --- a/src/frontend_analysis/IR_analysis/var_computation.cpp +++ b/src/frontend_analysis/IR_analysis/var_computation.cpp @@ -339,14 +339,6 @@ void VarComputation::RecursivelyAnalyze(const vertex op_vertex, const tree_nodeC } case var_decl_K: { - if(parameters->getOption(OPT_default_compiler) == - CompilerWrapper_CompilerTarget::CT_I386_GCC45) - { - if(tree_helper::IsVolatile(_tree_node)) - { - THROW_ERROR("Volatile variables or types not supported with gcc 4.5"); - } - } ogc->AddSourceCodeVariable(op_vertex, tree_node->index); const auto* vd = GetPointer(tree_node); if(vd && (!vd->scpe || GET_CONST_NODE(vd->scpe)->get_kind() == translation_unit_decl_K)) @@ -490,18 +482,6 @@ void VarComputation::RecursivelyAnalyze(const vertex op_vertex, const tree_nodeC case CASE_TERNARY_EXPRESSION: { const auto* te = GetPointerS(tree_node); - /// GCC 4.5 plugin does not writer vuse for component ref of volatile variable - if(parameters->getOption(OPT_default_compiler) == - CompilerWrapper_CompilerTarget::CT_I386_GCC45) - { - if(te->get_kind() == component_ref_K) - { - if(tree_helper::IsVolatile(te->op0)) - { - THROW_ERROR("Accessing field of volatile union/struct not supported with gcc 4.5"); - } - } - } if(te->get_kind() == component_ref_K || te->get_kind() == bit_field_ref_K) { diff --git a/src/wrapper/compiler/compiler_wrapper.cpp b/src/wrapper/compiler/compiler_wrapper.cpp index 1b7982c2f..cc0f996e4 100644 --- a/src/wrapper/compiler/compiler_wrapper.cpp +++ b/src/wrapper/compiler/compiler_wrapper.cpp @@ -97,16 +97,6 @@ #include "config_HAVE_I386_CLANGVVD_M32.hpp" #include "config_HAVE_I386_CLANGVVD_M64.hpp" #include "config_HAVE_I386_CLANGVVD_MX32.hpp" -#include "config_HAVE_I386_GCC45_COMPILER.hpp" -#include "config_HAVE_I386_GCC46_COMPILER.hpp" -#include "config_HAVE_I386_GCC47_COMPILER.hpp" -#include "config_HAVE_I386_GCC47_M32.hpp" -#include "config_HAVE_I386_GCC47_M64.hpp" -#include "config_HAVE_I386_GCC47_MX32.hpp" -#include "config_HAVE_I386_GCC48_COMPILER.hpp" -#include "config_HAVE_I386_GCC48_M32.hpp" -#include "config_HAVE_I386_GCC48_M64.hpp" -#include "config_HAVE_I386_GCC48_MX32.hpp" #include "config_HAVE_I386_GCC49_COMPILER.hpp" #include "config_HAVE_I386_GCC49_M32.hpp" #include "config_HAVE_I386_GCC49_M64.hpp" @@ -272,43 +262,11 @@ #include "config_I386_CLANG_CPP8_EXE.hpp" #include "config_I386_CLANG_CPP9_EXE.hpp" #include "config_I386_CLANG_CPPVVD_EXE.hpp" -#include "config_I386_CPP45_EXE.hpp" -#include "config_I386_CPP46_EXE.hpp" -#include "config_I386_CPP47_EXE.hpp" -#include "config_I386_CPP48_EXE.hpp" #include "config_I386_CPP49_EXE.hpp" #include "config_I386_CPP5_EXE.hpp" #include "config_I386_CPP6_EXE.hpp" #include "config_I386_CPP7_EXE.hpp" #include "config_I386_CPP8_EXE.hpp" -#include "config_I386_GCC45_EMPTY_PLUGIN.hpp" -#include "config_I386_GCC45_EXE.hpp" -#include "config_I386_GCC45_SSAVRP_PLUGIN.hpp" -#include "config_I386_GCC45_SSA_PLUGIN.hpp" -#include "config_I386_GCC45_SSA_PLUGINCPP.hpp" -#include "config_I386_GCC45_TOPFNAME_PLUGIN.hpp" -#include "config_I386_GCC45_VERSION.hpp" -#include "config_I386_GCC46_EMPTY_PLUGIN.hpp" -#include "config_I386_GCC46_EXE.hpp" -#include "config_I386_GCC46_SSAVRP_PLUGIN.hpp" -#include "config_I386_GCC46_SSA_PLUGIN.hpp" -#include "config_I386_GCC46_SSA_PLUGINCPP.hpp" -#include "config_I386_GCC46_TOPFNAME_PLUGIN.hpp" -#include "config_I386_GCC46_VERSION.hpp" -#include "config_I386_GCC47_EMPTY_PLUGIN.hpp" -#include "config_I386_GCC47_EXE.hpp" -#include "config_I386_GCC47_SSAVRP_PLUGIN.hpp" -#include "config_I386_GCC47_SSA_PLUGIN.hpp" -#include "config_I386_GCC47_SSA_PLUGINCPP.hpp" -#include "config_I386_GCC47_TOPFNAME_PLUGIN.hpp" -#include "config_I386_GCC47_VERSION.hpp" -#include "config_I386_GCC48_EMPTY_PLUGIN.hpp" -#include "config_I386_GCC48_EXE.hpp" -#include "config_I386_GCC48_SSAVRP_PLUGIN.hpp" -#include "config_I386_GCC48_SSA_PLUGIN.hpp" -#include "config_I386_GCC48_SSA_PLUGINCPP.hpp" -#include "config_I386_GCC48_TOPFNAME_PLUGIN.hpp" -#include "config_I386_GCC48_VERSION.hpp" #include "config_I386_GCC49_EMPTY_PLUGIN.hpp" #include "config_I386_GCC49_EXE.hpp" #include "config_I386_GCC49_SSA_PLUGIN.hpp" @@ -339,10 +297,6 @@ #include "config_I386_GCC8_SSA_PLUGINCPP.hpp" #include "config_I386_GCC8_TOPFNAME_PLUGIN.hpp" #include "config_I386_GCC8_VERSION.hpp" -#include "config_I386_GPP45_EXE.hpp" -#include "config_I386_GPP46_EXE.hpp" -#include "config_I386_GPP47_EXE.hpp" -#include "config_I386_GPP48_EXE.hpp" #include "config_I386_GPP49_EXE.hpp" #include "config_I386_GPP5_EXE.hpp" #include "config_I386_GPP6_EXE.hpp" @@ -1584,10 +1538,7 @@ void CompilerWrapper::SetBambuDefault() optimization_flags["ipa-pta"] = true; } - if(compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC46 || - compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC47 || - compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC48 || - compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC49 || + if(compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC49 || compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC5 || compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC6 || compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC7 || @@ -1634,9 +1585,7 @@ void CompilerWrapper::SetBambuDefault() ///-f option with values // optimization_values["tree-parallelize-loops"]=1;///requires tree-loop-optimize ///-param option with with values - if(compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC47 || - compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC48 || - compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC49 || + if(compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC49 || compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC5 || compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC6 || compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC7 || @@ -1645,8 +1594,7 @@ void CompilerWrapper::SetBambuDefault() parameter_values["tree-reassoc-width"] = 128; // Set the maximum number of instructions executed in parallel in reassociated tree. } - if(compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC48 || - compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC49 || + if(compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC49 || compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC5 || compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC6 || compiler == CompilerWrapper_CompilerTarget::CT_I386_GCC7 || @@ -1736,37 +1684,6 @@ void CompilerWrapper::SetCompilerDefault() /// optimization_flags["unit-at-a-time"] = false; switch(compiler_target) { - case(CompilerWrapper_CompilerTarget::CT_I386_GCC45): - { - optimization_flags["tree-copy-prop"] = false; - break; - } - case(CompilerWrapper_CompilerTarget::CT_I386_GCC46): - { - optimization_flags["compare-elim"] = false; - optimization_flags["ipa-profile"] = false; - optimization_flags["tree-copy-prop"] = false; - optimization_flags["tree-copyrename"] = false; - break; - } - case(CompilerWrapper_CompilerTarget::CT_I386_GCC47): - { - optimization_flags["compare-elim"] = false; - optimization_flags["ipa-profile"] = false; - optimization_flags["tree-copy-prop"] = false; - optimization_flags["tree-copyrename"] = false; - break; - } - case(CompilerWrapper_CompilerTarget::CT_I386_GCC48): - { - optimization_flags["compare-elim"] = false; - optimization_flags["ipa-profile"] = false; - optimization_flags["tree-bit-ccp"] = false; - optimization_flags["tree-copy-prop"] = false; - optimization_flags["tree-copyrename"] = false; - optimization_flags["tree-slsr"] = false; - break; - } case(CompilerWrapper_CompilerTarget::CT_I386_GCC49): { optimization_flags["compare-elim"] = false; @@ -1959,8 +1876,7 @@ CompilerWrapper::Compiler CompilerWrapper::GetCompiler() const "/"; const std::string plugin_ext = ".so"; -#if HAVE_I386_GCC45_COMPILER || HAVE_I386_GCC46_COMPILER || HAVE_I386_GCC47_COMPILER || HAVE_I386_GCC48_COMPILER || \ - HAVE_I386_GCC49_COMPILER || HAVE_I386_GCC5_COMPILER || HAVE_I386_GCC6_COMPILER || HAVE_I386_GCC7_COMPILER || \ +#if HAVE_I386_GCC49_COMPILER || HAVE_I386_GCC5_COMPILER || HAVE_I386_GCC6_COMPILER || HAVE_I386_GCC7_COMPILER || \ HAVE_I386_GCC8_COMPILER auto fillASTAnalyzer_plugin = [&] { #if HAVE_I386_CLANG16_COMPILER @@ -2004,140 +1920,6 @@ CompilerWrapper::Compiler CompilerWrapper::GetCompiler() const #endif }; #endif -#if HAVE_I386_GCC45_COMPILER - if(static_cast(preferred_compiler) & static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC45)) - { - compiler.gcc = flag_cpp ? relocate_compiler_path(I386_GPP45_EXE) : relocate_compiler_path(I386_GCC45_EXE); - compiler.cpp = relocate_compiler_path(I386_CPP45_EXE); - compiler.extra_options = - Param->getOption(OPT_gcc_m32_mx32) + " -D_FORTIFY_SOURCE=0 " + gcc_extra_options; - if(optimization_flags.find("tree-vectorize") != optimization_flags.end() && - optimization_flags.find("tree-vectorize")->second) - compiler.extra_options += " -msse2 -mfpmath=sse"; - else - compiler.extra_options += " -mno-sse2"; - compiler.empty_plugin_obj = gcc_plugin_dir + I386_GCC45_EMPTY_PLUGIN + plugin_ext; - compiler.empty_plugin_name = I386_GCC45_EMPTY_PLUGIN; - if(optimization_flags.find("tree-vrp") != optimization_flags.end() && optimization_flags.find("tree-vrp")->second) - { - compiler.ssa_plugin_obj = gcc_plugin_dir + I386_GCC45_SSAVRP_PLUGIN + plugin_ext; - compiler.ssa_plugin_name = I386_GCC45_SSAVRP_PLUGIN; - } - else - { - compiler.ssa_plugin_obj = - gcc_plugin_dir + (flag_cpp ? I386_GCC45_SSA_PLUGINCPP : I386_GCC45_SSA_PLUGIN) + plugin_ext; - compiler.ssa_plugin_name = (flag_cpp ? I386_GCC45_SSA_PLUGINCPP : I386_GCC45_SSA_PLUGIN); - } - compiler.topfname_plugin_obj = gcc_plugin_dir + I386_GCC45_TOPFNAME_PLUGIN + plugin_ext; - compiler.topfname_plugin_name = I386_GCC45_TOPFNAME_PLUGIN; - fillASTAnalyzer_plugin(); - } -#endif -#if HAVE_I386_GCC46_COMPILER - if(static_cast(preferred_compiler) & static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC46)) - { - compiler.gcc = flag_cpp ? relocate_compiler_path(I386_GPP46_EXE) : relocate_compiler_path(I386_GCC46_EXE); - compiler.cpp = relocate_compiler_path(I386_CPP46_EXE); - compiler.extra_options = - Param->getOption(OPT_gcc_m32_mx32) + " -D_FORTIFY_SOURCE=0 " + gcc_extra_options; - if(optimization_flags.find("tree-vectorize") != optimization_flags.end() && - optimization_flags.find("tree-vectorize")->second) - compiler.extra_options += " -msse2 -mfpmath=sse"; - else - compiler.extra_options += " -mno-sse2"; - compiler.empty_plugin_obj = gcc_plugin_dir + I386_GCC46_EMPTY_PLUGIN + plugin_ext; - compiler.empty_plugin_name = I386_GCC46_EMPTY_PLUGIN; - if(optimization_flags.find("tree-vrp") != optimization_flags.end() && optimization_flags.find("tree-vrp")->second) - { - compiler.ssa_plugin_obj = gcc_plugin_dir + I386_GCC46_SSAVRP_PLUGIN + plugin_ext; - compiler.ssa_plugin_name = I386_GCC46_SSAVRP_PLUGIN; - } - else - { - compiler.ssa_plugin_obj = - gcc_plugin_dir + (flag_cpp ? I386_GCC46_SSA_PLUGINCPP : I386_GCC46_SSA_PLUGIN) + plugin_ext; - compiler.ssa_plugin_name = (flag_cpp ? I386_GCC46_SSA_PLUGINCPP : I386_GCC46_SSA_PLUGIN); - } - compiler.topfname_plugin_obj = gcc_plugin_dir + I386_GCC46_TOPFNAME_PLUGIN + plugin_ext; - compiler.topfname_plugin_name = I386_GCC46_TOPFNAME_PLUGIN; - fillASTAnalyzer_plugin(); - } -#endif -#if HAVE_I386_GCC47_COMPILER - if(static_cast(preferred_compiler) & static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC47)) - { - compiler.gcc = flag_cpp ? relocate_compiler_path(I386_GPP47_EXE) : relocate_compiler_path(I386_GCC47_EXE); - compiler.cpp = relocate_compiler_path(I386_CPP47_EXE); - compiler.extra_options = " -D_FORTIFY_SOURCE=0 " + gcc_extra_options; - if(optimization_flags.find("tree-vectorize") != optimization_flags.end() && - optimization_flags.find("tree-vectorize")->second) - { -#if HAVE_I386_GCC47_MX32 - compiler.extra_options += " -mx32"; -#else - compiler.extra_options += " " + Param->getOption(OPT_gcc_m32_mx32); -#endif - compiler.extra_options += " -msse2 -mfpmath=sse"; - } - else - compiler.extra_options += " " + Param->getOption(OPT_gcc_m32_mx32); - compiler.empty_plugin_obj = gcc_plugin_dir + I386_GCC47_EMPTY_PLUGIN + plugin_ext; - compiler.empty_plugin_name = I386_GCC47_EMPTY_PLUGIN; - if(optimization_flags.find("tree-vrp") != optimization_flags.end() && optimization_flags.find("tree-vrp")->second) - { - compiler.ssa_plugin_obj = gcc_plugin_dir + I386_GCC47_SSAVRP_PLUGIN + plugin_ext; - compiler.ssa_plugin_name = I386_GCC47_SSAVRP_PLUGIN; - } - else - { - compiler.ssa_plugin_obj = - gcc_plugin_dir + (flag_cpp ? I386_GCC47_SSA_PLUGINCPP : I386_GCC47_SSA_PLUGIN) + plugin_ext; - compiler.ssa_plugin_name = (flag_cpp ? I386_GCC47_SSA_PLUGINCPP : I386_GCC47_SSA_PLUGIN); - } - compiler.topfname_plugin_obj = gcc_plugin_dir + I386_GCC47_TOPFNAME_PLUGIN + plugin_ext; - compiler.topfname_plugin_name = I386_GCC47_TOPFNAME_PLUGIN; - fillASTAnalyzer_plugin(); - } -#endif -#if HAVE_I386_GCC48_COMPILER - if(static_cast(preferred_compiler) & static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC48)) - { - compiler.gcc = flag_cpp ? relocate_compiler_path(I386_GPP48_EXE) : relocate_compiler_path(I386_GCC48_EXE); - compiler.cpp = relocate_compiler_path(I386_CPP48_EXE); - compiler.extra_options = " -mlong-double-64 -D_FORTIFY_SOURCE=0 " + gcc_extra_options; - if(optimization_flags.find("tree-vectorize") != optimization_flags.end() && - optimization_flags.find("tree-vectorize")->second) - { -#if HAVE_I386_GCC48_MX32 - compiler.extra_options += " -mx32"; -#else - compiler.extra_options += " " + Param->getOption(OPT_gcc_m32_mx32); -#endif - compiler.extra_options += " -msse2 -mfpmath=sse"; - } - else - { - compiler.extra_options += " " + Param->getOption(OPT_gcc_m32_mx32); - } - compiler.empty_plugin_obj = gcc_plugin_dir + I386_GCC48_EMPTY_PLUGIN + plugin_ext; - compiler.empty_plugin_name = I386_GCC48_EMPTY_PLUGIN; - if(optimization_flags.find("tree-vrp") != optimization_flags.end() && optimization_flags.find("tree-vrp")->second) - { - compiler.ssa_plugin_obj = gcc_plugin_dir + I386_GCC48_SSAVRP_PLUGIN + plugin_ext; - compiler.ssa_plugin_name = I386_GCC48_SSAVRP_PLUGIN; - } - else - { - compiler.ssa_plugin_obj = - gcc_plugin_dir + (flag_cpp ? I386_GCC48_SSA_PLUGINCPP : I386_GCC48_SSA_PLUGIN) + plugin_ext; - compiler.ssa_plugin_name = (flag_cpp ? I386_GCC48_SSA_PLUGINCPP : I386_GCC48_SSA_PLUGIN); - } - compiler.topfname_plugin_obj = gcc_plugin_dir + I386_GCC48_TOPFNAME_PLUGIN + plugin_ext; - compiler.topfname_plugin_name = I386_GCC48_TOPFNAME_PLUGIN; - fillASTAnalyzer_plugin(); - } -#endif #if HAVE_I386_GCC49_COMPILER if(static_cast(preferred_compiler) & static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC49)) { @@ -3635,9 +3417,7 @@ bool CompilerWrapper::isClangCheck(CompilerWrapper_CompilerTarget ct) bool CompilerWrapper::isGccCheck(CompilerWrapper_CompilerTarget ct) { - return ct == CompilerWrapper_CompilerTarget::CT_I386_GCC45 || ct == CompilerWrapper_CompilerTarget::CT_I386_GCC46 || - ct == CompilerWrapper_CompilerTarget::CT_I386_GCC47 || ct == CompilerWrapper_CompilerTarget::CT_I386_GCC48 || - ct == CompilerWrapper_CompilerTarget::CT_I386_GCC49 || ct == CompilerWrapper_CompilerTarget::CT_I386_GCC5 || + return ct == CompilerWrapper_CompilerTarget::CT_I386_GCC49 || ct == CompilerWrapper_CompilerTarget::CT_I386_GCC5 || ct == CompilerWrapper_CompilerTarget::CT_I386_GCC6 || ct == CompilerWrapper_CompilerTarget::CT_I386_GCC7 || ct == CompilerWrapper_CompilerTarget::CT_I386_GCC8; } @@ -3645,18 +3425,6 @@ bool CompilerWrapper::isGccCheck(CompilerWrapper_CompilerTarget ct) int CompilerWrapper::getCompatibleCompilers() { return 0 -#if HAVE_I386_GCC45_COMPILER - | static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC45) -#endif -#if HAVE_I386_GCC46_COMPILER - | static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC46) -#endif -#if HAVE_I386_GCC47_COMPILER - | static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC47) -#endif -#if HAVE_I386_GCC48_COMPILER - | static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC48) -#endif #if HAVE_I386_GCC49_COMPILER | static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC49) #endif @@ -3726,14 +3494,6 @@ int CompilerWrapper::getDefaultCompiler() static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC6); #elif HAVE_I386_GCC5_COMPILER static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC5); -#elif HAVE_I386_GCC47_COMPILER - static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC47); -#elif HAVE_I386_GCC46_COMPILER - static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC46); -#elif HAVE_I386_GCC45_COMPILER - static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC45); -#elif HAVE_I386_GCC48_COMPILER - static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC48); #elif HAVE_I386_CLANG4_COMPILER static_cast(CompilerWrapper_CompilerTarget::CT_I386_CLANG4); #elif HAVE_I386_CLANG5_COMPILER @@ -3768,14 +3528,6 @@ std::string CompilerWrapper::getCompilerSuffix(CompilerWrapper_CompilerTarget pc { switch(pc) { - case CompilerWrapper_CompilerTarget::CT_I386_GCC45: - return "gcc45"; - case CompilerWrapper_CompilerTarget::CT_I386_GCC46: - return "gcc46"; - case CompilerWrapper_CompilerTarget::CT_I386_GCC47: - return "gcc47"; - case CompilerWrapper_CompilerTarget::CT_I386_GCC48: - return "gcc48"; case CompilerWrapper_CompilerTarget::CT_I386_GCC49: return "gcc49"; case CompilerWrapper_CompilerTarget::CT_I386_GCC5: @@ -3820,12 +3572,6 @@ std::string CompilerWrapper::getCompilerSuffix(CompilerWrapper_CompilerTarget pc bool CompilerWrapper::hasCompilerM64(CompilerWrapper_CompilerTarget ct) { return false -#if(HAVE_I386_GCC47_COMPILER && HAVE_I386_GCC47_M64) - || ct == CompilerWrapper_CompilerTarget::CT_I386_GCC47 -#endif -#if(HAVE_I386_GCC48_COMPILER && HAVE_I386_GCC48_M64) - || ct == CompilerWrapper_CompilerTarget::CT_I386_GCC48 -#endif #if(HAVE_I386_GCC49_COMPILER && HAVE_I386_GCC49_M64) || ct == CompilerWrapper_CompilerTarget::CT_I386_GCC49 #endif @@ -3883,12 +3629,6 @@ bool CompilerWrapper::hasCompilerM64(CompilerWrapper_CompilerTarget ct) bool CompilerWrapper::hasCompilerMX32(CompilerWrapper_CompilerTarget ct) { return false -#if(HAVE_I386_GCC47_COMPILER && HAVE_I386_GCC47_MX32) - || ct == CompilerWrapper_CompilerTarget::CT_I386_GCC47 -#endif -#if(HAVE_I386_GCC48_COMPILER && HAVE_I386_GCC48_MX32) - || ct == CompilerWrapper_CompilerTarget::CT_I386_GCC48 -#endif #if(HAVE_I386_GCC49_COMPILER && HAVE_I386_GCC49_MX32) || ct == CompilerWrapper_CompilerTarget::CT_I386_GCC49 #endif @@ -3946,18 +3686,6 @@ bool CompilerWrapper::hasCompilerMX32(CompilerWrapper_CompilerTarget ct) bool CompilerWrapper::hasCompilerGCCM32(CompilerWrapper_CompilerTarget ct) { return false -#if(HAVE_I386_GCC45_COMPILER) - || ct == CompilerWrapper_CompilerTarget::CT_I386_GCC45 -#endif -#if(HAVE_I386_GCC46_COMPILER) - || ct == CompilerWrapper_CompilerTarget::CT_I386_GCC46 -#endif -#if(HAVE_I386_GCC47_COMPILER && HAVE_I386_GCC47_M32) - || ct == CompilerWrapper_CompilerTarget::CT_I386_GCC47 -#endif -#if(HAVE_I386_GCC48_COMPILER && HAVE_I386_GCC48_M32) - || ct == CompilerWrapper_CompilerTarget::CT_I386_GCC48 -#endif #if(HAVE_I386_GCC49_COMPILER && HAVE_I386_GCC49_M32) || ct == CompilerWrapper_CompilerTarget::CT_I386_GCC49 #endif @@ -4020,30 +3748,6 @@ bool CompilerWrapper::hasCompilerCLANGM32(CompilerWrapper_CompilerTarget ct) std::string CompilerWrapper::getCompilerVersion(int pc) { -#if HAVE_I386_GCC45_COMPILER - if(pc & static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC45)) - { - return I386_GCC45_VERSION; - } -#endif -#if HAVE_I386_GCC46_COMPILER - if(pc & static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC46)) - { - return I386_GCC46_VERSION; - } -#endif -#if HAVE_I386_GCC47_COMPILER - if(pc & static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC47)) - { - return I386_GCC47_VERSION; - } -#endif -#if HAVE_I386_GCC48_COMPILER - if(pc & static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC48)) - { - return I386_GCC48_VERSION; - } -#endif #if HAVE_I386_GCC49_COMPILER if(pc & static_cast(CompilerWrapper_CompilerTarget::CT_I386_GCC49)) { diff --git a/src/wrapper/compiler/compiler_wrapper.hpp b/src/wrapper/compiler/compiler_wrapper.hpp index b3a5b4eb6..60a0c8221 100644 --- a/src/wrapper/compiler/compiler_wrapper.hpp +++ b/src/wrapper/compiler/compiler_wrapper.hpp @@ -83,10 +83,6 @@ enum class CompilerWrapper_OptimizationSet enum class CompilerWrapper_CompilerTarget { CT_NO_COMPILER = 0, - CT_I386_GCC45 = 1, - CT_I386_GCC46 = 2, - CT_I386_GCC47 = 4, - CT_I386_GCC48 = 8, CT_I386_GCC49 = 16, CT_I386_GCC5 = 32, CT_I386_GCC6 = 64,