https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125377
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tobias Burnus <[email protected]>: https://gcc.gnu.org/g:64be1fa670a04c81d48dfdaa074d8bf8f935d746 commit r17-756-g64be1fa670a04c81d48dfdaa074d8bf8f935d746 Author: Tobias Burnus <[email protected]> Date: Mon May 25 13:13:46 2026 +0200 OpenMP: Fix omp_check_for_duplicate_variant [PR125377] Follow up to r16-5508-g77b8221af8fc82; seemingly, a testcase never got added - and the internal representation changed afther the code was written. At least the previous code ICE'd for the included testcase. PR c/125377 gcc/ChangeLog: * omp-general.cc (omp_check_for_duplicate_variant): Fix used tree for 'inform' part of the error message. gcc/testsuite/ChangeLog: * c-c++-common/gomp/begin-declare-variant-1.c: New test.
