From c9c8aef474f4030e9d11d7fb81ad77de2eb5bf3b Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Wed, 22 Jan 2020 15:43:08 -0500 Subject: [PATCH] analyzer: fix build with --enable-checking=release 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. gcc/analyzer/ChangeLog: * sm-signal.cc: Fix nesting of CHECKING_P and namespace ana. --- gcc/analyzer/ChangeLog | 4 ++++ gcc/analyzer/sm-signal.cc | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 26c1184a624..52d959d2cdb 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,7 @@ +2020-01-22 David Malcolm + + * sm-signal.cc: Fix nesting of CHECKING_P and namespace ana. + 2020-01-22 David Malcolm PR analyzer/93378 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 */ -- 2.30.2