OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* collect2.c (main, write_c_file_stat), gcc.c (translate_options,
[pf3gnuchains/gcc-fork.git]
/
gcc
/
cp
/
method.c
diff --git
a/gcc/cp/method.c
b/gcc/cp/method.c
index
c389748
..
532e451
100644
(file)
--- a/
gcc/cp/method.c
+++ b/
gcc/cp/method.c
@@
-770,7
+770,7
@@
build_overload_value (type, value, flags)
else
{
REAL_VALUE_TO_DECIMAL (val, "%.20e", bufp);
else
{
REAL_VALUE_TO_DECIMAL (val, "%.20e", bufp);
- bufp = (char *)
index
(bufp, 'e');
+ bufp = (char *)
strchr
(bufp, 'e');
if (!bufp)
strcat (digit_buffer, "e0");
else
if (!bufp)
strcat (digit_buffer, "e0");
else
@@
-799,7
+799,7
@@
build_overload_value (type, value, flags)
}
}
#ifdef NO_DOT_IN_LABEL
}
}
#ifdef NO_DOT_IN_LABEL
- bufp = (char *)
index
(bufp, '.');
+ bufp = (char *)
strchr
(bufp, '.');
if (bufp)
*bufp = '_';
#endif
if (bufp)
*bufp = '_';
#endif