[Bug c++/101343] New: ICE in tsubst_copy, at cp/pt.c:15732
tim at ngus dot net
gcc-bugzilla@gcc.gnu.org
Tue Jul 6 13:02:11 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101343
Bug ID: 101343
Summary: ICE in tsubst_copy, at cp/pt.c:15732
Product: gcc
Version: 9.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: tim at ngus dot net
Target Milestone: ---
* the exact version of GCC;
$ g++-9 --version
g++-9 (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* the system type;
See above.
* the options given when GCC was configured/built;
Don't know how to get those.
* the complete command line that triggers the bug;
/usr/bin/g++-9 -DAPP_MAJOR_VERSION=1 -DAPP_MINOR_VERSION=0
-DAPP_URI=\"app.graphia\" -DBPLOG_MINIMUM_SEVERITY=SEVERITY_CRITICAL
-DCOPYRIGHT="\"(c) 2013-2021 Graphia Technologies Ltd.\""
-DCRYPTOPP_DISABLE_ASM -DPRODUCT_NAME=\"Graphia\" -DQCUSTOMPLOT_USE_LIBRARY
-DQCUSTOMPLOT_USE_OPENGL -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS
-DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_OPENGLEXTENSIONS_LIB
-DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB -DQT_QMLMODELS_LIB -DQT_QML_DEBUG
-DQT_QML_LIB -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB
-DSOURCE_DIR=\"/home/tim/sources/graphia/source/app\"
-DVERSION=\"dev-1490-gf6acac04-gha-restructure\" -D_DEBUG
-D__STDC_FORMAT_MACROS -Isource/app -I/home/tim/sources/graphia/source/app
-Isource/app/Graphia_autogen/include -I/home/tim/sources/graphia/source
-isystem /home/tim/sources/graphia/source/thirdparty -isystem
/home/tim/sources/graphia/source/thirdparty/blaze -isystem
/home/tim/sources/graphia/source/thirdparty/boost/spirit -isystem
/home/tim/sources/graphia/source/thirdparty/json -isystem
/home/tim/sources/graphia/source/thirdparty/hdf5 -isystem
/home/tim/sources/graphia/source/thirdparty/matio -isystem
/home/tim/sources/graphia/source/thirdparty/zlib -isystem
/home/tim/sources/graphia/source/thirdparty/qcustomplot -isystem
/home/tim/sources/graphia/source/thirdparty/breakpad/src -isystem
/home/tim/sdks/Qt/5.14.2/gcc_64/include -isystem
/home/tim/sdks/Qt/5.14.2/gcc_64/include/QtCore -isystem
/home/tim/sdks/Qt/5.14.2/gcc_64/./mkspecs/linux-g++ -isystem
/home/tim/sdks/Qt/5.14.2/gcc_64/include/QtQml -isystem
/home/tim/sdks/Qt/5.14.2/gcc_64/include/QtNetwork -isystem
/home/tim/sdks/Qt/5.14.2/gcc_64/include/QtWidgets -isystem
/home/tim/sdks/Qt/5.14.2/gcc_64/include/QtGui -isystem
/home/tim/sdks/Qt/5.14.2/gcc_64/include/QtQuick -isystem
/home/tim/sdks/Qt/5.14.2/gcc_64/include/QtQmlModels -isystem
/home/tim/sdks/Qt/5.14.2/gcc_64/include/QtPrintSupport -isystem
/home/tim/sdks/Qt/5.14.2/gcc_64/include/QtXml -isystem
/home/tim/sdks/Qt/5.14.2/gcc_64/include/QtOpenGL -isystem
/home/tim/sdks/Qt/5.14.2/gcc_64/include/QtOpenGLExtensions -isystem
/home/tim/sdks/Qt/5.14.2/gcc_64/include/QtSvg -Wpedantic -Wall -Wextra
-Wcast-align -Wcast-qual -Wdisabled-optimization -Wformat=2 -Winit-self
-Wmissing-include-dirs -Wold-style-cast -Woverloaded-virtual
-Wnon-virtual-dtor -Wredundant-decls -Wshadow -funroll-loops -Wlogical-op
-Wstrict-null-sentinel -Wdouble-promotion
-DBUILD_SOURCE_DIR=\"/home/tim/sources/graphia\" -g -g -fPIC -pthread
-std=gnu++17 -MD -MT source/app/CMakeFiles/Graphia.dir/graph/graphmodel.cpp.o
-MF source/app/CMakeFiles/Graphia.dir/graph/graphmodel.cpp.o.d -o
source/app/CMakeFiles/Graphia.dir/graph/graphmodel.cpp.o -c
/home/tim/sources/graphia/source/app/graph/graphmodel.cpp -save-temps
* the compiler output (error messages, warnings, etc.); and
In file included from
/home/tim/sources/graphia/source/app/graph/graphmodel.cpp:60:
/home/tim/sources/graphia/source/app/ui/visualisations/visualisationbuilder.h:
In instantiation of ‘void VisualisationsBuilder<ElementId>::build(const
Attribute&, const VisualisationChannel&, const VisualisationConfig&, int,
VisualisationInfo&) [with ElementId = NodeId]’:
/home/tim/sources/graphia/source/app/graph/graphmodel.cpp:738:98: required
from here
/home/tim/sources/graphia/source/app/ui/visualisations/visualisationbuilder.h:179:90:
internal compiler error: in tsubst_copy, at cp/pt.c:15732
179 | config.parameterValue(QStringLiteral("mapping")));
|
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-9/README.Bugs> for instructions.
* the preprocessed file (*.i*) that triggers the bug, generated by
adding -save-temps to the complete compilation command, or, in
the case of a bug report for the GNAT front end, a complete set
of source files (see below).
https://drive.google.com/file/d/1Y6tBZzV-EBI5olHt0sdMdf04TavFfRvY/view?usp=sharing
More information about the Gcc-bugs
mailing list