[PATCH] D77988: [test-suite] Exclude another UB tests from the gcc-torture suite

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 12 18:10:27 PDT 2020


jdoerfert created this revision.
jdoerfert added reviewers: kristof.beyls, lenary, lewis-revill.
Herald added subscribers: bollu, mgorny.

Repository:
  rT test-suite

https://reviews.llvm.org/D77988

Files:
  SingleSource/Regression/C/gcc-c-torture/execute/CMakeLists.txt


Index: SingleSource/Regression/C/gcc-c-torture/execute/CMakeLists.txt
===================================================================
--- SingleSource/Regression/C/gcc-c-torture/execute/CMakeLists.txt
+++ SingleSource/Regression/C/gcc-c-torture/execute/CMakeLists.txt
@@ -99,6 +99,10 @@
   # UB: Creates two `restrict` pointers that alias in the same scope.
   pr38212.c
 
+  # UB: Each comparisons in (cyx != cyy || mpn_cmp (dx, dy, size + 1) != 0 ||
+  #     dx[size] != 0x12345678) is UB on its own.
+  921202-1.c
+
   # The following all expect very specific optimiser behavior from the compiler
 
   # __builtin_return_address(n) with n > 0 not guaranteed to give expected result


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77988.256901.patch
Type: text/x-patch
Size: 689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200413/217b0b4b/attachment.bin>


More information about the llvm-commits mailing list