aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2013-11-26 22:28:26 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2013-11-26 22:28:26 +0100
commit70ec86ee185d7527b392739bf72a0f37410ed0b4 (patch)
tree79a8b5d238d8b0b72c417cadb8c7511debb7dac4 /gcc/builtins.c
parent13a5b41c7da58117719d5b29dd18cb0ca5807cfe (diff)
downloadgcc-70ec86ee185d7527b392739bf72a0f37410ed0b4.zip
gcc-70ec86ee185d7527b392739bf72a0f37410ed0b4.tar.gz
gcc-70ec86ee185d7527b392739bf72a0f37410ed0b4.tar.bz2
re PR target/59229 (ICE in ix86_expand_set_or_movmem)
PR target/59229 * config/i386/i386.c (device_alg): Fix up formatting. (ix86_expand_set_or_movmem): Handle max_size < epilogue_size_needed similarly to count && count < epilogue_size_needed. Fix up comment typo. * builtins.c (determine_block_size): Fix comment typo. * gcc.c-torture/execute/pr59229.c: New test. From-SVN: r205416
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r--gcc/builtins.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 912c14c..3f03b01 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -3142,7 +3142,7 @@ determine_block_size (tree len, rtx len_rtx,
}
else if (range_type == VR_ANTI_RANGE)
{
- /* Anti range 0...N lets us to determine minmal size to N+1. */
+ /* Anti range 0...N lets us to determine minimal size to N+1. */
if (min.is_zero ())
{
if ((max + double_int_one).fits_uhwi ())
@@ -3152,7 +3152,7 @@ determine_block_size (tree len, rtx len_rtx,
int n;
if (n < 100)
- memcpy (a,b, n)
+ memcpy (a, b, n)
Produce anti range allowing negative values of N. We still
can use the information and make a guess that N is not negative.