[Bug c++/126828] [16/17 Regression] internal compiler error related to the Eigen library

"pinskia at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126828

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
[apinski@xeond2 upstream-gcc-git]$ ~/upstream-gcc/bin/gcc t.cc
In file included from /opt/compiler-explorer/libs/eigen/vtrunk/Eigen/Core:375,
                 from /opt/compiler-explorer/libs/eigen/vtrunk/Eigen/Dense:13,
                 from /opt/compiler-explorer/libs/eigen/vtrunk/Eigen/Eigen:13,
                 from /app/example.cpp:2:
/opt/compiler-explorer/libs/eigen/vtrunk/Eigen/src/Core/Matrix.h: In
substitution of ‘template<class Type, int Size> using Eigen::Vector =
Eigen::Matrix<Type, Size, 1> [with Type = float; int Size = ((int)blocksize)]’:
/app/example.cpp:12:30:   required from here
/opt/compiler-explorer/libs/eigen/vtrunk/Eigen/src/Core/Matrix.h:525:7:
internal compiler error: Segmentation fault
0x2dea47f internal_error(char const*, ...)
       
/home/apinski/src/upstream-gcc-git/gcc/gcc/diagnostic-global-context.cc:787
0x1675bcf crash_signal
        /home/apinski/src/upstream-gcc-git/gcc/gcc/toplev.cc:325
0xcf7140 tree_check(tree_node*, char const*, int, char const*, tree_code)
        /home/apinski/src/upstream-gcc-git/gcc/gcc/tree.h:3830
0xcf7140 mark_use(tree_node*, bool, bool, unsigned long, bool)
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/expr.cc:179
0xbd4f09 convert_like_internal
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/call.cc:8966
0xbd5337 convert_like_internal
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/call.cc:9184
0xbd5337 convert_like_internal
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/call.cc:9184
0xbe4589 convert_like
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/call.cc:9520
0xbe4589 build_converted_constant_expr_internal
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/call.cc:5073
0xe55fad convert_nontype_argument
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/pt.cc:7827
0xe718dc convert_template_argument
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/pt.cc:9204
0xe6f582 coerce_template_parms(tree_node*, tree_node*, tree_node*, int, bool)
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/pt.cc:9691
0xe59aea lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*,
int)
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/pt.cc:10533
0xe5bf33 tsubst(tree_node*, tree_node*, int, tree_node*)
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/pt.cc:17355
0xe62987 tsubst_decl
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/pt.cc:16408
0xe7a8de instantiate_template(tree_node*, tree_node*, int)
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/pt.cc:23967
0xe7b023 instantiate_alias_template
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/pt.cc:24067
0xe593dc instantiate_alias_template
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/pt.cc:24048
0xe593dc lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*,
int)
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/pt.cc:10496
0xec9ef9 finish_template_type(tree_node*, tree_node*, int)
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/semantics.cc:4497
/home/apinski/upstream-gcc/libexec/gcc/x86_64-pc-linux-gnu/17.0.0/cc1plus
-quiet -D_GNU_SOURCE t.cc -quiet -dumpdir a- -dumpbase t.cc -dumpbase-ext .cc
-mtune=generic -march=x86-64 -o /tmp/cc7HmehD.s
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.