This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/46806] -O3 implies 0 <= 8 <= 7
- From: "cstankevitz at toyon dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 5 Dec 2010 23:47:36 +0000
- Subject: [Bug c++/46806] -O3 implies 0 <= 8 <= 7
- Auto-submitted: auto-generated
- References: <bug-46806-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46806
Chris Stankevitz <cstankevitz at toyon dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |INVALID
--- Comment #10 from Chris Stankevitz <cstankevitz at toyon dot com> 2010-12-05 23:47:19 UTC ---
> The comparisons are ok, with or without casts, I think the problem
> is this line:
> Value = static_cast<TEValue>(Eight);
I disagree because the problem exists even if that line is this more reasonable
statement:
Value = static_cast<TEValue>(eZero);