Forum Stats

  • 3,827,149 Users
  • 2,260,746 Discussions
  • 7,897,182 Comments

Discussions

Oracle Studio 12.5/12.6 constexpr assertion when compiling ICU 64.1

rwave2000
rwave2000 Member Posts: 6 Blue Ribbon

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.cppCC: 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 .

koval

Answers