https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118169

            Bug ID: 118169
           Summary: [15 regression] ICE when building mlt-7.28.0 (error:
                    non-trivial conversion in ‘integer_cst’)
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sjames at gcc dot gnu.org
  Target Milestone: ---

```
$ /usr/bin/x86_64-pc-linux-gnu-g++ -DNODEPLOY -DQT_CORE_LIB -DQT_GUI_LIB
-DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_XML_LIB -DWITHOUT_POTRACE
-DWITHOUT_QT_COLOR_WIDGETS -Dmltglaxnimate_qt6_EXPORTS
-I/var/tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0_build/src/modules/glaxnimate
-I/var/tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0/src/modules/glaxnimate
-I/var/tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0_build/src/modules/glaxnimate/mltglaxnimate-qt6_autogen/include
-I/var/tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0/src/modules/glaxnimate/glaxnimate/external/QtAppSetup/src
-I/var/tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0/src/modules/glaxnimate/glaxnimate/src/core
-I/var/tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0/src/mlt++
-I/var/tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0/src/framework/..
-isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem
/usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtGui -isystem
/usr/include/qt6/QtNetwork -isystem /usr/include/qt6/QtWidgets -isystem
/usr/include/qt6/QtXml  -march=native -O2 -pipe -ftrivial-auto-var-init=zero
-fno-tree-dse  -Warray-bounds -Wstringop-overread -Wstringop-overflow
-Wstringop-truncation -std=c++17 -fPIC -mmmx -msse -msse2 -fPIC -MD -MT
src/modules/glaxnimate/CMakeFiles/mltglaxnimate-qt6.dir/glaxnimate/src/core/io/avd/avd_parser.cpp.o
-MF
src/modules/glaxnimate/CMakeFiles/mltglaxnimate-qt6.dir/glaxnimate/src/core/io/avd/avd_parser.cpp.o.d
-o
src/modules/glaxnimate/CMakeFiles/mltglaxnimate-qt6.dir/glaxnimate/src/core/io/avd/avd_parser.cpp.o
-c
/var/tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0/src/modules/glaxnimate/glaxnimate/src/core/io/avd/avd_parser.cpp
In file included from
/var/tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0/src/modules/glaxnimate/glaxnimate/src/core/io/svg/animate_parser.hpp:22:
/var/tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0/src/modules/glaxnimate/glaxnimate/src/core/io/animated_properties.hpp:
In member function ‘std::vector<glaxnimate::io::detail::JoinedPropertyKeyframe>
glaxnimate::io::detail::AnimatedProperties::joined(const std::vector<QString>&)
const’:
/var/tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0/src/modules/glaxnimate/glaxnimate/src/core/io/animated_properties.hpp:197:41:
error: non-trivial conversion in ‘integer_cst’
  197 |     std::vector<JoinedPropertyKeyframe> joined(const
std::vector<QString>& prop_names) const
      |                                         ^~~~~~
struct value_type
bool
D.734433 = 0;
/var/tmp/portage/media-libs/mlt-7.28.0-r1/work/mlt-7.28.0/src/modules/glaxnimate/glaxnimate/src/core/io/animated_properties.hpp:197:41:
internal compiler error: ‘verify_gimple’ failed
0x561f933f7e14 internal_error(char const*, ...)
       
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/diagnostic-global-context.cc:517
0x561f91c2c126 verify_gimple_in_seq(gimple*, bool)
       
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-cfg.cc:5333
0x561f9358774e gimplify_body(tree_node*, bool)
       
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/gimplify.cc:20188
0x561f93586ed5 gimplify_function_tree(tree_node*)
       
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/gimplify.cc:20311
0x561f93583acb cgraph_node::analyze()
       
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cgraphunit.cc:687
0x561f9356e864 analyze_functions
       
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cgraphunit.cc:1263
0x561f93cf4b61 symbol_table::finalize_compilation_unit()
       
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cgraphunit.cc:2572
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.
```

---

```
sing built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/15/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/configure
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/15
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/15/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/15
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/15/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/15/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15
--disable-silent-rules --disable-dependency-tracking
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/15/python
--enable-objc-gc --enable-languages=c,c++,d,go,objc,obj-c++,fortran,ada,m2,rust
--enable-obsolete --enable-secureplt --disable-werror --with-system-zlib
--enable-nls --without-included-gettext --disable-libunwind-exceptions
--enable-checking=yes,extra,rtl --with-bugurl=https://bugs.gentoo.org/
--with-pkgversion='Gentoo 15.0.9999 p, commit
01d33f6be28d09edb2e9aaa66feab7a1b359aa60' --with-gcc-major-version-only
--enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--enable-multilib --with-multilib-list=m32,m64 --disable-fixed-point
--enable-targets=all --enable-offload-defaulted
--enable-offload-targets=nvptx-none --enable-libgomp --disable-libssp
--enable-libada --enable-cet --disable-systemtap --disable-valgrind-annotations
--disable-vtable-verify --disable-libvtv --with-zstd --without-isl
--enable-default-pie --enable-host-pie --enable-host-bind-now
--enable-default-ssp --disable-fixincludes --with-build-config='bootstrap-lto
bootstrap-cet'
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 15.0.0 20241220 (experimental)
0dc35fe5a095d9205da80cba976357cb71f8cb88 (Gentoo 15.0.9999 p, commit
01d33f6be28d09edb2e9aaa66feab7a1b359aa60)
```

Reply via email to