From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3E5723841459; Tue, 21 Jun 2022 06:03:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3E5723841459 From: "jan.wassenberg at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/106041] New: Long/infinite compile time for Arm SIMD -O1 or -O2 but not -O0 Date: Tue, 21 Jun 2022 06:03:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jan.wassenberg at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2022 06:03:17 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106041 Bug ID: 106041 Summary: Long/infinite compile time for Arm SIMD -O1 or -O2 but not -O0 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jan.wassenberg at gmail dot com Target Milestone: --- Created attachment 53179 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D53179&action=3Dedit Zipped preprocessed source Long (overnight) compile time for Arm target, vs 28sec for Clang. Repro: time aarch64-linux-gnu-g++-12 -O2 memory_test.cc.ii Output: none, not even with -ftime-report. Commenting out the contents of TestLoadStoreInterleaved3 and TestLoadStoreInterleaved4 avoids the problem. -v output: Using built-in specs. COLLECT_GCC=3Daarch64-linux-gnu-g++-12 COLLECT_LTO_WRAPPER=3D/usr/lib/gcc-cross/aarch64-linux-gnu/12/lto-wrapper Target: aarch64-linux-gnu Configured with: ../src/configure -v --with-pkgversion=3D'Debian 12-2022030= 2-1' --with-bugurl=3Dfile:///usr/share/doc/gcc-12/README.Bugs --enable-languages=3Dc,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=3D/usr --with-gcc-major-version-only --program-suffix=3D-12 --enable-shared --enable-linker-build-id --libexecdir=3D/usr/lib --without-included-gettext --enable-threads=3Dposix --libdir=3D/usr/lib --enable-nls --with-sysroot=3D/ --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-libstdcxx-time=3Dy= es --with-default-libstdcxx-abi=3Dnew --enable-gnu-unique-object --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=3Drelea= se --without-target-system-zlib --enable-multiarch --enable-fix-cortex-a53-843= 419 --disable-werror --enable-checking=3Drelease --build=3Dx86_64-linux-gnu --host=3Dx86_64-linux-gnu --target=3Daarch64-linux-gnu --program-prefix=3Daarch64-linux-gnu- --includedir=3D/usr/aarch64-linux-gnu= /include Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.1 20220302 (experimental) [master r12-7448-g58394373a70] (Debian 12-20220302-1)=