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

Unified Diff: gcc/gcc/testsuite/g++.dg/ipa/iinline-1.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/g++.dg/init/new17.C ('k') | gcc/gcc/testsuite/g++.dg/lookup/hidden-class10.C » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/g++.dg/ipa/iinline-1.C
diff --git a/gcc/gcc/testsuite/g++.dg/ipa/iinline-1.C b/gcc/gcc/testsuite/g++.dg/ipa/iinline-1.C
index 83490aa79b0139b00c21221e170156b6eb6e1e2f..9f99893224b3705403bd56168fb8807b19806344 100644
--- a/gcc/gcc/testsuite/g++.dg/ipa/iinline-1.C
+++ b/gcc/gcc/testsuite/g++.dg/ipa/iinline-1.C
@@ -2,7 +2,7 @@
inlining.. */
/* { dg-do compile } */
/* { dg-options "-O3 -fdump-ipa-inline -fno-early-inlining" } */
-/* { dg-options "-O3 -fdump-ipa-inline -fno-early-inlining -fpie" { target { ! nonpic } } } */
+/* { dg-add-options bind_pic_locally } */
extern void non_existent (const char *, int);
@@ -38,8 +38,9 @@ int docalling (int (String::* f)(int delim) const)
int main (int argc, char *argv[])
{
- int i;
- i = docalling (&String::funcOne);
+ int i = 0;
+ while (i < 1000)
+ i += docalling (&String::funcOne);
non_existent ("done", i);
return 0;
}
« no previous file with comments | « gcc/gcc/testsuite/g++.dg/init/new17.C ('k') | gcc/gcc/testsuite/g++.dg/lookup/hidden-class10.C » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698