https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83146
--- Comment #2 from Neil Carlson ---
Turns out you don't need anything at all in the associate block to get an ICE:
type foo
integer n
end type
type bar
type(foo) array(2)
end type
type(bar) b
associate (n_array => b%array%n)
end associate
e
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83146
--- Comment #1 from Neil Carlson ---
I thought that assigning the select case expression to a temporary integer and
using that variable in the select case statement would be a workaround, but no.
You can put anything unrelated to the associate na