diff options
author | obrien <obrien@FreeBSD.org> | 2000-01-22 02:59:08 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-01-22 02:59:08 +0000 |
commit | 19e1413b5dc797995ed95bbd6ca6e3035103d982 (patch) | |
tree | 42c6ebe0872fe26c06d5ea952dadd4bcfa2e1fc2 /contrib/gcc/fold-const.c | |
parent | 06f3b914490df649b3b51002ca3211b12d1d0426 (diff) | |
download | FreeBSD-src-19e1413b5dc797995ed95bbd6ca6e3035103d982.zip FreeBSD-src-19e1413b5dc797995ed95bbd6ca6e3035103d982.tar.gz |
Bring in bug fixes from the GCC anoncvs server's "gcc-2_95-branch"
branch on Jan 20th, 2000.
Diffstat (limited to 'contrib/gcc/fold-const.c')
-rw-r--r-- | contrib/gcc/fold-const.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc/fold-const.c b/contrib/gcc/fold-const.c index 55dcf9b..cbd004e 100644 --- a/contrib/gcc/fold-const.c +++ b/contrib/gcc/fold-const.c @@ -2131,7 +2131,7 @@ operand_equal_p (arg0, arg1, only_const) case STRING_CST: return (TREE_STRING_LENGTH (arg0) == TREE_STRING_LENGTH (arg1) - && ! strncmp (TREE_STRING_POINTER (arg0), + && ! memcmp (TREE_STRING_POINTER (arg0), TREE_STRING_POINTER (arg1), TREE_STRING_LENGTH (arg0))); |