The attached automatically generated test program produces a crash of server compiler.
The crash is observed on all x86 systems with version 1.6b44 and several versions prior to that (at least from b22).
All Sparc versions (1.5 and 1.6) and x86 1.5 do not crash.
Stack trace:
#7 <signal handler called>
#8 0xb77eef3c in MulNode::Ideal () from /opt/sun-jdk-1.6.0.b41/jre/lib/i386/server/libjvm.so
#9 0xb77f0368 in AndINode::Ideal () from /opt/sun-jdk-1.6.0.b41/jre/lib/i386/server/libjvm.so
#10 0xb7839955 in PhaseIterGVN::transform_old () from /opt/sun-jdk-1.6.0.b41/jre/lib/i386/server/libjvm.so
#11 0xb78395a0 in PhaseIterGVN::optimize () from /opt/sun-jdk-1.6.0.b41/jre/lib/i386/server/libjvm.so
#12 0xb77bc094 in PhaseIdealLoop::PhaseIdealLoop () from /opt/sun-jdk-1.6.0.b41/jre/lib/i386/server/libjvm.so
#13 0xb75d8ec7 in Compile::Optimize () from /opt/sun-jdk-1.6.0.b41/jre/lib/i386/server/libjvm.so
#14 0xb75d69ea in Compile::Compile () from /opt/sun-jdk-1.6.0.b41/jre/lib/i386/server/libjvm.so
#15 0xb7580f86 in C2Compiler::compile_method () from /opt/sun-jdk-1.6.0.b41/jre/lib/i386/server/libjvm.so
#16 0xb75dd7a3 in CompileBroker::invoke_compiler_on_method () from /opt/sun-jdk-1.6.0.b41/jre/lib/i386/server/libjvm.so
#17 0xb75dd1d0 in CompileBroker::compiler_thread_loop () from /opt/sun-jdk-1.6.0.b41/jre/lib/i386/server/libjvm.so
#18 0xb78afb56 in compiler_thread_entry () from /opt/sun-jdk-1.6.0.b41/jre/lib/i386/server/libjvm.so
#19 0xb78aa713 in JavaThread::run () from /opt/sun-jdk-1.6.0.b41/jre/lib/i386/server/libjvm.so
#20 0xb780dfff in _start () from /opt/sun-jdk-1.6.0.b41/jre/lib/i386/server/libjvm.so
#21 0xb7eee2b6 in __pthread_initialize_minimal () from /lib/tls/libpthread.so.0
#22 0xb7e8062e in clone () from /lib/tls/libc.so.6