diff options
author | Richard Guenther <rguenther@suse.de> | 2006-10-28 20:36:54 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2006-10-28 20:36:54 +0000 |
commit | 4e9100638e0e96826dbe51a32c6f45eef54c1630 (patch) | |
tree | 68ab2476f92f8b804100c759287422d70dde0f91 /gcc/fold-const.c | |
parent | fb84c7a05b9369c84dea53fb5f57e7c0f75c4c9c (diff) | |
download | gcc-4e9100638e0e96826dbe51a32c6f45eef54c1630.zip gcc-4e9100638e0e96826dbe51a32c6f45eef54c1630.tar.gz gcc-4e9100638e0e96826dbe51a32c6f45eef54c1630.tar.bz2 |
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
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 32e64c9..8e3c97a 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -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. */ |