[PATCH] D94327: [NFC] Specify C11 in loop-opt-setup.c

Matthew Voss via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 8 12:19:08 PST 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG0386f3d4f418: [NFC] Specify C11 in loop-opt-setup.c (authored by ormris).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94327

Files:
  clang/test/Misc/loop-opt-setup.c


Index: clang/test/Misc/loop-opt-setup.c
===================================================================
--- clang/test/Misc/loop-opt-setup.c
+++ clang/test/Misc/loop-opt-setup.c
@@ -1,5 +1,5 @@
 // This tests loop unrolling and loop deletion (enabled under -O1)
-// RUN: %clang_cc1 -O1 -fno-unroll-loops -S -o - %s -emit-llvm | FileCheck %s
+// RUN: %clang_cc1 -std=c11 -O1 -fno-unroll-loops -S -o - %s -emit-llvm | FileCheck %s
 // RUN: %clang_cc1 -std=c99 -O1 -fno-unroll-loops -S -o - %s -emit-llvm | FileCheck %s --check-prefix C99
 
 extern int a[16];


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94327.315484.patch
Type: text/x-patch
Size: 561 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210108/de165297/attachment.bin>


More information about the cfe-commits mailing list