------- Comment #5 from burnus at gcc dot gnu dot org  2009-05-20 13:40 -------
    switch (case_num.1)
      {
        case 1 ... 1:;
        case 2 ... 2:;
        __result_char2type = 1;
        goto L.1;
        case 0 ... 0:;
        __result_char2type = -1234;
        goto L.1;
      }

Wouldn't this solved by adding a "default:" as C does for "default:" ?

> In addition, why gfortran does not name the variable char2type?

Good question. it clashes with the name of the function, but I don't know
whether that is a problem or not. In any case: you are right, it makes
debugging harder ...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40206

Reply via email to