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

            Bug ID: 83170
           Summary: ice in verify_use with -O3
           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: ---

Created attachment 42722
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42722&action=edit
C++ source code

The attached C++ code, with recent gcc trunk, does this:

during GIMPLE pass: store-merging
bug399.cc: In member function ‘virtual ssize_t udp::UdpTransport::Read(void*,
si
ze_t)’:
bug399.cc:20661:9: internal compiler error: Segmentation fault
 ssize_t UdpTransport::Read(void* data, size_t length) {
         ^~~~~~~~~~~~
0xfe790f crash_signal
        ../../trunk/gcc/toplev.c:325
0x129879c verify_use
        ../../trunk/gcc/tree-ssa.c:864
0x129879c verify_ssa(bool, bool)
        ../../trunk/gcc/tree-ssa.c:1141
0xe65907 execute_function_todo
        ../../trunk/gcc/passes.c:2001

The bug seems to occur between revisions 254924 and 255154.
I'll have a go at reducing the code.

Reply via email to