From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 616E03858401; Wed, 3 Apr 2024 12:42:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 616E03858401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712148121; bh=3lBuMDv6iDwJz4319sSUCbtJZVKM4P153zOme7Dtw7U=; h=From:To:Subject:Date:From; b=Po2DyJSy1lDls5cYkFV5BbX8dOlx9HS2rWTYgyJNnX8nEU0CSmfsLgfek5nf1JRyA g/7tki8vYT2Gf3OCNslXkDZZ6WfkBhOQsd0li8LuCdFEtUfXk2p3/LbffgtZ1Kg8i6 VTRRdbUQzF5H3HVyHZY3p5l9FguTDnjwo1JRh42I= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/114574] New: [14 regression] ICE when building curl with LTO (internal compiler error: in fld_incomplete_type_of, at ipa-free-lang-data.cc:257) Date: Wed, 03 Apr 2024 12:42:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.org 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114574 Bug ID: 114574 Summary: [14 regression] ICE when building curl with LTO (internal compiler error: in fld_incomplete_type_of, at ipa-free-lang-data.cc:257) Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- Created attachment 57861 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57861&action=3Dedit libcurl_la-curl_ntlm_core.i.xz Tonnes of these failures. Just picked curl at random. ``` $ x86_64-pc-linux-gnu-gcc -m32 -mfpmath=3Dsse -DHAVE_CONFIG_H -I/var/tmp/portage/net-misc/curl-8.7.1-r1/work/curl-8.7.1/include -I../lib -I/var/tmp/portage/net-misc/curl-8.7.1-r1/work/curl-8.7.1/lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -fvisibility=3Dhidden -O3 -pipe -march=3Dnative -fdiagnostics-color=3Dalways -flto -fno-vect-cost-model -fpermissive -Werror-implicit-function-declaration -c /var/tmp/portage/net-misc/curl-8.7.1-r1/work/curl-8.7.1/lib/curl_ntlm_core.= c=20 -fPIC -DPIC -o .libs/libcurl_la-curl_ntlm_core.o during IPA pass: *free_lang_data /var/tmp/portage/net-misc/curl-8.7.1-r1/work/curl-8.7.1/lib/curl_ntlm_core.= c:665:1: internal compiler error: in fld_incomplete_type_of, at ipa-free-lang-data.cc:257 665 | } | ^ 0x55f1b9e2de0f fld_incomplete_type_of =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/ipa-free-lang-data= .cc:257 0x55f1bb41a2ad fld_simplified_type =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/ipa-free-lang-data= .cc:344 0x55f1bb41a2ad free_lang_data_in_type =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/ipa-free-lang-data= .cc:439 0x55f1bbaa5ad0 free_lang_data_in_cgraph =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/ipa-free-lang-data= .cc:1072 0x55f1bbaa5ad0 free_lang_data =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/ipa-free-lang-data= .cc:1109 0x55f1bbaa5ad0 execute =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/ipa-free-lang-data= .cc:1176 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. ``` 'gcc -c libcurl_la-curl_ntlm_core.i -O2 -flto' is enough to reproduce. I la= st built curl fine on 30th March, apparently. ``` Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/x86_64-pc-linux-gnu/14/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-14.0.9999/work/gcc-14.0.9999/configure --host=3Dx86_64-pc-linux-gnu --build=3Dx86_64-pc-linux-gnu --prefix=3D/usr --bindir=3D/usr/x86_64-pc-linux-gnu/gcc-bin/14 --includedir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/14/include --datadir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/14 --mandir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/14/man --infodir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/14/info --with-gxx-include-dir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14 --disable-silent-rules --disable-dependency-tracking --with-python-dir=3D/share/gcc-data/x86_64-pc-linux-gnu/14/python --enable-languages=3Dc,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=3Dyes,extra,rtl,df --with-bugurl=3Dhttps://bugs.gentoo.org/ --with-pkgversion=3D'Gentoo 14.0.9= 999 p, commit 7bbfb01a32b73842f8908de028703510a0e12057' --with-gcc-major-version-o= nly --enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-shared --enable-threads=3Dposix --enable-__cxa_atexit --enable-clocale=3Dgnu --enable-multilib --with-multilib-list=3Dm32,m64 --disable-fixed-point --enable-targets=3Dall --enable-libgomp --disable-libssp --disable-libada --disable-cet --disable-systemtap --disable-valgrind-annotations --disable-vtable-verify --disable-libvtv --with-zstd --without-isl --enable-default-pie --enable-host-pie --disable-host-bind-now --enable-default-ssp --disable-fixincludes --with-build-config=3D'bootstrap= -O3 bootstrap-lto' Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.1 20240403 (experimental) 8455d6f6cd43b7b143ab9ee19437452fceba9cc9 (Gentoo 14.0.9999 p, commit 7bbfb01a32b73842f8908de028703510a0e12057) ```=