Trivial MacOS compiler warning

Lennart Börjeson lennart.borjeson at cinnober.com
Thu Feb 1 09:46:46 UTC 2018


1 feb. 2018 kl. 10:32 skrev Aleksey Shipilev <shade at redhat.com<mailto:shade at redhat.com>>:

...
Thanks! Is that the only warning we have during the Mac OS build?


No, there's also a compiler error when building fast-debug (which I'd like to have to bring you some meaningful tracebacks for some Shenandoah-crashes I get), but I am unsure if this is upstream or not:


ERROR: Build failed for target 'default (exploded-image)' in configuration 'macosx-x86_64-normal-server-fastdebug' (exit code 2)
Stopping sjavac server

=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_objs_loopPredicate.o:
/Users/lennartb/RaT/openJDK/shenandoah-jdk10/src/hotspot/share/opto/loopPredicate.cpp:1018:71: error: ordered comparison between pointer and zero ('const TypeInt *' and 'int')
    assert(rng->Opcode() == Op_LoadRange || _igvn.type(rng)->is_int() >= 0, "must be");
                                            ~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~
/Users/lennartb/RaT/openJDK/shenandoah-jdk10/src/hotspot/share/utilities/debug.hpp:55:33: note: expanded from macro 'assert'
#define assert(p, ...) vmassert(p, __VA_ARGS__)
                                ^
/Users/lennartb/RaT/openJDK/shenandoah-jdk10/src/hotspot/share/utilities/debug.hpp:44:9: note: expanded from macro 'vmassert'
  if (!(p)) {                                                                  \
        ^
1 error generated.



More information about the shenandoah-dev mailing list