public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/107236] New: [OpenMP] ICE for reverse offload: in expand_GOMP_TARGET_REV, at internal-fn.cc:376
@ 2022-10-12 13:35 burnus at gcc dot gnu.org
  2022-10-12 13:47 ` [Bug middle-end/107236] " burnus at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: burnus at gcc dot gnu.org @ 2022-10-12 13:35 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107236
           Summary: [OpenMP] ICE for reverse offload: in
                    expand_GOMP_TARGET_REV, at internal-fn.cc:376
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, openmp
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org
  Target Milestone: ---

Created attachment 53696
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53696&action=edit
Testcase - compile as: gfortran -fopenmp test.f90

This only shows up if ENABLE_OFFLOADING is true during the GCC build.

The attached testcase fails with:

rev-test-ice.f90:5:33: internal compiler error: in expand_GOMP_TARGET_REV, at
internal-fn.cc:376
    5 |   !$omp target device(ancestor:1)
      |                                 ^
0x791309 expand_GOMP_TARGET_REV
       
/net/build1-fossa-cs/scratch/tburnus/fsf.mainline.x86_64-linux-gnu-amdgcn/src/gcc-mainline/gcc/internal-fn.cc:376
0xb2c147 expand_call_stmt

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-10-24 13:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-12 13:35 [Bug middle-end/107236] New: [OpenMP] ICE for reverse offload: in expand_GOMP_TARGET_REV, at internal-fn.cc:376 burnus at gcc dot gnu.org
2022-10-12 13:47 ` [Bug middle-end/107236] " burnus at gcc dot gnu.org
2022-10-24 13:20 ` cvs-commit at gcc dot gnu.org
2022-10-24 13:25 ` burnus at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).