[gcc r12-7767] [nvptx] Add mexperimental

Tom de Vries vries@gcc.gnu.org
Tue Mar 22 13:40:50 GMT 2022


https://gcc.gnu.org/g:a4baa0d3c5ad66e5ec24b8b5db7042739f0290aa

commit r12-7767-ga4baa0d3c5ad66e5ec24b8b5db7042739f0290aa
Author: Tom de Vries <tdevries@suse.de>
Date:   Sat Mar 19 17:40:55 2022 +0100

    [nvptx] Add mexperimental
    
    Add new option -mexperimental.
    
    This allows, rather than developing a new feature to completion in a
    development branch, to develop a new feature on trunk, without disturbing
    trunk.
    
    The equivalent of the feature branch merge then becomes making the
    functionality available for -mno-experimental.
    
    If more features at the same time will be developed, we can do something like
    -mexperimental=feature1,feature2 but for now that's not necessary.
    
    For now, has no effect.
    
    gcc/ChangeLog:
    
    2022-03-19  Tom de Vries  <tdevries@suse.de>
    
            * config/nvptx/nvptx.opt (mexperimental): New option.

Diff:
---
 gcc/config/nvptx/nvptx.opt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gcc/config/nvptx/nvptx.opt b/gcc/config/nvptx/nvptx.opt
index 980428b58cc..11288d1a8ee 100644
--- a/gcc/config/nvptx/nvptx.opt
+++ b/gcc/config/nvptx/nvptx.opt
@@ -88,3 +88,6 @@ Target Var(nvptx_comment) Init(1) Undocumented
 
 malias
 Target Var(nvptx_alias) Init(0) Undocumented
+
+mexperimental
+Target Var(nvptx_experimental) Init(0) Undocumented


More information about the Gcc-cvs mailing list