Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(534)

Unified Diff: gcc/gcc/testsuite/gcc.dg/ipa/ipa-2.c

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/inline-33.c ('k') | gcc/gcc/testsuite/gcc.dg/ipa/ipa-4.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/gcc.dg/ipa/ipa-2.c
diff --git a/gcc/gcc/testsuite/gcc.dg/ipa/ipa-2.c b/gcc/gcc/testsuite/gcc.dg/ipa/ipa-2.c
index 454927a2c19460897824df4b3f8f49dff2bdf307..1d57fb008288a70a30c5fdfa00e152be1dc3d0f5 100644
--- a/gcc/gcc/testsuite/gcc.dg/ipa/ipa-2.c
+++ b/gcc/gcc/testsuite/gcc.dg/ipa/ipa-2.c
@@ -1,6 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining" } */
-/* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
+/* { dg-add-options bind_pic_locally } */
#include <stdio.h>
int g (int b, int c)
@@ -15,8 +15,10 @@ int f (int a)
}
int main ()
{
- f (7);
- return 0;
+ int i;
+ for (i = 0; i < 100; i++)
+ f (7);
+ return 0;
}
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/inline-33.c ('k') | gcc/gcc/testsuite/gcc.dg/ipa/ipa-4.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698