diff --git a/src/machine-vuln5.c b/src/machine-vuln5.c
index 800675a01d98664f2c32c4746ec7cdb87a95f383..4b0059ec1c8fb1d3f6ea07e5e80c0ef8afad0046 100644
--- a/src/machine-vuln5.c
+++ b/src/machine-vuln5.c
@@ -226,7 +226,7 @@ int execute(const unsigned int progLength, const int cycles, int32_t * res){
   unsigned int cyclesExecuted = 0;
   while(cycles > 0 ? cyclesExecuted < (unsigned int)cycles : true){
     cyclesExecuted++;
-    if (pc < 0 || pc >= (int)progLength){
+     if (pc >= (int)progLength){
       /* will cause an error but that is not a bug and
        * and indeed is what the VM is supposed to do if the pc becomes 
        * negative, since in this case the program's execution finishes