File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1515,7 +1515,7 @@ bool TR_OSRCompilationData::TR_ScratchBufferInfo::operator==(const TR_ScratchBuf
15151515
15161516#if (defined(TR_HOST_POWER) && defined(TR_TARGET_POWER) \
15171517 || defined (TR_HOST_S390) && defined (TR_TARGET_S390)) \
1518- && (defined (__IBMCPP__) || defined (__open_xl__) && defined (__cplusplus) )
1518+ && (defined (__IBMCPP__) || defined (__open_xl__))
15191519__attribute__ ((__noinline__))
15201520// This tiny function when inlined by xlC 12 or later at -O3 breaks java -version
15211521// on Power and causes intermittent crashes on z/OS with xlC 2.1.1
Original file line number Diff line number Diff line change 6464#define OMR_NORETURN _declspec (noreturn)
6565#elif defined(__GNUC__)
6666#define OMR_NORETURN __attribute__ ((noreturn))
67- #elif defined(__IBMCPP__) || defined(__open_xl__) && defined(__cplusplus)
67+ #elif defined(__IBMCPP__) || defined(__open_xl__)
6868#define OMR_NORETURN __attribute__ ((noreturn))
6969#else
7070#warning "Noreturn attribute undefined for this platform."
Original file line number Diff line number Diff line change 2222#include " runtime/OMRRuntimeAssumptions.hpp"
2323#include " env/jittypes.h"
2424
25- #if (defined(__IBMCPP__) || defined(__open_xl__) && defined(__cplusplus) ) && !defined(AIXPPC) && !defined(LINUXPPC)
25+ #if (defined(__IBMCPP__) || defined(__open_xl__)) && !defined(AIXPPC) && !defined(LINUXPPC)
2626#define ASM_CALL __cdecl
2727#else
2828#define ASM_CALL
Original file line number Diff line number Diff line change 2323
2424TR_RuntimeHelperTable runtimeHelpers;
2525
26- #if (defined(__IBMCPP__) || defined(__IBMC__) && !defined(MVS)) && !defined(LINUXPPC64) || defined(__open_xl__ )
26+ #if (defined(__IBMCPP__) || defined(__IBMC__) || defined(__open_xl__) && !defined(MVS)) && !defined(LINUXPPC64)
2727 #if defined(AIXPPC)
2828 #define JIT_HELPER (x ) extern " C" void *x
2929 #else
Original file line number Diff line number Diff line change @@ -3770,9 +3770,9 @@ if [ "$OMR_ENV_OPENXL" == "1" ]; then
37703770 do
37713771 CC=" $ac_save_CC $ac_arg "
37723772 if ac_fn_c_try_compile " $LINENO " ; then :
3773- ac_cv_prog_cc_c89=$ac_arg
3774- fi
3775- rm -f core conftest.err conftest.$ac_objext
3773+ ac_cv_prog_cc_c89=$ac_arg
3774+ fi
3775+ rm -f core conftest.err conftest.$ac_objext
37763776 test " x$ac_cv_prog_cc_c89 " ! = " xno" && break
37773777 done
37783778else
@@ -3782,8 +3782,8 @@ else
37823782 CC=" $ac_save_CC $ac_arg "
37833783 if ac_fn_c_try_compile " $LINENO " ; then :
37843784 ac_cv_prog_cc_c89=$ac_arg
3785- fi
3786- rm -f core conftest.err conftest.$ac_objext
3785+ fi
3786+ rm -f core conftest.err conftest.$ac_objext
37873787 test " x$ac_cv_prog_cc_c89 " ! = " xno" && break
37883788 done
37893789fi
Original file line number Diff line number Diff line change @@ -509,7 +509,7 @@ class VM_AtomicSupport
509509#if defined(__GNUC__)
510510 return (uint64_t )__sync_lock_test_and_set (address, newValue);
511511#elif (defined(__xlC__)) /* defined(__GNUC__) */
512- #if ((__xlC__ > 0x0d01) || ((__xlC__ == 0x0d01) && (__xlC_ver__ >= 0x00000300))) /* XLC >= 13.1.3 OR OpenXL */
512+ #if ((__xlC__ > 0x0d01) || ((__xlC__ == 0x0d01) && (__xlC_ver__ >= 0x00000300))) /* XLC >= 13.1.3 */
513513 return (uint64_t )__fetch_and_swaplp ((volatile unsigned long *)address, (unsigned long )newValue);
514514#else /* ((__xlC__ > 0x0d01) || ((__xlC__ == 0x0d01) && (__xlC_ver__ >= 0x00000300))) */
515515 return (uint64_t )__fetch_and_swaplp ((volatile long *)address, (long )newValue);
Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ typedef double SYS_FLOAT;
237237 * xlC11 C++ compiler reportedly supports attributes before function names, but we've only tested xlC12.
238238 * The C compiler doesn't support it.
239239 */
240- #if defined(__cplusplus) && (__xlC__ >= 0xc00)
240+ #if defined(__cplusplus) && (__xlC__ >= 0xc00)
241241#define VMINLINE_ALWAYS inline __attribute__ ((always_inline))
242242#endif
243243#endif /* __xlC__ */
You can’t perform that action at this time.
0 commit comments