]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
nvptx: Remove 'TARGET_ASM_NEED_VAR_DECL_BEFORE_USE'
authorThomas Schwinge <tschwinge@baylibre.com>
Mon, 24 Feb 2025 18:06:28 +0000 (19:06 +0100)
committerThomas Schwinge <tschwinge@baylibre.com>
Thu, 17 Apr 2025 08:43:16 +0000 (10:43 +0200)
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'.

gcc/config/nvptx/nvptx.cc

index d1e25b99701c3e3573cf1782ba0537013754d601..f8939715dee2f67c3093a60fba41eb37f5090fce 100644 (file)
@@ -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