This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31820] Warning if case label value exceeds maximum value for type
- From: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Oct 2007 21:58:55 -0000
- Subject: [Bug fortran/31820] Warning if case label value exceeds maximum value for type
- References: <bug-31820-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from tobi at gcc dot gnu dot org 2007-10-04 21:58 -------
It should be sufficient to convert all case-selectors to the same kind as the
case-expression. We should then be giving exactly the same error as g95,
unless I'm missing something.
--
tobi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tobi at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31820