From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E9E543858D39; Fri, 3 Nov 2023 14:18:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E9E543858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699021090; bh=MR+YBf5moCOvdle42eT4ymNBKUEyzid6E75GNmmSq1A=; h=From:To:Subject:Date:From; b=jOxeg7KvojhQxFZPXBOnZE0wvL/bLCTlQONm65sqCdLgDe3ceT6V5ZrrKZVQ0ZHiQ 33HkhVnW7l+w3KT0WVh+BOOEiBZVZ6EkKBTmHzSBOmEOKjCNnk6Ht5SThAnPTDq5ZF FkhcurJces12EFdFyYDwRn5QkkcSyr61ShbcdBjo= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/112369] New: [14 regression] ICE when building webkit-gtk with -march=raptorlake Date: Fri, 03 Nov 2023 14:18:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization 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 cc 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=3D112369 Bug ID: 112369 Summary: [14 regression] ICE when building webkit-gtk with -march=3Draptorlake Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org CC: kocelfc at tutanota dot com Target Milestone: --- Created attachment 56501 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D56501&action=3Dedit ColorGtk.cpp.ii.xz Originally reported downstream by Kostadin Shishmanov at https://bugs.gentoo.org/916734. Hit this with building webkit-gtk with -march=3Draptorlake. ``` # g++ -c -std=3Dc++20 -march=3Draptorlake -O2 ColorGtk.cpp.ii during GIMPLE pass: forwprop /var/tmp/portage/net-libs/webkit-gtk-2.42.1-r410/work/webkitgtk-2.42.1/Sour= ce/WebCore/platform/graphics/gtk/ColorGtk.cpp: In constructor =E2=80=98WebCore::Color::Color(const GdkRGBA&)=E2=80=99: /var/tmp/portage/net-libs/webkit-gtk-2.42.1-r410/work/webkitgtk-2.42.1/Sour= ce/WebCore/platform/graphics/gtk/ColorGtk.cpp:28:1: internal compiler error: tree check: expected none of vector_type, have vector_type in strip_float_extensions, at tree.cc:12141 28 | Color::Color(const GdkRGBA& color) | ^~~~~ 0x56341e952ffd tree_not_check_failed(tree_node const*, char const*, int, ch= ar const*, ...) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231029/gcc-14-20231029/gcc/tree.cc= :8986 0x56341d8bcd08 tree_not_check(tree_node*, char const*, int, char const*, tree_code) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231029/gcc-14-20231029/gcc/tree.h:= 3607 0x56341d8bcd08 strip_float_extensions(tree_node*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231029/gcc-14-20231029/gcc/tree.cc= :12141 0x56341f1da729 fold_binary_loc(unsigned int, tree_code, tree_node*, tree_no= de*, tree_node*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231029/gcc-14-20231029/gcc/fold-co= nst.cc:12852 0x56341f5d9005 combine_cond_expr_cond =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231029/gcc-14-20231029/gcc/tree-ss= a-forwprop.cc:388 0x56341f55be0b forward_propagate_into_comparison_1 =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231029/gcc-14-20231029/gcc/tree-ss= a-forwprop.cc:447 0x56341f4a6d11 forward_propagate_into_comparison =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231029/gcc-14-20231029/gcc/tree-ss= a-forwprop.cc:494 0x56341f4a6d11 execute =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.0_pre20231029/gcc-14-20231029/gcc/tree-ss= a-forwprop.cc:3978 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. ``` ``` 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.0_pre20231029/work/gcc-14-20231029/conf= igure --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,rust --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=3Dyes,extra,rtl --with-bugurl=3Dhttps://bugs.gentoo.org/ --with-pkgversion=3D'Gentoo Harden= ed 14.0.0_pre20231029 p7' --with-gcc-major-version-only --enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-shared --enable-threads=3Dpos= ix --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 --enable-cet --disable-systemtap --enable-valgrind-annotations --disable-vtable-verify --disable-libvtv --with-zstd --with-isl --disable-isl-version-check --enable-default-pie --enable-host-pie --enable-host-bind-now --enable-default-ssp --with-build-config=3D'bootstrap-O3 bootstrap-lto bootstrap-cet' Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231029 (experimental) (Gentoo Hardened 14.0.0_pre20231= 029 p7) ```=