Other |
---|
tbdResolved |
Blocks :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
JDK-8307139 :
|
|
JDK-8308975 :
|
|
JDK-8310606 :
|
|
JDK-8312077 :
|
There are multiple locations in the compiler code with signed overflows which is undefined behavior (compilers could use this undefined behavior for optimizations). We should check our code by configuring with --with-extra-cxx-flags='-ftrapv' and running some extensive testing with it. -ftrapv emits traps for signed additions, subtractions and multiplications. If there is an overflow, we abort.
|