[Bug hsa/69674] New: hsa offloading, -m32: "internal compiler error: in hsa_build_append_simple_mov"

tschwinge at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 4 16:38:00 GMT 2016


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

            Bug ID: 69674
           Summary: hsa offloading, -m32: "internal compiler error: in
                    hsa_build_append_simple_mov"
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Keywords: openmp
          Severity: minor
          Priority: P3
         Component: hsa
          Assignee: jamborm at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org, jamborm at gcc dot gnu.org
  Target Milestone: ---

With hsa offloading enabled (in addition to intelmic and nvptx offloading), as
of r232549 "Merge of HSA", I'm seeing the following libgomp test cases regress
in an x86_64 GNU/Linux configuration's -m32 multilib testing.  I understand
that hsa offloading is not supported for 32-bit configurations, but it still
shouldn't cause ICEs.

    [-PASS:-]{+FAIL: libgomp.c/for-3.c (internal compiler error)+}
    {+FAIL:+} libgomp.c/for-3.c (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} libgomp.c/for-3.c [-execution test-]{+compilation
failed to produce executable+}

    [-PASS:-]{+FAIL: libgomp.c/for-5.c (internal compiler error)+}
    {+FAIL:+} libgomp.c/for-5.c (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} libgomp.c/for-5.c [-execution test-]{+compilation
failed to produce executable+}

    [-PASS:-]{+FAIL: libgomp.c/for-6.c (internal compiler error)+}
    {+FAIL:+} libgomp.c/for-6.c (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} libgomp.c/for-6.c [-execution test-]{+compilation
failed to produce executable+}

    [-PASS:-]{+FAIL: libgomp.c++/for-11.C (internal compiler error)+}
    {+FAIL:+} libgomp.c++/for-11.C (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} libgomp.c++/for-11.C [-execution
test-]{+compilation failed to produce executable+}

    [-PASS:-]{+FAIL: libgomp.c++/for-13.C (internal compiler error)+}
    {+FAIL:+} libgomp.c++/for-13.C (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} libgomp.c++/for-13.C [-execution
test-]{+compilation failed to produce executable+}

    [-PASS:-]{+FAIL: libgomp.c++/for-14.C (internal compiler error)+}
    {+FAIL:+} libgomp.c++/for-14.C (test for excess errors)
    [-PASS:-]{+UNRESOLVED:+} libgomp.c++/for-14.C [-execution
test-]{+compilation failed to produce executable+}

    spawn [...]/build-gcc/gcc/xgcc -B[...]/build-gcc/gcc/
[...]/source-gcc/libgomp/testsuite/libgomp.c/for-3.c
-B[...]/build-gcc/x86_64-pc-linux-gnu/32/libgomp/
-B[...]/build-gcc/x86_64-pc-linux-gnu/32/libgomp/.libs
-I[...]/build-gcc/x86_64-pc-linux-gnu/32/libgomp
-I[...]/source-gcc/libgomp/testsuite/../../include
-I[...]/source-gcc/libgomp/testsuite/.. [...] -march=i486 [...] -fopenmp -O2
-std=gnu99 -L[...]/build-gcc/x86_64-pc-linux-gnu/32/libgomp/.libs -lm -m32 -o
./for-3.exe
    In file included from
[...]/source-gcc/libgomp/testsuite/libgomp.c/for-1.h:23:0,
                     from
[...]/source-gcc/libgomp/testsuite/libgomp.c/for-3.c:58:
    [...]/source-gcc/libgomp/testsuite/libgomp.c/for-2.h: In function
'f14_dpf_ds128_runtime._omp_fn.149.hsa.432':
    [...]/source-gcc/libgomp/testsuite/libgomp.c/for-2.h:201:9: internal
compiler error: in hsa_build_append_simple_mov, at hsa-gen.c:2272
    0x903933 hsa_build_append_simple_mov(hsa_op_reg*, hsa_op_base*, hsa_bb*)
            [...]/source-gcc/gcc/hsa-gen.c:2271
    0x914fa5 naive_process_phi
            [...]/source-gcc/gcc/hsa-regalloc.c:73
    0x914fa5 naive_outof_ssa
            [...]/source-gcc/gcc/hsa-regalloc.c:94
    0x914fa5 hsa_regalloc()
            [...]/source-gcc/gcc/hsa-regalloc.c:704
    0x912726 generate_hsa
            [...]/source-gcc/gcc/hsa-gen.c:6086
    0x912726 execute
            [...]/source-gcc/gcc/hsa-gen.c:6138

The other ICEs' backtraces are the same.

Are you able to reproduce this, or want me to supply more data?


More information about the Gcc-bugs mailing list