[committed] analyzer: fix build with --enable-checking=release
diff mbox series

Message ID 20200123020025.9970-1-dmalcolm@redhat.com
State New
Headers show
Series
  • [committed] analyzer: fix build with --enable-checking=release
Related show

Commit Message

David Malcolm Jan. 23, 2020, 2 a.m. UTC
When adding namespaces to the analyzer in
r10-6151-g75038aa6aa5b562e6358108619d66ef2ccab9a53
I messed up the nesting of the #endif for #if CHECKING_P
and the closing of namespace ana.

This patch fixes it.

Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu;
verified stage 1 build with --enable-checking=release.

Pushed to master as c9c8aef474f4030e9d11d7fb81ad77de2eb5bf3b.

gcc/analyzer/ChangeLog:
	* sm-signal.cc: Fix nesting of CHECKING_P and namespace ana.
---
 gcc/analyzer/sm-signal.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/gcc/analyzer/sm-signal.cc b/gcc/analyzer/sm-signal.cc
index 146ad713f86..b4daf3ad617 100644
--- a/gcc/analyzer/sm-signal.cc
+++ b/gcc/analyzer/sm-signal.cc
@@ -369,7 +369,8 @@  analyzer_sm_signal_cc_tests ()
 
 } // namespace selftest
 
+#endif /* CHECKING_P */
+
 } // namespace ana
 
-#endif /* CHECKING_P */
 #endif /* #if ENABLE_ANALYZER */