------- Comment #6 from dfranke at gcc dot gnu dot org 2010-05-09 12:59 ------- (In reply to comment #5) > Nonetheless, I also think that it is counter-intuitive. The least that could > be > done: add a warning (-Wconversion? -Wsurprising?) before converting the > case-expr, mentioning that at least one case-value has a kind larger than the > case-expressions kind, which thus can not be reached.
Suggested patch: http://gcc.gnu.org/ml/fortran/2010-05/msg00084.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31820