This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]