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
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
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
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
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':
/*
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.
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.