<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jun 6, 2014 at 10:01 AM, Richard Smith <span dir="ltr"><<a href="mailto:richard@metafoo.co.uk" target="_blank">richard@metafoo.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">
<div class="">On Fri, Jun 6, 2014 at 3:58 AM, Timur Iskhodzhanov <span dir="ltr"><<a href="mailto:timurrrr@google.com" target="_blank">timurrrr@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Author: timurrrr<br>
Date: Fri Jun  6 05:58:21 2014<br>
New Revision: 210323<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=210323&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=210323&view=rev</a><br>
Log:<br>
Add -o /dev/null to one of the tests as it fails when run from a read-only checkout<br>
<br>
Modified:<br>
    cfe/trunk/test/Frontend/optimization-remark.c<br>
<br>
Modified: cfe/trunk/test/Frontend/optimization-remark.c<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/optimization-remark.c?rev=210323&r1=210322&r2=210323&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/optimization-remark.c?rev=210323&r1=210322&r2=210323&view=diff</a><br>


==============================================================================<br>
--- cfe/trunk/test/Frontend/optimization-remark.c (original)<br>
+++ cfe/trunk/test/Frontend/optimization-remark.c Fri Jun  6 05:58:21 2014<br>
@@ -3,8 +3,8 @@<br>
 // always trigger the inliner, so it should be independent of the<br>
 // optimization level.<br>
<br>
-// RUN: %clang_cc1 %s -Rpass=inline -Rpass-analysis=inline -Rpass-missed=inline -O0 -gline-tables-only -emit-llvm-only -verify -S<br>
-// RUN: %clang_cc1 %s -DNDEBUG -Rpass=inline -emit-llvm-only -verify -S<br>
+// RUN: %clang_cc1 %s -Rpass=inline -Rpass-analysis=inline -Rpass-missed=inline -O0 -gline-tables-only -emit-llvm-only -verify -S -o /dev/null<br>
+// RUN: %clang_cc1 %s -DNDEBUG -Rpass=inline -emit-llvm-only -verify -S -o /dev/null<br></blockquote><div><br></div></div><div>Why does this say *both* -emit-llvm-only *and* -S? Which is it trying to emit?</div><div><br>
</div>
<div>Can you remove the "-S -o /dev/null" instead?</div></div></div></div></blockquote><div><br></div><div>Oh, I see Alp has already fixed this in r210326. Thanks, Alp!</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

 int foo(int x, int y) __attribute__((always_inline));<br>
 int foo(int x, int y) { return x + y; }<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu" target="_blank">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</blockquote></div></div><br></div></div>
</blockquote></div><br></div></div>