This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/35464] "warning: condition is always False" not issued inside generics
- From: "sam at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Mar 2008 08:38:07 -0000
- Subject: [Bug ada/35464] "warning: condition is always False" not issued inside generics
- References: <bug-35464-286@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from sam at gcc dot gnu dot org 2008-03-05 08:38 -------
Also note that for the same reason, you will not get a warning from an inlined
body. See sem_warn.adb (Warn_On_Known_Condition).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35464