This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Improve handling of boolean conditions
- From: law at redhat dot com
- To: Richard Henderson <rth at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 10 Feb 2004 15:21:33 -0700
- Subject: Re: [tree-ssa] Improve handling of boolean conditions
- Reply-to: law at redhat dot com
In message <20040210083501.GB28138@redhat.com>, Richard Henderson writes:
>On Mon, Feb 09, 2004 at 08:13:54PM -0700, law@redhat.com wrote:
>> + && TREE_TYPE (op0) == boolean_type_node
>
>Direct pointer comparison is dangerous. Need either
>
> TREE_CODE (TREE_TYPE (op0)) == BOOLEAN_TYPE
I'll update the code to use this check shortly.
jeff