This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tree-ssa] Improve handling of boolean conditions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]