This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/12150] [3.3/3.4 regression] warning in dead code (comparison is always false) [regression]
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Sep 2003 16:41:00 -0000
- Subject: [Bug c/12150] [3.3/3.4 regression] warning in dead code (comparison is always false) [regression]
- References: <20030903084134.12150.mattias@virtutech.se>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12150
------- Additional Comments From bangerth at dealii dot org 2003-09-03 16:40 -------
>From a user perspective, it's certainly irrelevant where exactly the warning comes from.
I understand that it will be hard to fix this, though.
What exactly is the reason that older compilers didn't warn? Did the just not notice
the condition, or did they have a way to figure out that this was dead code?
W.