diff options
author | Richard Guenther <rguenther@suse.de> | 2007-05-30 14:11:06 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2007-05-30 14:11:06 +0000 |
commit | fa13976560a8ae33802927ed3e607d01e96e7cfa (patch) | |
tree | 38252a4dbdfe3f79cc10bd5574226330baaa645c /gcc/fold-const.c | |
parent | 722ba5eeacaeaf2c913d74f5d17b5e8ab9f04d37 (diff) | |
download | gcc-fa13976560a8ae33802927ed3e607d01e96e7cfa.zip gcc-fa13976560a8ae33802927ed3e607d01e96e7cfa.tar.gz gcc-fa13976560a8ae33802927ed3e607d01e96e7cfa.tar.bz2 |
re PR middle-end/32152 (omp lowering creates mismatched types)
2007-05-30 Richard Guenther <rguenther@suse.de>
PR middle-end/32152
* gimplify.c (gimplify_omp_atomic_pipeline): Use correct
types for comparison.
* fold-const.c (fold_comparison): Call maybe_canonicalize_comparison
with original typed arguments.
* config/i386/i386.c (ix86_gimplify_va_arg): Fix type mismatches.
From-SVN: r125187
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 01ce961..af48916 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -8542,7 +8542,7 @@ fold_comparison (enum tree_code code, tree type, tree op0, tree op1) return fold_build2 (cmp_code, type, variable1, const2); } - tem = maybe_canonicalize_comparison (code, type, arg0, arg1); + tem = maybe_canonicalize_comparison (code, type, op0, op1); if (tem) return tem; |