public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "slyfox at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/105436] [13 Regression] parse error with >= operator expression in template argument list in C++14 mode since r13-40
Date: Mon, 02 May 2022 11:28:53 +0000	[thread overview]
Message-ID: <bug-105436-4-IjbPdoCHZb@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-105436-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105436

--- Comment #6 from Sergei Trofimovich <slyfox at gcc dot gnu.org> ---
Noticed similar build failure on llvm-13:

[  1%] Building CXX object
utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
In file included from /build/source/llvm/include/llvm/ADT/Sequence.h:23,
                 from
/build/source/llvm/include/llvm/Support/MachineValueType.h:17,
                 from
/build/source/llvm/utils/TableGen/CodeGenInstruction.h:17,
                 from /build/source/llvm/utils/TableGen/CodeGenTarget.h:20,
                 from
/build/source/llvm/utils/TableGen/AsmMatcherEmitter.cpp:98:
/build/source/llvm/include/llvm/Support/MathExtras.h:400:37: error: '>=' should
be '> =' to terminate a template argument list
  400 | constexpr inline std::enable_if_t<N >= 64, bool> isUInt(uint64_t) {
      |                                     ^~
      |                                     > =
/build/source/llvm/include/llvm/Support/MathExtras.h:400:40: error: expected
unqualified-id before numeric constant
  400 | constexpr inline std::enable_if_t<N >= 64, bool> isUInt(uint64_t) {
      |                                        ^~

  parent reply	other threads:[~2022-05-02 11:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-29 19:31 [Bug c++/105436] New: " ppalka at gcc dot gnu.org
2022-04-29 19:36 ` [Bug c++/105436] [13 Regression] " mpolacek at gcc dot gnu.org
2022-04-29 19:57 ` mpolacek at gcc dot gnu.org
2022-04-29 20:20 ` mpolacek at gcc dot gnu.org
2022-04-29 20:41 ` pinskia at gcc dot gnu.org
2022-04-30  7:11 ` jakub at gcc dot gnu.org
2022-04-30 14:38 ` mpolacek at gcc dot gnu.org
2022-05-02  6:45 ` rguenth at gcc dot gnu.org
2022-05-02 11:28 ` slyfox at gcc dot gnu.org [this message]
2022-05-04 15:13 ` mpolacek at gcc dot gnu.org
2022-05-04 16:02 ` cvs-commit at gcc dot gnu.org
2022-05-04 16:03 ` mpolacek at gcc dot gnu.org
2022-05-04 16:32 ` jakub at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-105436-4-IjbPdoCHZb@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).