diff options
author | Jakub Jelinek <jakub@redhat.com> | 2012-12-13 14:28:54 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2012-12-13 14:28:54 +0100 |
commit | a8f986e9566162aeefce63968dbad53e183c416d (patch) | |
tree | 2b8d909a99e2ca202c7c653005b1dec252bde7c4 /gcc | |
parent | de137957bda4e1bc1c778dd3ce43e6aeede8d306 (diff) | |
download | gcc-a8f986e9566162aeefce63968dbad53e183c416d.zip gcc-a8f986e9566162aeefce63968dbad53e183c416d.tar.gz gcc-a8f986e9566162aeefce63968dbad53e183c416d.tar.bz2 |
tree-ssa-threadedge.c (propagate_threaded_block_debug_into): Avoid -Wsign-compare warning.
* tree-ssa-threadedge.c (propagate_threaded_block_debug_into): Avoid
-Wsign-compare warning.
From-SVN: r194476
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-ssa-threadedge.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3643df5..5afa5c8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-12-13 Jakub Jelinek <jakub@redhat.com> + + * tree-ssa-threadedge.c (propagate_threaded_block_debug_into): Avoid + -Wsign-compare warning. + 2012-12-13 Richard Biener <rguenther@suse.de> PR lto/55660 diff --git a/gcc/tree-ssa-threadedge.c b/gcc/tree-ssa-threadedge.c index 88c3f26..36c3cc7 100644 --- a/gcc/tree-ssa-threadedge.c +++ b/gcc/tree-ssa-threadedge.c @@ -713,7 +713,7 @@ propagate_threaded_block_debug_into (basic_block dest, basic_block src) if (i >= 0) continue; - if (fewvars.length () < alloc_count) + if (fewvars.length () < (unsigned) alloc_count) fewvars.quick_push (var); else { |