https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93863
Bug ID: 93863
Summary: internal compiler error: unhandled tree code in
region_model::get_lvalue_1: ‘integer_cst’
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: analyzer
Assignee: dmalcolm at gcc dot gnu.org
Reporter: cstratak at redhat dot com
Target Milestone: ---
After bug 93520 got fixed I retried the -fanalyzer flag with the CPython
sources from the master branch.
Getting a different error this time after the compilation has progressed a bit:
gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall
-fanalyzer -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter
-Wno-missing-field-initializers -Werror=implicit-function-declaration
-fvisibility=hidden -I./Include/internal -I. -I./Include -DPy_BUILD_CORE
-o Python/getargs.o Python/getargs.c
during IPA pass: analyzer
Python/getargs.c:2196:31: internal compiler error: unhandled tree code in
region_model::get_lvalue_1: ‘integer_cst’
2196 | current_arg = find_keyword(kwnames, kwstack, keyword);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccIfmkb2.out file, please attach this to
your bugreport.
make: *** [Makefile:1718: Python/getargs.o] Error 1