[clang] [RISCV] Set __GCC_CONSTRUCTIVE_SIZE/__GCC_DESTRUCTIVE_SIZE to 64 (PR #162986)

Sam Elliott via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 7 10:01:19 PST 2025


================
@@ -580,6 +580,8 @@ RISC-V Support
 - Add `-march=unset` to clear any previous `-march=` value. This ISA string will
   be computed from `-mcpu` or the platform default.
 
+- `__GCC_CONSTRUCTIVE_SIZE` and `__GCC_DESTRUCTIVE_SIZE` are changed to 64.
----------------
lenary wrote:

The right link is https://clang.llvm.org/docs/LanguageExtensions.html#gcc-destructive-size-and-gcc-constructive-size - though this will need some kind of rst-specific reference, I think.

https://github.com/llvm/llvm-project/pull/162986


More information about the cfe-commits mailing list