https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112634
Kostadin Shishmanov <kocelfc at tutanota dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kocelfc at tutanota dot com
--- Comment #4 from Kostadin Shishmanov <kocelfc at tutanota dot com> ---
I think I am running into the same thing. Here is my reproducer:
`g++ ApplicationAccessibleWrap.ii -fprofile-generate -pthread`
struct EnumeratedArray {
EnumeratedArray();
} kFlushTypeNames;
ApplicationAccessibleWrap.ii: In function '(static initializers for
ApplicationAccessibleWrap.ii)':
ApplicationAccessibleWrap.ii:3:18: error: non-trivial conversion in 'ssa_name'
3 | } kFlushTypeNames;
| ^
long int
long unsigned int
# .MEM_11 = VDEF <.MEM_10>
__gcov7._GLOBAL__sub_I_kFlushTypeNames[0] = PROF_time_profile_4;
during IPA pass: profile
ApplicationAccessibleWrap.ii:3:18: internal compiler error: verify_gimple
failed
0x1343a3a verify_gimple_in_cfg(function*, bool, bool)
../../gcc/gcc/tree-cfg.cc:5662
0x11ccae4 execute_function_todo
../../gcc/gcc/passes.cc:2088
0x11ccfe2 do_per_function
../../gcc/gcc/passes.cc:1694
0x11ccfe2 do_per_function
../../gcc/gcc/passes.cc:1684
0x11cd03e execute_todo
../../gcc/gcc/passes.cc:2142
Using built-in specs.
COLLECT_GCC=gcc/bin/g++
COLLECT_LTO_WRAPPER=/home/kostadin/gcc/bin/../libexec/gcc/x86_64-pc-linux-gnu/14.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc/configure --enable-languages=c,c++ --disable-bootstrap
--prefix=/home/kostadin/gcc-build/../gcc --disable-nls CFLAGS='-O2 -ggdb'
CXXFLAGS='-O2 -ggdb'
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.0.0 20231121 (experimental) (GCC)