Commit 4e910063 by Richard Guenther Committed by Richard Biener

fold-const.c (maybe_canonicalize_comparison): Fix code to match comment.

2006-10-28  Richard Guenther  <rguenther@suse.de>

	* fold-const.c (maybe_canonicalize_comparison): Fix code
	to match comment.

From-SVN: r118110
parent fb84c7a0
2006-10-28 Richard Guenther <rguenther@suse.de>
* fold-const.c (maybe_canonicalize_comparison): Fix code
to match comment.
2006-10-28 Uros Bizjak <uros@kss-loka.si>
* config/i386/i386.h (GENERAL_REGNO_P): Use STACK_POINTER_REGNUM.
......
......@@ -7855,7 +7855,7 @@ maybe_canonicalize_comparison (enum tree_code code, tree type,
but that causes problems elsewhere. */
if ((flag_wrapv || flag_trapv)
|| (TYPE_UNSIGNED (TREE_TYPE (arg0))
&& !POINTER_TYPE_P (TREE_TYPE (arg0))))
|| POINTER_TYPE_P (TREE_TYPE (arg0))))
return NULL_TREE;
/* Try canonicalization by simplifying arg0. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment