https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117684
Xi Ruoyao changed:
What|Removed |Added
Resolution|--- |WONTFIX
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117684
--- Comment #6 from Richard Biener ---
(In reply to Lemetter Sebastien from comment #2)
> With this compiler version:
> ❯ /usr/bin/g++-9 --version
> g++-9 (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
>
> the bug does not occur. The problem is that our
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117684
--- Comment #5 from Jonathan Wakely ---
Maybe some earlier commit on GCC 9 was needed for that one to fix the slowness,
and that earlier commit was not backported to GCC 8.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117684
--- Comment #4 from Jonathan Wakely ---
It was fixed by r267253
re PR c++/87934 (struct with NSDMI of enum makes initialization a
non-constant expression)
PR c++/87934
* constexpr.c (cxx_eval_constant_expression) :
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117684
--- Comment #3 from Andrew Pinski ---
By the way the code needs to be updated to add an include for cstdint to
compile with the trunk.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117684
--- Comment #2 from Lemetter Sebastien
---
With this compiler version:
❯ /usr/bin/g++-9 --version
g++-9 (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
the bug does not occur. The problem is that our target is to compile for QNX on
ARM architecture, and
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117684
--- Comment #1 from Andrew Pinski ---
Gcc 8 is almost 7 years old now and is no longer supported. Can you test
something newer?