https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104827
kargls at comcast dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargls at comcast dot net
--- Comment #5 from kargls at comcast dot net ---
This appears to be fixed in that the ICE no longer occurs.
% cat z1.f90
program p
!$omp declare variant(a) match(implementation={f([1])})
end
% gfcx -o z -fopenmp z1.f90
z1.f90:2:53:
2 | !$omp declare variant(a) match(implementation={f([1])})
| 1
Error: Expected trait-property-extension at (1)
Have no idea if the error message is correct.
Note, z2.f90 now compiles with a warning.
% gfcx -o z -fopenmp z2.f90
z2.f90:2:52:
2 | !$omp declare variant(a) match(implementation={f(1)})
| 1
Warning: unknown selector 'f' for context selector set 'implementation' at (1)
-Wopenmp]