[Bug fortran/23907] New: missing switch-case in function "gfc_simplify_radix" in gcc/fortran/simplify.c?

skyhover at hotmail dot com gcc-bugzilla@gcc.gnu.org
Fri Sep 16 00:16:00 GMT 2005


We noticed the function has no switch case for "BT_COMPLEX" by similarity check  
against other functions such as "gfc_simplify_range" in the same file. I think 
it's reasonable for a complex to have a radix. So one "case BT_COMPLEX:" may be 
needed just after "case BT_REAL:" at line 2513. Could you please inspect my 
observations? 
 
I also have similar doubts on functions "gfc_simplify_dim", 
"gfc_simplify_huge", "gfc_simplify_sign", and etc. 
 
Thanks a lot.

-- 
           Summary: missing switch-case in function "gfc_simplify_radix" in
                    gcc/fortran/simplify.c?
           Product: gcc
           Version: 4.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: skyhover at hotmail dot com
                CC: gcc-bugs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list