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

--- Comment #11 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Just FYI without directly validity:

clang++ (since 11.0 and up to main) accepts the attached testcase (comment 0 /
attachment 60417)

* * *

Cross ref [vaguely related; C++ return-value + templates with OpenMP variant
resolving]:
- recently fixed: PR118486 (return-type related fix: rejects valid + invalid w/
bogus diagostic), r15-4799-gf011f890818 (fix ref-returning funcs, minor follow
up: r15-4801-gf7ae087ef01)
- the commit under discussion in comment 5, r15-6707-gdd3f3c71df66ed
- Unresolved: PR118530, PR118488, PR112810 (old, non-OpenMP)
- OpenMP spec Issue 4446 (generic ideas, but rather vague; private issue)

Reply via email to