The home of the ICU project source code.
Find a file
Fredrik Roubert 0da942bd52 ICU-20080 Avoid strange compiler behaviour in ASSERT_EQUAL() macro.
Using temporary variables for the two values to be compared here makes
GCC compile the code just like we expect it to. (What it really is that
it otherwise does on some architechtures remains a mystery.)

This will make the tests pass as expected also on IA-32 with GCC.

It'll also make it possible to revert the old workaround for SPARC
introduced by commit 5b0592af79.

Tested:

Linux gcc45 3.16.0-5-686-pae #1 SMP Debian 3.16.51-3+deb8u1 (2018-01-08) i686 GNU/Linux

Debian clang version 3.5.0-10 (tags/RELEASE_350/final) (based on LLVM 3.5.0)
g++ (Debian 4.9.2-10+deb8u1) 4.9.2

Linux gcc202 4.16.0-1-sparc64-smp #1 SMP Debian 4.16.5-1 (2018-04-29) sparc64 GNU/Linux

clang version 4.0.1-10+sparc64 (tags/RELEASE_401/final)
g++ (Debian 8.2.0-7) 8.2.0
2018-10-19 11:45:09 +02:00
.github ICU-20198 Add issue browse link to PR template. (#200) 2018-10-09 14:05:33 -05:00
icu4c ICU-20080 Avoid strange compiler behaviour in ASSERT_EQUAL() macro. 2018-10-19 11:45:09 +02:00
icu4j ICU-20205 RelativeDateTimeFormatter pt data fix, improved error handling and test. (#210) 2018-10-12 16:19:14 -07:00
tools ICU-20166 Adding commit-checker tool. 2018-10-17 15:58:40 -05:00
vendor/double-conversion ICU-20053 Adding back double-conversion .gitignore 2018-09-27 14:27:38 -07:00
.appveyor.yml ICU-20032 re-enable Travis (#10) 2018-09-27 14:27:37 -07:00
.cpyskip.txt ICU-20066 fixup .travis.yml (#160) 2018-09-27 14:27:41 -07:00
.gitattributes ICU-20017 Fix line endings in Visual Studio *.props files. (#101) 2018-09-27 14:27:39 -07:00
.gitignore ICU-8966 ICU-12850 add API/data/code for text layout properties InPC, InSC, vo (#92) 2018-09-27 14:27:39 -07:00
.travis.yml ICU-20120 Travis TSAN testing, limit time. (#198) 2018-10-05 20:24:45 -07:00
README.md ICU-20033 Add a top-level README.md (#11) 2018-09-27 14:27:37 -07:00

International Components for Unicode

This is the repository for the International Components for Unicode. The ICU project is under the stewardship of The Unicode Consortium.

ICU Logo

Build Status

Build Status
TravisCI Build Status
Win x64 Release Build status
Win x86 Release Build status

Subdirectories and Information

License

Please see ./icu4c/LICENSE (C and J are under an identical license file.)

Copyright © 2016 and later Unicode, Inc. and others. All Rights Reserved. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries. Terms of Use and License