Commit ed807d06 by Alexander Monakov Committed by Tobias Grosser

Correct testcase

2009-11-29  Alexander Monakov <amonakov@gcc.gnu.org>

	* testsuite/g++.dg/graphite/pr42130.C: Correct testcase.

From-SVN: r154851
parent 7c246f5e
2009-11-29 Alexander Monakov <amonakov@gcc.gnu.org>
* testsuite/g++.dg/graphite/pr42130.C: Correct testcase.
2009-11-24 Tobias Grosser <grosser@fim.uni-passau.de> 2009-11-24 Tobias Grosser <grosser@fim.uni-passau.de>
* graphite-clast-to-gimple.c (try_mark_loop_parallel, * graphite-clast-to-gimple.c (try_mark_loop_parallel,
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
using std::vector; using std::vector;
vector<unsigned> & __attribute__((noinline)) foo(unsigned n, unsigned k) vector<unsigned> & __attribute__((noinline, noclone)) foo(unsigned n)
{ {
vector<unsigned> *vv = new vector<unsigned>(n, 0u); vector<unsigned> *vv = new vector<unsigned>(n, 0u);
return *vv; return *vv;
...@@ -12,7 +12,8 @@ vector<unsigned> & __attribute__((noinline)) foo(unsigned n, unsigned k) ...@@ -12,7 +12,8 @@ vector<unsigned> & __attribute__((noinline)) foo(unsigned n, unsigned k)
int main() int main()
{ {
foo(0, 1); foo(0);
return 0;
} }
/* { dg-do run } */ /* { dg-do run } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment