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

            Bug ID: 106891
           Summary: internal compiler error: in init_from_control_deps, at
                    gimple-predicate-analysis.cc:1740
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sbergman at redhat dot com
                CC: rguenth at gcc dot gnu.org
  Target Milestone: ---

Bisecting shows this started with
<https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=0a4a2667dc115ca73b552fcabf8570620dfbe55f>
"tree-optimization/106754 - fix compute_control_dep_chain defect":

> $ CCACHE_CPP2=1      /home/sbergman/gcc/trunk/inst/bin/g++ 
> -fdiagnostics-color=always -DBOOST_ERROR_CODE_HEADER_ONLY 
> -DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DDBG_UTIL -DLINUX 
> -DOSL_DEBUG_LEVEL=1 -DSAL_LOG_INFO -DSAL_LOG_WARN -DUNIX -DUNX -DX86_64 
> -D_DEBUG -D_GLIBCXX_DEBUG -D_PTHREADS -D_REENTRANT   -fvisibility=hidden 
> -Werror   -Wall -Wno-missing-braces -Wnon-virtual-dtor -Wendif-labels -Wextra 
> -Wundef -Wunreachable-code -Wshadow -Wunused-macros  -finput-charset=UTF-8 
> -fmessage-length=0 -fno-common -pipe -fstack-protector-strong  
> -Wdeprecated-copy-dtor -Wduplicated-cond -Wlogical-op -Wshift-overflow=2 
> -Wunused-const-variable=1 -Wno-cast-function-type -fvisibility-inlines-hidden 
> -fPIC -Wshadow -Woverloaded-virtual -std=c++23 -pthread  -O2 -ggdb2 
> -gsplit-dwarf -gdwarf-4 -ggnu-pubnames  -DEXCEPTIONS_ON -fexceptions    
> -DLIBO_INTERNAL_ONLY  -c $S/configmgr/source/xcsparser.cxx -o 
> $W/CxxObject/configmgr/source/xcsparser.o -MMD -MT 
> $W/CxxObject/configmgr/source/xcsparser.o -MP -MF 
> $W/Dep/CxxObject/configmgr/source/xcsparser.d_ -I$S/external/boost/include 
> -I$W/UnpackedTarball/boost -I$S/include -I/usr/lib/jvm/java-17/include 
> -I/usr/lib/jvm/java-17/include/linux -I$S/config_host   -I/usr/include/dconf 
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
> -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid 
> -pthread   -I$W/UnoApiHeadersTarget/udkapi/normal 
> -I$W/UnoApiHeadersTarget/offapi/normal -freport-bug
> during GIMPLE pass: uninit
> /home/sbergman/lo2/core/configmgr/source/xcsparser.cxx: In member function 
> ‘void configmgr::XcsParser::handleProp(xmlreader::XmlReader&)’:
> /home/sbergman/lo2/core/configmgr/source/xcsparser.cxx:415:6: internal 
> compiler error: in init_from_control_deps, at 
> gimple-predicate-analysis.cc:1740
>   415 | void XcsParser::handleProp(xmlreader::XmlReader & reader) {
>       |      ^~~~~~~~~
> 0x94a678 predicate::init_from_control_deps(vec<edge_def*, va_heap, vl_ptr> 
> const*, unsigned int, bool)
>       ../../src/gcc/gimple-predicate-analysis.cc:1740
> 0x1f65eaf predicate::init_from_control_deps(vec<edge_def*, va_heap, vl_ptr> 
> const*, unsigned int, bool)
>       ../../src/gcc/gimple-predicate-analysis.cc:1715
> 0x1f65eaf uninit_analysis::init_use_preds(predicate&, basic_block_def*, 
> basic_block_def*)
>       ../../src/gcc/gimple-predicate-analysis.cc:1986
> 0x1f68fbf uninit_analysis::is_use_guarded(gimple*, basic_block_def*, gphi*, 
> unsigned int, hash_set<gphi*, false, default_hash_traits<gphi*> >*)
>       ../../src/gcc/gimple-predicate-analysis.cc:2136
> 0x1f695d8 uninit_analysis::is_use_guarded(gimple*, basic_block_def*, gphi*, 
> unsigned int)
>       ../../src/gcc/gimple-predicate-analysis.cc:2177
> 0x1409ccc find_uninit_use
>       ../../src/gcc/tree-ssa-uninit.cc:1238
> 0x140a5fe warn_uninitialized_phi
>       ../../src/gcc/tree-ssa-uninit.cc:1308
> 0x140a5fe execute_late_warn_uninitialized
>       ../../src/gcc/tree-ssa-uninit.cc:1429
> 0x140a5fe execute
>       ../../src/gcc/tree-ssa-uninit.cc:1446
> Please submit a full bug report, with preprocessed source.
> Please include the complete backtrace with any bug report.
> See <https://gcc.gnu.org/bugs/> for instructions.
> Preprocessed source stored into /tmp/ccFZ1yef.out file, please attach this to 
> your bugreport.

Reply via email to