Hi! On Thu, 10 Mar 2016 16:14:34 +0300 (MSK), Alexander Monakov <[email protected]> wrote: > On Thu, 10 Mar 2016, Nathan Sidwell wrote: > > Hm, something must have changed since I found that sorry neccessary. > > As I already said in my opening sentence (not quoted in your response), you > removed the unnecessary override. This is exactly what lets toplevel code see > requested debug format now, and react accordingly.
Correct.
For a while already, I had been carrying such patches in one of my
development trees; in r234370 now committed the remaining cleanup, as
obvious:
commit 5f3838e1bfb0803366287aeccb75331d83d3edb7
Author: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Mon Mar 21 15:31:50 2016 +0000
[nvptx] Don't emit sorry for the stabs debug format
* config/nvptx/nvptx.c (nvptx_option_override): Don't emit sorry
for the stabs debug format.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234370
138bc75d-0d04-0410-961f-82ee72b054a4
---
gcc/ChangeLog | 6 ++++++
gcc/config/nvptx/nvptx.c | 4 ----
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git gcc/ChangeLog gcc/ChangeLog
index fc480c7..b45acc5 100644
--- gcc/ChangeLog
+++ gcc/ChangeLog
@@ -1,3 +1,9 @@
+2016-03-21 Thomas Schwinge <[email protected]>
+ Alexander Monakov <[email protected]>
+
+ * config/nvptx/nvptx.c (nvptx_option_override): Don't emit sorry
+ for the stabs debug format.
+
2016-03-21 Richard Biener <[email protected]>
PR tree-optimization/70310
diff --git gcc/config/nvptx/nvptx.c gcc/config/nvptx/nvptx.c
index 1672426..b088cf8 100644
--- gcc/config/nvptx/nvptx.c
+++ gcc/config/nvptx/nvptx.c
@@ -160,10 +160,6 @@ nvptx_option_override (void)
/* Assumes that it will see only hard registers. */
flag_var_tracking = 0;
- if (write_symbols == DBX_DEBUG)
- /* The stabs testcases want to know stabs isn't supported. */
- sorry ("stabs debug format not supported");
-
if (nvptx_optimize < 0)
nvptx_optimize = optimize > 0;
Grüße
Thomas
signature.asc
Description: PGP signature
