aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLulu Cheng <chenglulu@loongson.cn>2025-07-24 19:07:25 +0800
committerLulu Cheng <chenglulu@loongson.cn>2025-07-28 09:30:42 +0800
commitec3c17b1685c6bb9a5a95c58c250ef2236a952b0 (patch)
tree4dc73061b73455067439743936236054c3d133e3
parent7b313f53590ab6c404943a6487769540c1654d7b (diff)
downloadgcc-ec3c17b1685c6bb9a5a95c58c250ef2236a952b0.zip
gcc-ec3c17b1685c6bb9a5a95c58c250ef2236a952b0.tar.gz
gcc-ec3c17b1685c6bb9a5a95c58c250ef2236a952b0.tar.bz2
LoongArch: Remove the definition of CASE_VECTOR_SHORTEN_MODE.
On LoongArch, the switch jump-table always stores absolute addresses, so there is no need to define the macro CASE_VECTOR_SHORTEN_MODE. gcc/ChangeLog: * config/loongarch/loongarch.h (CASE_VECTOR_SHORTEN_MODE): Delete.
-rw-r--r--gcc/config/loongarch/loongarch.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/config/loongarch/loongarch.h b/gcc/config/loongarch/loongarch.h
index d897763..5fc8665 100644
--- a/gcc/config/loongarch/loongarch.h
+++ b/gcc/config/loongarch/loongarch.h
@@ -823,8 +823,6 @@ typedef struct {
#define CASE_VECTOR_MODE Pmode
-#define CASE_VECTOR_SHORTEN_MODE(MIN, MAX, BODY) Pmode
-
/* Define this as 1 if `char' should by default be signed; else as 0. */
#ifndef DEFAULT_SIGNED_CHAR
#define DEFAULT_SIGNED_CHAR 1