From: Ian Lance Taylor Date: Fri, 15 Mar 2019 15:50:34 +0000 (+0000) Subject: compiler: use const rather than constexpr X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1cd04969e3067235f1ad9932f44b6df462f9f854;p=gcc.git 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 --- diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 61bcab29e67..18050a22b5e 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 0e90373ff07..48e0065ba19 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 lookup(const Type*); - static constexpr unsigned notag = 0xffffffff; + static const unsigned notag = 0xffffffff; private: const Type* top_;