https://gcc.gnu.org/g:55620672d77812bb6f1ac8835f0c949680d9c7d0

commit r15-9546-g55620672d77812bb6f1ac8835f0c949680d9c7d0
Author: Thomas Schwinge <tschwi...@baylibre.com>
Date:   Mon Feb 24 19:06:28 2025 +0100

    nvptx: Remove 'TARGET_ASM_NEED_VAR_DECL_BEFORE_USE'
    
    Unused; remnant of an (internal) experiment, before we had nvptx 'as'.
    
            gcc/
            * config/nvptx/nvptx.cc (TARGET_ASM_NEED_VAR_DECL_BEFORE_USE):
            Don't '#define'.

Diff:
---
 gcc/config/nvptx/nvptx.cc | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gcc/config/nvptx/nvptx.cc b/gcc/config/nvptx/nvptx.cc
index d1e25b99701c..f8939715dee2 100644
--- a/gcc/config/nvptx/nvptx.cc
+++ b/gcc/config/nvptx/nvptx.cc
@@ -7905,8 +7905,6 @@ nvptx_asm_output_def_from_decls (FILE *stream, tree name,
 #define TARGET_ASM_DECLARE_CONSTANT_NAME nvptx_asm_declare_constant_name
 #undef TARGET_USE_BLOCKS_FOR_CONSTANT_P
 #define TARGET_USE_BLOCKS_FOR_CONSTANT_P hook_bool_mode_const_rtx_true
-#undef TARGET_ASM_NEED_VAR_DECL_BEFORE_USE
-#define TARGET_ASM_NEED_VAR_DECL_BEFORE_USE true
 
 #undef TARGET_MACHINE_DEPENDENT_REORG
 #define TARGET_MACHINE_DEPENDENT_REORG nvptx_reorg

Reply via email to