------- Comment #1 from burnus at gcc dot gnu dot org  2009-05-20 12:43 -------
The dump is the following. gfortran_select_string returns only 0, 1, or 2, but
the middle end does not know this.

Manuel, do you have an idea how to solve this?

    case_num.1 = _gfortran_select_string ((void *) &jumptable.0, 3, char, 1);
    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;
      }


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
  GCC build triplet|i686-pc-linux-gnu           |
   GCC host triplet|i686-pc-linux-gnu           |
 GCC target triplet|i686-pc-linux-gnu           |
   Last reconfirmed|0000-00-00 00:00:00         |2009-05-20 12:43:26
               date|                            |


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

Reply via email to