This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/40206] [gfortran] Incorrect warning with -Wuninitialized
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 May 2009 14:14:03 -0000
- Subject: [Bug fortran/40206] [gfortran] Incorrect warning with -Wuninitialized
- References: <bug-40206-2736@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from rguenth at gcc dot gnu dot org 2009-05-20 14:14 -------
The FE should use a default label for the last case in the switch stmt.
I also think the FE does premature optimization here, but ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40206