This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/19937] [4.0 regression] Wrong loop exit
- From: "rakdver at atrey dot karlin dot mff dot cuni dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Feb 2005 07:03:18 -0000
- Subject: [Bug tree-optimization/19937] [4.0 regression] Wrong loop exit
- References: <20050213162215.19937.schwab@suse.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rakdver at atrey dot karlin dot mff dot cuni dot cz 2005-02-14 07:03 -------
Subject: Re: [4.0 regression] Wrong loop exit
> (In reply to comment #5)
> > http://gcc.gnu.org/ml/gcc-patches/2005-02/msg00657.html
>
> it may be worth noting that compare for equivelence/non-equivelence,
> is insensitive to the sign of equivelent rank integers, although relative
> (< >) compares are, but it does'nt seem that it's recognized when
> comparision operations are constructed?
I don't understand the comment. Comparisons constructed due to
may_eliminate_iv are always either EQ_EXPRs or NE_EXPRs. Comparing
directly with a value in a different type (regardless of what comparison
operator is used) is however always an invalid gimple.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19937