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: [PATCH] PR19100: truthvalue_conversion vs. TREE_OVERFLOW (take3)


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


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