https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116908
Bug ID: 116908 Summary: ICE (invalid calls_comdat_local flag) with -O1 compiling webkit Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- FW from PR 55212 : /usr/bin/g++-15 -DBUILDING_GTK__=1 -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DGETTEXT_PACKAGE=\"WebKitGTK-4.1\" -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DPAS_BMALLOC=1 -DSKCMS_DISABLE_HSW -DSKCMS_DISABLE_SKX -DSKIA_IMPLEMENTATION=1 -DSK_ASSUME_GL=0 -DSK_ASSUME_GL_ES=1 -DSK_ASSUME_WEBGL=0 -DSK_CODEC_DECODES_PNG -DSK_DISABLE_LEGACY_GL_MAKE_NATIVE_INTERFACE -DSK_DISABLE_LEGACY_IMAGE_READBUFFER -DSK_DISABLE_LEGACY_INIT_DECODERS -DSK_DISABLE_LEGACY_PNG_WRITEBUFFER -DSK_DISABLE_TRACING -DSK_DISABLE_WEBGL_INTERFACE -DSK_ENABLE_PRECOMPILE -DSK_GAMMA_APPLY_TO_A8 -DSK_GANESH -DSK_GL -DSK_R32_SHIFT=16 -DSK_RELEASE -DSK_TYPEFACE_FACTORY_FREETYPE -I/home/glaubitz/webkit2gtk-real/webkit2gtk-2.46.0/Source/ThirdParty/skia -isystem /usr/include/freetype2 -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-odr -Wno-stringop-overread -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -fasynchronous-unwind-tables -fdebug-types-section -g0 -O1 -ffile-prefix-map=/home/glaubitz/webkit2gtk-real/webkit2gtk-2.46.0=. -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 --param ggc-min-expand=10 -DNDEBUG -DG_DISABLE_CAST_CHECKS -fno-strict-aliasing -fno-exceptions -fno-rtti -fcoroutines -ffunction-sections -fdata-sections -fPIC -fvisibility=hidden -ffp-contract=off -fstrict-aliasing -Wno-attributes -Wno-cast-align -Wno-dangling-reference -Wno-deprecated -Wno-psabi -Wno-suggest-attribute=format -Wno-undef -Wno-uninitialized -Wno-unused-parameter -std=c++23 -MD -MT Source/ThirdParty/skia/CMakeFiles/Skia.dir/src/gpu/ganesh/ops/GrOvalOpFactory.cpp.o -MF Source/ThirdParty/skia/CMakeFiles/Skia.dir/src/gpu/ganesh/ops/GrOvalOpFactory.cpp.o.d -o Source/ThirdParty/skia/CMakeFiles/Skia.dir/src/gpu/ganesh/ops/GrOvalOpFactory.cpp.o -c /home/glaubitz/webkit2gtk-real/webkit2gtk-2.46.0/Source/ThirdParty/skia/src/gpu/ganesh/ops/GrOvalOpFactory.cpp /home/glaubitz/webkit2gtk-real/webkit2gtk-2.46.0/Source/ThirdParty/skia/src/gpu/ganesh/ops/GrOvalOpFactory.cpp: In member function 'virtual void EllipticalRRectOp::onPrepareDraws(GrMeshDrawTarget*)': /home/glaubitz/webkit2gtk-real/webkit2gtk-2.46.0/Source/ThirdParty/skia/src/gpu/ganesh/ops/GrOvalOpFactory.cpp:3046:10: error: invalid calls_comdat_local flag 3046 | void onPrepareDraws(GrMeshDrawTarget* target) override { | ^~~~~~~~~~~~~~ _ZN17EllipticalRRectOp14onPrepareDrawsEP16GrMeshDrawTarget/8902 (virtual void EllipticalRRectOp::onPrepareDraws(GrMeshDrawTarget*)) Type: function definition analyzed Visibility: externally_visible semantic_interposition public weak comdat comdat_group:_ZN17EllipticalRRectOp14onPrepareDrawsEP16GrMeshDrawTarget one_only visibility:hidden virtual Same comdat group as: _ZN5skgpuL33skgpu_init_static_unique_key_onceEP18SkAlignedSTStorageILi1ENS_9UniqueKeyEE/4008 Address is taken. References: Referring: _ZTV17EllipticalRRectOp/13231 (addr) Availability: available Function flags: count:37098082 (estimated locally) body Called by: Calls: __builtin_unreachable/15832 (18579353 (estimated locally),0.50 per call)