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

Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2025-03-27
           Keywords|                            |openacc, openmp
     Ever confirmed|0                           |1
             Target|nvptx                       |GCN, nvptx
           Assignee|unassigned at gcc dot gnu.org      |tschwinge at gcc dot 
gnu.org
                 CC|                            |tschwinge at gcc dot gnu.org
             Status|UNCONFIRMED                 |ASSIGNED

--- Comment #10 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Indeed for '-O0' compilation, you currently need host-side '-fno-exceptions' to
prevent GCN as well as nvptx offloading compilation to fail with 'sorry,
unimplemented: exception handling not supported', which I'm aware we should
resolve properly.

With optimizations enabled, or '-O0 -fno-exceptions', this code now works with
(the upcoming) GCC 15: compiles, executes successfully (tested Nvidia GPU),
produces output (that I've not verified in detail, but have 'diff'ed to host
output: matches, apart from a few numeric differences for E-14 etc. numbers;
probably rounding differences).

Reply via email to