From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5C2FD3858029; Tue, 19 Oct 2021 14:55:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5C2FD3858029 From: "herrtimson at yahoo dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/102842] [10 Regression] ICE in cselib_record_set at 02 or greater Date: Tue, 19 Oct 2021 14:55:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 10.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: herrtimson at yahoo dot de X-Bugzilla-Status: WAITING 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: Message-ID: In-Reply-To: References: 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, 19 Oct 2021 14:55:28 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102842 --- Comment #3 from tt_1 --- sure I can provide happily gcc -v of host:=20 Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/x86_64-pc-linux-gnu/10.3.0/lto-wrapp= er Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-10.3.0-r2/work/gcc-10.3.0/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/10.3.0 --includedir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include --datadir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/10.3.0 --mandir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/10.3.0/man --infodir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/10.3.0/info --with-gxx-include-dir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g+= +-v10 --with-python-dir=3D/share/gcc-data/x86_64-pc-linux-gnu/10.3.0/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=3Drelease --with-bugurl=3Dhttps://bugs.gentoo.org/ --with-pkgversion=3D'Gentoo 10.3.0= -r2 p3' --disable-esp --enable-libstdcxx-time --disable-libstdcxx-pch --enable-shar= ed --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-systemtap --enable-vtable-verify --without-zstd --enable-lto --without-isl --disable-libsanitizer --enable-default-pie --enable-default-= ssp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.3.0 (Gentoo 10.3.0-r2 p3)=20 and cross-gcc:=20 LANG=3DC armv7a-unknown-linux-gnueabihf-gcc -v Using built-in specs. COLLECT_GCC=3Darmv7a-unknown-linux-gnueabihf-gcc COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/armv7a-unknown-linux-gnueabihf/10.3.= 0/lto-wrapper Target: armv7a-unknown-linux-gnueabihf Configured with: /var/tmp/portage/cross-armv7a-unknown-linux-gnueabihf/gcc-10.3.0-r2/work/gc= c-10.3.0/configure --host=3Dx86_64-pc-linux-gnu --target=3Darmv7a-unknown-linux-gnueabihf --build=3Dx86_64-pc-linux-gnu --prefix=3D/usr --bindir=3D/usr/x86_64-pc-linux-gnu/armv7a-unknown-linux-gnueabihf/gcc-bin/= 10.3.0 --includedir=3D/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/10.3.0/include --datadir=3D/usr/share/gcc-data/armv7a-unknown-linux-gnueabihf/10.3.0 --mandir=3D/usr/share/gcc-data/armv7a-unknown-linux-gnueabihf/10.3.0/man --infodir=3D/usr/share/gcc-data/armv7a-unknown-linux-gnueabihf/10.3.0/info --with-gxx-include-dir=3D/usr/lib/gcc/armv7a-unknown-linux-gnueabihf/10.3.0= /include/g++-v10 --with-python-dir=3D/share/gcc-data/armv7a-unknown-linux-gnueabihf/10.3.0/p= ython --enable-languages=3Dc,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=3Drelease --with-bugurl=3Dhttps://bugs.gentoo.org/ --with-pkgversion=3D'Gentoo 10.3.0= -r2 p3' --disable-esp --enable-libstdcxx-time --enable-poison-system-directories --with-sysroot=3D/usr/armv7a-unknown-linux-gnueabihf --disable-bootstrap --enable-__cxa_atexit --enable-clocale=3Dgnu --disable-multilib --disable-fixed-point --with-float=3Dhard --with-arch=3Darmv7-a --with-floa= t=3Dhard --with-fpu=3Dvfpv3-d16 --enable-libgomp --disable-libssp --disable-libada --disable-systemtap --disable-vtable-verify --disable-libvtv --without-zstd --enable-lto --without-isl --enable-default-pie --enable-default-ssp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.3.0 (Gentoo 10.3.0-r2 p3)=20 I am not sure what you mean by asking for compiler options, but I can give = you the exact command that fails, it should have all details in it:=20 /usr/bin/armv7a-unknown-linux-gnueabihf-g++ --sysroot /usr/armv7a-unknown-linux-gnueabihf -std=3Dgnu++17 -o dec_reconstruct.o -c= =20 -I/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-95.0/w= ork/firefox_build/dist/stl_wrappers -I/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-95.0/w= ork/firefox_build/dist/system_wrappers -include /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-95.0/wor= k/firefox-95.0/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2 -fstack-protector-strong -DNDEBUG= =3D1 -DTRIMMED=3D1 -DJPEGXL_MAJOR_VERSION=3D0 -DJPEGXL_MINOR_VERSION=3D0 -DJPEGXL_PATCH_VERSION=3D0 -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_= LIBXUL -DSTATIC_EXPORTABLE_JS_API -I/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-95.0/w= ork/firefox-95.0/media/libjxl -I/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-95.0/w= ork/firefox_build/media/libjxl -I/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-95.0/w= ork/firefox-95.0/media/libjxl/include -I/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-95.0/w= ork/firefox-95.0/third_party/jpeg-xl -I/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-95.0/w= ork/firefox-95.0/third_party/jpeg-xl/lib/include -I/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-95.0/w= ork/firefox_build/dist/include -I/usr/armv7a-unknown-linux-gnueabihf/usr/include/nspr -I/usr/armv7a-unknown-linux-gnueabihf/usr/include/nss -I/usr/armv7a-unknown-linux-gnueabihf/usr/include/nspr -I/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-95.0/w= ork/firefox_build/dist/include/nss -I/usr/armv7a-unknown-linux-gnueabihf/usr/include -I/usr/armv7a-unknown-linux-gnueabihf/usr/include/pixman-1 -I/usr/armv7a-unknown-linux-gnueabihf/usr/include -DMOZILLA_CLIENT -include /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-95.0/wor= k/firefox_build/mozilla-config.h -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-invalid-offsetof -Wc++2a-compat -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=3Dmaybe-uninitialized -Wno-error=3Ddeprecated-declarations -Wno-error=3Darray-bounds -Wno-error=3Dcoverage-mismatch -Wno-error=3Dfree-nonheap-object -Wno-multistatement-macros -Wno-error=3Dclass-memaccess -Wno-error=3Ddeprecated-copy -Wno-error=3Dunused-but-set-variable -Wformat -Wformat-security -Wformat-overflow=3D2 -Wno-psabi -fno-sized-deallocation -fno-aligned-new -pipe -fomit-frame-pointer -fno-tree-loop-vectorize -mthumb -mno-thumb-interwork -mfpu=3Dneon -mfloat-abi=3Dhard -fno-exceptions -fno-strict-aliasing -funwind-tables -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -O2 -fno-omit-frame-pointer -funwind-tables -MD -MP -MF .deps/dec_reconstruct.= o.pp -fdiagnostics-color=20 /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-95.0/wor= k/firefox-95.0/third_party/jpeg-xl/lib/jxl/dec_reconstruct.cc If I decrease optimization to -O1 it passes, -O2 and -O3 give the ICE=