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

Unified Diff: gcc/gcc/testsuite/gcc.dg/ipa/ipa-4.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/ipa/ipa-2.c ('k') | gcc/gcc/testsuite/gcc.dg/ipa/modif-1.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-4.c
diff --git a/gcc/gcc/testsuite/gcc.dg/ipa/ipa-4.c b/gcc/gcc/testsuite/gcc.dg/ipa/ipa-4.c
index 9f716f13936669b49e4408210995529686dd8231..3cb0cd4d27ed828e293e2e29fd34e54f98d5c2da 100644
--- a/gcc/gcc/testsuite/gcc.dg/ipa/ipa-4.c
+++ b/gcc/gcc/testsuite/gcc.dg/ipa/ipa-4.c
@@ -1,6 +1,6 @@
/* { dg-do compile } */
-/* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp" } */
-/* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
+/* { dg-options "-O3 -fipa-cp -fipa-cp-clone -fdump-ipa-cp -fno-early-inlining" } */
+/* { dg-add-options bind_pic_locally } */
#include <stdio.h>
int g (int b, int c)
@@ -9,17 +9,19 @@ int g (int b, int c)
}
int f (int a)
{
- /* First and second parameter of g gets different values. */
-
+ /* First and second parameter of g gets different values. */
+
if (a > 0)
g (a, 3);
else
- g (a+1, 5);
+ g (a+1, 5);
}
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/ipa/ipa-2.c ('k') | gcc/gcc/testsuite/gcc.dg/ipa/modif-1.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698