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

            Bug ID: 66982
           Summary: Internal compiler error: Segmentation fault in C++14
                    code (followup of #65973)
           Product: gcc
           Version: 5.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: philipp.classen at gmx dot net
  Target Milestone: ---

Created attachment 36045
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36045&action=edit
gzipped output of "-freport-bug"

Bug #65973 solved one C++14 internal compiler error. That is good news, but my
program still crashes when compiling it with gcc 5.2.0:

g++ -freport-bug -DHAVE_CONFIG_H -I.  -Wall -Wfatal-errors -Wextra
-Wno-type-limits -Wstrict-aliasing -Wvla -Wdisabled-optimization
-Wdouble-promotion  -pipe  --std=c++14 -D
EXTENDED_PARALLEL_LOGGING__DEPENDS_ON_TARGET__  -DUSE_TABLEBASES
-DUSE_NALIMOV_TABLEBASES    -DUSE_BITBASES -DUSE_SINGLE_PAWN_BITBASES
-DUSE_TWO_PAWNS_BITBASES -DUSE_RAMMED_PAWNS_BITBASES     -g3
-DAVOID_EXPENSIVE_DEBUG_OPTIONS   -I gmock-bundle/include -I
gmock-bundle/gtest/include -g  -MT fastdebug-bitbases.o -MD -MP -MF
.deps/fastdebug-bitbases.Tpo -c -o fastdebug-bitbases.o `test -f 'bitbases.cpp'
|| echo './'`bitbases.cpp

In file included from bitbases.cpp:6:0:
constants.h:247:10:   in constexpr expansion of ‘SQ_MASK(0)’
constants.h:248:55: internal compiler error: Segmentation fault
   SQ_MASK(A5) | SQ_MASK(A6) | SQ_MASK(A7) | SQ_MASK(A8);

Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
Preprocessed source stored into /tmp/ccpYk9IH.out file, please attach this to
your bugreport.

Reply via email to