NoQ added a subscriber: alexfh.
NoQ added a comment.

I think there are much more problems that we will find this way, starting from

  long foo(long x) {
    unsigned y = (unsigned)x;
    if (y <= -1)
      return 0;
  
    return (y + 2) < 2; // crash :(
  }

I don't mind delaying this patch until at least some of them are sorted out.

----

+@alexfh because he seems to enjoy running us with assertions :)


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57062/new/

https://reviews.llvm.org/D57062



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to