This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/23907] New: missing switch-case in function "gfc_simplify_radix" in gcc/fortran/simplify.c?
- From: "skyhover at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Sep 2005 00:16:26 -0000
- Subject: [Bug fortran/23907] New: missing switch-case in function "gfc_simplify_radix" in gcc/fortran/simplify.c?
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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