Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle Studio 12.5/12.6 constexpr assertion when compiling ICU 64.1

rwave2000Apr 10 2019 — edited May 6 2019

Oracle Studio 12.6 produces an Assertion in ../lnk/constexpr.cc when compiling ICU 64.1.

I have reduced it down to the following t.cpp:

static constexpr char16_t kFallbackPaddingString[] = u" ";

$ CC -V && CC -std=c++11 -c t.cpp

CC: Studio 12.6 Sun C++ 5.15 SunOS_i386 2017/05/30

>> Assertion:   (../lnk/constexpr.cc, line 875)

    while processing t.cpp at line 1.

Verified it doesn't fail with Oracle Studio 12.4 or gcc 4.8 .

Comments
Post Details
Added on Apr 10 2019
5 comments
684 views