From: Thomas Schwinge Date: Tue, 13 Sep 2022 15:26:33 +0000 (+0200) Subject: nvptx: Define (dummy) 'TARGET_PTX_6_0' X-Git-Tag: releases/gcc-10.5.0~507 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddeca5944408edfac28b3d90b02b2d0b4cfe73d1;p=thirdparty%2Fgcc.git nvptx: Define (dummy) 'TARGET_PTX_6_0' 'TARGET_PTX_*' not applicable before GCC 12, but makes it easier to cherry-pick patches. gcc/ * config/nvptx/nvptx.h (TARGET_PTX_6_0): '#define' to 'false'. --- diff --git a/gcc/config/nvptx/nvptx.h b/gcc/config/nvptx/nvptx.h index 6ebcc7607714..ca1aa11d8524 100644 --- a/gcc/config/nvptx/nvptx.h +++ b/gcc/config/nvptx/nvptx.h @@ -95,6 +95,9 @@ #define TARGET_SM35 (ptx_isa_option >= PTX_ISA_SM35) +/* 'TARGET_PTX_*' not applicable before GCC 12. */ +#define TARGET_PTX_6_0 false + /* Registers. Since ptx is a virtual target, we just define a few hard registers for special purposes and leave pseudos unallocated. We have to have some available hard registers, to keep gcc setup