[flang-commits] [flang] 8ab753c - [flang][OpenMP] Add `REQUIRES: asserts` to test that relies on it

Krzysztof Parzyszek via flang-commits flang-commits at lists.llvm.org
Wed May 15 08:12:30 PDT 2024


Author: Krzysztof Parzyszek
Date: 2024-05-15T10:10:49-05:00
New Revision: 8ab753c121447c1388c4cb1af08ab27b2cd62a82

URL: https://github.com/llvm/llvm-project/commit/8ab753c121447c1388c4cb1af08ab27b2cd62a82
DIFF: https://github.com/llvm/llvm-project/commit/8ab753c121447c1388c4cb1af08ab27b2cd62a82.diff

LOG: [flang][OpenMP] Add `REQUIRES: asserts` to test that relies on it

This should fix failures in release builds.

Added: 
    

Modified: 
    flang/test/Lower/OpenMP/invalid-reduction-modifier.f90

Removed: 
    


################################################################################
diff  --git a/flang/test/Lower/OpenMP/invalid-reduction-modifier.f90 b/flang/test/Lower/OpenMP/invalid-reduction-modifier.f90
index 817c5b731c62f..53871276761fa 100644
--- a/flang/test/Lower/OpenMP/invalid-reduction-modifier.f90
+++ b/flang/test/Lower/OpenMP/invalid-reduction-modifier.f90
@@ -1,4 +1,5 @@
 !Remove the --crash below once we can diagnose the issue more gracefully.
+!REQUIRES: asserts
 !RUN: not --crash %flang_fc1 -fopenmp -emit-hlfir -o - %s
 
 ! Check that we reject the "task" reduction modifier on the "simd" directive.


        


More information about the flang-commits mailing list