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

            Bug ID: 71244
           Summary: ice in zero_one_operation, at tree-ssa-reassoc.c:1230
           Product: gcc
           Version: 7.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 38546
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38546&action=edit
gzipped C++ source code

The attached source code, when compiled by today's gcc trunk and
using flags -O2 -ffast-math, does this:

In file included from Lgamma.cc:24:0:
../include/Lgamma.h: In function ‘ttype cfrac_GAMMA(ttype, ttype, ttype, bool)
[with ttype = std::complex<double>]’:
../include/Lgamma.h:337:7: internal compiler error: in zero_one_operation, at
tree-ssa-reassoc.c:1230
0xef6351 zero_one_operation
        ../../src/trunk/gcc/tree-ssa-reassoc.c:1229
0xefddd1 undistribute_ops_list
        ../../src/trunk/gcc/tree-ssa-reassoc.c:1583
0xefe9fc reassociate_bb
        ../../src/trunk/gcc/tree-ssa-reassoc.c:5199
0xefe657 reassociate_bb
        ../../src/trunk/gcc/tree-ssa-reassoc.c:5325

Reply via email to