diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-03-15 15:50:34 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-03-15 15:50:34 +0000 |
commit | 1cd04969e3067235f1ad9932f44b6df462f9f854 (patch) | |
tree | 5897864f959a8987e641b18ec83739905f40fce2 | |
parent | ca7f909fba59f79d85f74ee0846bc9ed121ba7b2 (diff) | |
download | gcc-1cd04969e3067235f1ad9932f44b6df462f9f854.zip gcc-1cd04969e3067235f1ad9932f44b6df462f9f854.tar.gz gcc-1cd04969e3067235f1ad9932f44b6df462f9f854.tar.bz2 |
compiler: use const rather than constexpr
Fixes bootstrap with a C++98 compiler.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/167762
From-SVN: r269710
-rw-r--r-- | gcc/go/gofrontend/MERGE | 2 | ||||
-rw-r--r-- | gcc/go/gofrontend/ast-dump.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 61bcab2..18050a2 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -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. diff --git a/gcc/go/gofrontend/ast-dump.cc b/gcc/go/gofrontend/ast-dump.cc index 0e90373..48e0065 100644 --- a/gcc/go/gofrontend/ast-dump.cc +++ b/gcc/go/gofrontend/ast-dump.cc @@ -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_; |