[Bug c++/87289] New: jdk11 plinux compiled with gcc 7.3 doesn't work with NativeImageBuffer

2018-09-12 Thread pdbain at ca dot ibm.com
ormal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: pdbain at ca dot ibm.com Target Milestone: --- Created attachment 44683 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44683&action=edit Test code and sample

[Bug c++/87289] jdk11 plinux compiled with gcc 7.3 doesn't work with NativeImageBuffer

2018-09-12 Thread pdbain at ca dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87289 --- Comment #2 from pdbain at ca dot ibm.com --- Created attachment 44685 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44685&action=edit Bad version of jnicsup

[Bug c++/87289] jdk11 plinux compiled with gcc 7.3 doesn't work with NativeImageBuffer

2018-09-12 Thread pdbain at ca dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87289 --- Comment #3 from pdbain at ca dot ibm.com --- Created attachment 44686 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44686&action=edit Good version of jnicsup

[Bug c++/87289] jdk11 plinux compiled with gcc 7.3 doesn't work with NativeImageBuffer

2018-09-12 Thread pdbain at ca dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87289 --- Comment #4 from pdbain at ca dot ibm.com --- Compiler command line: /usr/bin/g++ -save-temps -DOPENJ9_BUILD -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -fno-exceptions -fno-rtti -fno-threadsafe-statics -g -DLINUX -D_REENTRANT

[Bug c++/87289] jdk11 plinux compiled with gcc 7.3 doesn't work with NativeImageBuffer

2018-09-12 Thread pdbain at ca dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87289 --- Comment #5 from pdbain at ca dot ibm.com --- The compiler trips on this part of jnicsup.cpp (ca. line 500): #ifdef J9VM_INTERP_FLOAT_SUPPORT case 'F': /*

[Bug c++/87289] jdk11 plinux compiled with gcc 7.3 doesn't work with NativeImageBuffer

2018-09-12 Thread pdbain at ca dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87289 --- Comment #6 from pdbain at ca dot ibm.com --- Created attachment 44688 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44688&action=edit Reworked code without goto across cases This version works.

[Bug c++/87289] jdk11 plinux compiled with gcc 7.3 doesn't work with NativeImageBuffer

2018-09-13 Thread pdbain at ca dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87289 --- Comment #9 from pdbain at ca dot ibm.com --- Thank you. Code updated and working.