ube assertion with -O in Studio11 after backend Patch 120759-05 2006/04/27
I'm running into an assertion thrown by ube after upgrading my Studio11 backend Patch
120759-04 to latest 120759-05. I'm usually compiling with -O (i.e. -xO3), but even lower levels of optimization raise this ube assertion, e.g. -xO1
CC -o myfile.o -xO1 -KPIC -xarch=generic64 -c -I../../include myfile.cpp -v 2>&1 | grep ube
/opt/SUNWspro/prod/bin/ube -verbose -PIC -fstore -O1 -fbe /opt/SUNWspro/prod/bin/fbe -xarch=generic64 -xchip=generic -xcache=generic -comdat -o myfile.o /tmp/ir2hf.03668.3.o
[b]ube: error: Assert has been violated at '/export/home1/train_builds/venus_patch/build.0427/intel-S2/lang/ube/cf/src/tv. c 473'.
[/b]
Compiling in lower optimization levels than -xO1 hides the problem.
Stepping back to previous patch version (120759-04 2006/03/13) immediately fixes the assertion problem.
The system is a Dual Opteron (Sun Fire V20z) w/ 2GB RAM running Solaris 10.
Latest OS and compiler patches are installed.
# uname -a
SunOS v20 5.10 Generic_Patch_118844-30 i86pc i386 i86pc
# CC -V
CC: Sun C++ 5.8 Patch 121018-02 2006/04/26
I can post more details if required.

