This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix middle-end/17767
- From: Roger Sayle <roger at eyesopen dot com>
- To: Uros Bizjak <uros at kss-loka dot si>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 4 Jan 2005 05:59:07 -0700 (MST)
- Subject: Re: Fix middle-end/17767
On Tue, 4 Jan 2005, Uros Bizjak wrote:
> 2005-01-04 Uros Bizjak <uros@kss-loka.si>
>
> PR target/17767
> * cse.c (fold_rtx) [RTX_COMPARE, RTX_COMM_COMPARE]: Handle
> vector modes for (const_arg0 == 0 || const_arg1 == 0). Calculate
> true and false value for vector modes. Use VECTOR_STORE_FLAG_VALUE
> macro to calcuate true value.
> skip_vector_modes: new label.
> * simplify-rtx.c (simplify_relational_operation): Fix variable name.
>
The obvious typo correction to simplify_relational_operation is OK for
mainline.
I agree with RTH that a better solution to PR middle-end/17767 would
be to correctly implement vector comparisons in both fold_rtx and
simplify_relational_operation_1 (perhaps in addition to a change like
yours above).
Roger
--