[Bug c++/117684] High compiling time for array initialization

2024-11-20 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117684 Xi Ruoyao changed: What|Removed |Added Resolution|--- |WONTFIX Status|UNCONFIRMED

[Bug c++/117684] High compiling time for array initialization

2024-11-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
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

[Bug c++/117684] High compiling time for array initialization

2024-11-19 Thread redi at gcc dot gnu.org via Gcc-bugs
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.

[Bug c++/117684] High compiling time for array initialization

2024-11-19 Thread redi at gcc dot gnu.org via Gcc-bugs
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) :

[Bug c++/117684] High compiling time for array initialization

2024-11-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
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.

[Bug c++/117684] High compiling time for array initialization

2024-11-19 Thread Sebastien.Lemetter at de dot bosch.com via Gcc-bugs
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

[Bug c++/117684] High compiling time for array initialization

2024-11-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
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?