]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[nvptx] Add mexperimental
authorTom de Vries <tdevries@suse.de>
Sat, 19 Mar 2022 16:40:55 +0000 (17:40 +0100)
committerTom de Vries <tdevries@suse.de>
Tue, 22 Mar 2022 13:35:35 +0000 (14:35 +0100)
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.

gcc/config/nvptx/nvptx.opt

index 980428b58cc80d27c194a996e4add9d495115979..11288d1a8eea55ae6ab102da8ab7137da8261136 100644 (file)
@@ -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