Changeset 272


Ignore:
Timestamp:
Mar 4, 2011, 12:30:42 PM (14 years ago)
Author:
dmik
Message:

hotspot: Fixed build breaks under GCC 4.5.2.

Location:
trunk/openjdk/hotspot/src/share/vm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/hotspot/src/share/vm/adlc/arena.hpp

    r2 r272  
    6868class Chunk: public CHeapObj {
    6969 public:
     70#if defined(__GNUC__) && (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40500
     71  // make sure op delete(void*, size) isn't treated as a usual deallocation
     72  // function in GCC 4.5.x (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42115)
     73  void operator delete(void* p) { CHeapObj::operator delete(p); }
     74#endif
    7075  void* operator new(size_t size, size_t length);
    7176  void  operator delete(void* p, size_t length);
  • trunk/openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp

    r58 r272  
    9191#ifdef __EMX__
    9292// we disable BSD visibility for the compiler so define these manually
    93 int     finite(double) __pure2;
    94 int     isnanf(float) __pure2;
     93extern "C" int finite(double) __pure2;
     94extern "C" int isnanf(float) __pure2;
    9595#define S_IREAD     S_IRUSR
    9696#define S_IWRITE    S_IWUSR
Note: See TracChangeset for help on using the changeset viewer.