JDK-8152130 : aarch32: remove unused definition of min
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: port-stage-aarch32-8
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: aarch32
  • Submitted: 2016-03-17
  • Updated: 2016-05-03
  • Resolved: 2016-05-03
Related Reports
Relates :  
Description
sharedRuntime_aarch32.cpp contains an unused definition of min that breaks compilation with GCC6:

template <class T> static const T& min (const T& a, const T& b) {
  return (a > b) ? b : a;
} 
Comments
http://hg.openjdk.java.net/aarch32-port/jdk8u/hotspot/rev/fbcdff021df5 http://hg.openjdk.java.net/aarch32-port/jdk9/hotspot/rev/af3d5f2b8bbf
03-05-2016