aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/riscv/riscv-c.cc
diff options
context:
space:
mode:
authorVineet Gupta <vineetg@rivosinc.com>2022-09-02 14:05:33 -0700
committerKito Cheng <kito.cheng@sifive.com>2022-10-05 10:20:29 +0800
commitb77bcdf445685f28dae9e42b69e006801d653001 (patch)
tree4e6004d26fadfc3f48a9d6672ea7e7c50b523f56 /gcc/config/riscv/riscv-c.cc
parentbfca9505f6fce631c2488f89aa156d56c7fae9ed (diff)
downloadgcc-b77bcdf445685f28dae9e42b69e006801d653001.zip
gcc-b77bcdf445685f28dae9e42b69e006801d653001.tar.gz
gcc-b77bcdf445685f28dae9e42b69e006801d653001.tar.bz2
RISC-V: remove deprecate pic code model macro
Came across this deprecated symbol when looking around for -mexplicit-relocs handling in code Signed-off-by: Vineet Gupta <vineetg@rivosinc.com> gcc/ChangeLog: * config/riscv/riscv-c.cc (riscv_cpu_cpp_builtins): Remove __riscv_cmodel_pic, that deprecated in last version. gcc/testsuite/ChangeLog: * gcc.target/riscv/predef-1.c: Remove __riscv_cmodel_pic check. * gcc.target/riscv/predef-2.c: Ditto. * gcc.target/riscv/predef-3.c: Ditto. * gcc.target/riscv/predef-4.c: Ditto. * gcc.target/riscv/predef-5.c: Ditto. * gcc.target/riscv/predef-6.c: Ditto. * gcc.target/riscv/predef-7.c: Ditto. * gcc.target/riscv/predef-8.c: Ditto.
Diffstat (limited to 'gcc/config/riscv/riscv-c.cc')
-rw-r--r--gcc/config/riscv/riscv-c.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/config/riscv/riscv-c.cc b/gcc/config/riscv/riscv-c.cc
index eb7ef09..8d55ad5 100644
--- a/gcc/config/riscv/riscv-c.cc
+++ b/gcc/config/riscv/riscv-c.cc
@@ -93,11 +93,6 @@ riscv_cpu_cpp_builtins (cpp_reader *pfile)
break;
case CM_PIC:
- /* __riscv_cmodel_pic is deprecated, and will removed in next GCC release.
- see https://github.com/riscv/riscv-c-api-doc/pull/11 */
- builtin_define ("__riscv_cmodel_pic");
- /* FALLTHROUGH. */
-
case CM_MEDANY:
builtin_define ("__riscv_cmodel_medany");
break;