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

            Bug ID: 71698
           Summary: ICE related to decimal float when compiling with
                    -mcpu=power9
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: acsawdey at gcc dot gnu.org
                CC: dje at watson dot ibm.com, segher at gcc dot gnu.org,
                    wschmidt at linux dot vnet.ibm.com
  Target Milestone: ---

There are a number of these that fell out when running a make check with
-mcpu=power9. The common pattern seems to involve decimal float and looks like
this:

Executing on host: /home/sawdey/src/gcc/build-regtest/gcc/xgcc
-B/home/sawdey/src/gcc/build-regtest/gcc/  -mcpu=power9 -Wl,-rpath=/tmp/lib64
-fno-diagnostics-show-caret -fdiagnostics-color=never    -c -o c_compa
t_x_tst.o
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/gcc.dg/compat//scalar-by-value-dfp_x.c
   (timeout = 3600)
spawn /home/sawdey/src/gcc/build-regtest/gcc/xgcc
-B/home/sawdey/src/gcc/build-regtest/gcc/ -mcpu=power9 -Wl,-rpath=/tmp/lib64
-fno-diagnostics-show-caret -fdiagnostics-color=never -c -o c_compat_x_tst.o
/home/s
awdey/src/gcc/trunk/gcc/gcc/testsuite/gcc.dg/compat//scalar-by-value-dfp_x.c
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/gcc.dg/compat//scalar-by-value-dfp_x.c:
In function 'testitd128':
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/gcc.dg/compat//scalar-by-value-dfp_x.c:149:1:
internal compiler error: Segmentation fault
0x108b93f3 crash_signal
        ../../trunk/gcc/gcc/toplev.c:335
0x1047445c mark_label_nuses
        ../../trunk/gcc/gcc/emit-rtl.c:3612
0x1047456f mark_label_nuses
        ../../trunk/gcc/gcc/emit-rtl.c:3620
0x1047eaeb try_split(rtx_def*, rtx_insn*, int)
        ../../trunk/gcc/gcc/emit-rtl.c:3809
0x107efe97 split_insn
        ../../trunk/gcc/gcc/recog.c:2887
0x107f7357 split_all_insns_noflow()
        ../../trunk/gcc/gcc/recog.c:3026
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

testsuite/gcc.dg/compat//scalar-return-dfp_x.c:88:1

In file included from
/home/sawdey/src/gcc/build-regtest/gcc/testsuite/gcc/gcc.dg-struct-layout-1//t001_y.c:8:0:
/home/sawdey/src/gcc/build-regtest/gcc/testsuite/gcc/gcc.dg-struct-layout-1//t001_test.h:
In function 'check5':
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/gcc.dg/compat/struct-layout-1_y1.h:48:8:
internal compiler error: Segmentation fault
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/gcc.dg/compat/struct-layout-1.h:777:27:
note: in expansion of macro 'TX'
/home/sawdey/src/gcc/build-regtest/gcc/testsuite/gcc/gcc.dg-struct-layout-1//t001_test.h:6:1:
note: in expansion of macro 'T'

In file included from
/home/sawdey/src/gcc/build-regtest/gcc/testsuite/gcc/gcc.dg-struct-layout-1//t002_y.c:8:0:
/home/sawdey/src/gcc/build-regtest/gcc/testsuite/gcc/gcc.dg-struct-layout-1//t002_test.h:
In function 'check351':
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/gcc.dg/compat/struct-layout-1_y1.h:48:8:
internal compiler error: Segmentation fault
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/gcc.dg/compat/struct-layout-1.h:777:27:
note: in expansion of macro 'TX'
/home/sawdey/src/gcc/build-regtest/gcc/testsuite/gcc/gcc.dg-struct-layout-1//t002_test.h:52:1:
note: in expansion of macro 'T'

In file included from
/home/sawdey/src/gcc/build-regtest/gcc/testsuite/gcc/gcc.dg-struct-layout-1//t028_y.c:8:0:
/home/sawdey/src/gcc/build-regtest/gcc/testsuite/gcc/gcc.dg-struct-layout-1//t028_test.h:
In function 'check2828':
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/gcc.dg/compat/struct-layout-1_y1.h:48:8:
internal compiler error: Segmentation fault
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/gcc.dg/compat/struct-layout-1.h:777:27:
note: in expansion of macro 'TX'
/home/sawdey/src/gcc/build-regtest/gcc/testsuite/gcc/gcc.dg-struct-layout-1//t028_test.h:29:1:
note: in expansion of macro 'T'

/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/c-c++-common/dfp/func-vararg-dfp.c:95:1

/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/c-c++-common/dfp/func-vararg-mixed.c:102:1

/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/c-c++-common/dfp/pr36800.c:32:1

/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/g++.dg/compat/decimal//pass_x.h:
In function 'void testitd128()':
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/g++.dg/compat/decimal//pass_x.h:145:1:
internal compiler error: Segmentation fault
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/g++.dg/compat/decimal//pass_x.h:149:1:
note: in expansion of macro 'T'

In file included from
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/g++.dg/compat/decimal//pass-2_x.C:1:0:
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/g++.dg/compat/decimal//decimal-dummy.h:
In function 'std::decimal::decimal128
std::decimal::operator+(std::decimal::decimal128, std::decimal::decimal128)':
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/g++.dg/compat/decimal//decimal-dummy.h:50:3:
internal compiler error: Segmentation fault

In file included from
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/g++.dg/compat/decimal//pass-2_y.C:1:0:
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/g++.dg/compat/decimal//decimal-dummy.h:
In function 'std::decimal::decimal128
std::decimal::operator+(std::decimal::decimal128, std::decimal::decimal128)':
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/g++.dg/compat/decimal//decimal-dummy.h:50:3:
internal compiler error: Segmentation fault

In file included from
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/g++.dg/compat/decimal//pass-3_x.C:5:0:
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/g++.dg/compat/decimal//pass_x.h:
In function 'void testitd128()':
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/g++.dg/compat/decimal//pass_x.h:145:1:
internal compiler error: Segmentation fault
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/g++.dg/compat/decimal//pass_x.h:149:1:
note: in expansion of macro 'T'

In file included from
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/g++.dg/compat/decimal//pass-3_y.C:1:0:
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/g++.dg/compat/decimal//decimal-dummy.h:
In function 'std::decimal::decimal128
std::decimal::operator+(std::decimal::decimal128, std::decimal::decimal128)':
/home/sawdey/src/gcc/trunk/gcc/gcc/testsuite/g++.dg/compat/decimal//decimal-dummy.h:50:3:
internal compiler error: Segmentation fault
0

Reply via email to