This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR19100: truthvalue_conversion vs. TREE_OVERFLOW (take3)
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 02 Jan 2005 19:05:30 -0800
- Subject: Re: [PATCH] PR19100: truthvalue_conversion vs. TREE_OVERFLOW (take3)
- Organization: CodeSourcery, LLC
- References: <Pine.LNX.4.44.0501011815410.11203-100000@www.eyesopen.com>
Roger Sayle wrote:
As described above, I'd also like to apply the truthvalue_conversion fixes
described at http://gcc.gnu.org/ml/gcc-patches/2004-12/msg01657.html
Ok for mainline too?
Thanks for the memory analysis. I agree that it's negligble. I also
agree that stomping on the node type is wrong.
If I understand correctly, you're saying that for something like:
if (__builtin_isgreater (x, y))
the tree generated for the expansion of __builtin_isgreater has type
"int", even though it is a TRUTH_*_EXPR. I guess that's reasonable.
Patch OK, thanks.
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304