From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C49933858C53; Wed, 20 Apr 2022 09:21:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C49933858C53 From: "szy_mailbox at 126 dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/105317] New: How to deal with this: internal compiler error: in process_init_constructor_array, at cp/typeck2.c:1308? Date: Wed, 20 Apr 2022 09:21:34 +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: 7.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: szy_mailbox at 126 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 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: Wed, 20 Apr 2022 09:21:34 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105317 Bug ID: 105317 Summary: How to deal with this: internal compiler error: in process_init_constructor_array, at cp/typeck2.c:1308? Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: szy_mailbox at 126 dot com Target Milestone: --- When i compile mysqlsrc with gcc7.3 on arm, it reports the following error: [ 67%] Built target routertest_http_kdf_sha_crypt Scanning dependencies of target routertest_http_http_uri [ 67%] Building CXX object unittest/gunit/xplugin/xcl/CMakeFiles/xclient_unit_tests.dir/xpriority_list= _t.cc.o /root/rpmbuild/BUILD/mysql-8.0.27/unittest/gunit/xplugin/xcl/xpriority_list= _t.cc: In member function =E2=80=98virtual void xcl::test::Xcl_xpriority_list_tests_simple_operations_Test::TestBody()=E2= =80=99: /root/rpmbuild/BUILD/mysql-8.0.27/unittest/gunit/xplugin/xcl/xpriority_list= _t.cc:167:57: internal compiler error: in process_init_constructor_array, at cp/typeck2.c:1308 push_and_assert("Push_one_element", {"A"}, {F{"A", 1}}); ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[2]: *** [unittest/gunit/xplugin/xcl/CMakeFiles/xclient_unit_tests.dir/build.make:31= 0: unittest/gunit/xplugin/xcl/CMakeFiles/xclient_unit_tests.dir/xpriority_list= _t.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:25931: unittest/gunit/xplugin/xcl/CMakeFiles/xclient_unit_tests.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... gcc version is: [root@abc]# gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/aarch64-linux-gnu/7.3.0/lto-wrapper Target: aarch64-linux-gnu Configured with: ../configure --prefix=3D/usr --mandir=3D/usr/share/man --infodir=3D/usr/share/info --enable-shared --enable-threads=3Dposix --enable-checking=3Drelease --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=3Dgnu --enable-languages=3Dc,c++,objc,obj-c++,fortran,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=3D/home/abuild/rpmbuild/BUILD/gcc-7.3.0/obj-aarch64-linux-gnu/is= l-install --without-cloog --enable-gnu-indirect-function --build=3Daarch64-linux-gnu --with-stage1-ldflags=3D' -Wl,-z,relro,-z,now' --with-boot-ldflags=3D' -Wl,-z,relro,-z,now' --with-multilib-list=3Dlp64 Thread model: posix gcc version 7.3.0 (GCC)=