Comment #2 on issue 4187 by k...@google.com: llvm/clang-proto-fuzzer: ASSERT: isa<X>(Val) && "cast<Ty>() argument of incompatible type!"
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4187#c2

C reproducer (clang -c -O2):

void foo(int *a) {
  while ((a[1] + (0))) {
  }
  while (1) {
    if (1) {
      a[0] = 1;
      while (a[60]) {
        while (a[0]) {
          while ((a[1] + a[0])) {
            a[0] = (1 + a[60]);
          }
          while (a[0]) {
            while ((a[1] + a[0])) {
              a[1] = 1;
            }
            while ((1 + a[0])) {
              while ((a[1] + 1)) {
                a[0] = 1;
              }
              while (a[0]) {
                while (1) {
                  while (a[0]) {
                    while ((a[1] + a[0])) {
                      a[0] = (1 + a[60]);
                    }
                    while (a[0]) {
                      while ((a[1] + a[0])) {
                        a[0] = (1 + a[60]);
                      }
                      while (1) {
                        while (a[0]) {
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    } else {
    }
  }
}



--
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to