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

            Bug ID: 83734
           Summary: ice in cxx_eval _statement_list, at
                    cp/constexpr.c:3869
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

For the file gcc/testsuite/g++.dg/cpp0x/constexpr-type-decl1.C,
when compiled by flags -g -O2, does this:

./g++.dg/cpp0x/constexpr-type-decl1.C:53:4:   in ‘constexpr’ expansion of
‘s1.S1
::S1()’
./g++.dg/cpp0x/constexpr-type-decl1.C:53:4: internal compiler error: in
cxx_eval
_statement_list, at cp/constexpr.c:3869
 S1 s1;
    ^~
0x5a9dd2 cxx_eval_statement_list
        ../../trunk/gcc/cp/constexpr.c:3869
0x5a9dd2 cxx_eval_constant_expression
        ../../trunk/gcc/cp/constexpr.c:4598
0x949ca0 cxx_eval_constant_expression
        ../../trunk/gcc/cp/constexpr.c:4602

This bug seems to have been introduced between revision 255605 and 255660.

Reply via email to