[gcc(refs/users/aoliva/heads/testme)] strub: disable on rl78
Alexandre Oliva
aoliva@gcc.gnu.org
Fri Dec 8 01:06:13 GMT 2023
https://gcc.gnu.org/g:0face1561d7f2d801ff6a6da837c36f336dc0c06
commit 0face1561d7f2d801ff6a6da837c36f336dc0c06
Author: Alexandre Oliva <oliva@gnu.org>
Date: Thu Dec 7 21:50:33 2023 -0300
strub: disable on rl78
Diff:
---
gcc/config/rl78/rl78.cc | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gcc/config/rl78/rl78.cc b/gcc/config/rl78/rl78.cc
index 5d8fddbd905..f3507280859 100644
--- a/gcc/config/rl78/rl78.cc
+++ b/gcc/config/rl78/rl78.cc
@@ -4972,6 +4972,11 @@ rl78_preferred_reload_class (rtx x ATTRIBUTE_UNUSED, reg_class_t rclass)
}
+/* The strub runtime uses asms, and physical register allocation won't
+ deal with them, so disable it. */
+#undef TARGET_HAVE_STRUB_SUPPORT_FOR
+#define TARGET_HAVE_STRUB_SUPPORT_FOR hook_bool_tree_false
+
struct gcc_target targetm = TARGET_INITIALIZER;
#include "gt-rl78.h"
More information about the Gcc-cvs
mailing list