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

            Bug ID: 80967
           Summary: ICE in tsubst_decomp_names, at cp/pt.c:15660
           Product: gcc
           Version: c++-concepts
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ryan.burn at gmail dot com
  Target Milestone: ---

Created attachment 41466
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41466&action=edit
preprocessed code

Running with trunk:
g++ (GCC) 7.0.1 20170408 (experimental)
to reproduce run attached file with
g++ -std=c++1z -fconcepts bug.cpp

This is the full output:

/Users/rnickb/proj/satyr/linear_algebra/test/test_blas_lapack.cpp:17:24:  
required from ‘void test_product(const A&, const X&) [with A =
satyr::n_array<double, 2, satyr::symmetric_structure>; X =
satyr::n_array<double, 1, satyr::general_structure>]’
/Users/rnickb/proj/satyr/linear_algebra/test/test_blas_lapack.cpp:56:20:  
required from here
/Users/rnickb/proj/satyr/linear_algebra/include/satyr/linear_algebra/matrix_accessor.h:19:10:
internal compiler error: in tsubst_decomp_names, at cp/pt.c:15660
     auto [s, t] = std::minmax(i, j);
          ^~~~~~

/Users/rnickb/proj/satyr/linear_algebra/include/satyr/linear_algebra/matrix_accessor.h:19:10:
internal compiler error: Abort trap: 6
g++: internal compiler error: Abort trap: 6 (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
MacBook-Pro-3:structbind rnickb$ ls
bug.cpp.bz2     main.cpp

Reply via email to