mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-7039 Enable optimization for C++ files using GCC.
X-SVN-Rev: 26455
This commit is contained in:
parent
0b176ddfb3
commit
d8554576c2
2 changed files with 2 additions and 2 deletions
|
@ -4047,7 +4047,7 @@ UnicodeString::extract(int32_t start,
|
|||
|
||||
{
|
||||
// This dstSize value will be checked explicitly
|
||||
return extract(start, _length, dst, dst!=0 ? 0xffffffff : 0, codepage);
|
||||
return extract(start, _length, dst, dst!=0 ? ((dst >= ((size_t)-1) - UINT32_MAX) ? (((char*)UINT32_MAX) - dst) : UINT32_MAX) : 0, codepage);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -326,7 +326,7 @@ then
|
|||
then
|
||||
case $CXX in
|
||||
g++|*/g++|*-g++-*|*/*-g++-*)
|
||||
RELEASE_CXXFLAGS=-O
|
||||
RELEASE_CXXFLAGS=-O3
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue