https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82007
--- Comment #5 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- The ice is because we are not handling the case where the expreesion is type function vs character expression or character constant. I am thinking we need to simplify the expression before trying to use it.