https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82250
--- Comment #10 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- (In reply to Tobias Burnus from comment #9) > Reopen as the patch has been reverted Not the whole commit, but only one small hunk of it was reverted -- where it's unclear why that was assumed to be necessary, see <https://inbox.sourceware.org/87bjzn83kw....@euler.schwinge.ddns.net> "Fortran: Use OpenACC's acc_on_device builtin, fix OpenMP' __builtin_is_initial_device: Revert 'gimple_fold_builtin_acc_on_device' change".