compiler: use const rather than constexpr
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 15 Mar 2019 15:50:34 +0000 (15:50 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 15 Mar 2019 15:50:34 +0000 (15:50 +0000)
    Fixes bootstrap with a C++98 compiler.

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/167762

From-SVN: r269710

gcc/go/gofrontend/MERGE
gcc/go/gofrontend/ast-dump.cc

index 61bcab29e67cf46afadaa7ab59131219be2f4bf2..18050a22b5e1ecf2bb08c12ff1d342ceb1641bf9 100644 (file)
@@ -1,4 +1,4 @@
-80a7f6dae0861a06407a44c501b6346a4abd119c
+a99959e6a4a899cfcc4d46e6b54da15d23c58a14
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
index 0e90373ff07e2691fcd6b5ac50fb01e1ab1c6a14..48e0065ba19aede877b3b35c4ee919203297e771 100644 (file)
@@ -610,7 +610,7 @@ class Type_dumper
                      const char *tag);
   std::pair<bool, unsigned> lookup(const Type*);
 
-  static constexpr unsigned notag = 0xffffffff;
+  static const unsigned notag = 0xffffffff;
 
  private:
   const Type* top_;