Correct testcase
2009-11-29 Alexander Monakov <amonakov@gcc.gnu.org> * testsuite/g++.dg/graphite/pr42130.C: Correct testcase. From-SVN: r154851
This commit is contained in:
parent
7c246f5e3b
commit
ed807d06d9
|
@ -1,3 +1,7 @@
|
|||
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>
|
||||
|
||||
* graphite-clast-to-gimple.c (try_mark_loop_parallel,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
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);
|
||||
return *vv;
|
||||
|
@ -12,7 +12,8 @@ vector<unsigned> & __attribute__((noinline)) foo(unsigned n, unsigned k)
|
|||
|
||||
int main()
|
||||
{
|
||||
foo(0, 1);
|
||||
foo(0);
|
||||
return 0;
|
||||
}
|
||||
/* { dg-do run } */
|
||||
|
||||
|
|
Loading…
Reference in New Issue