Commit fa9d9dc2 by Tom de Vries Committed by Tom de Vries

Use relative line number in unroll-5.c

2017-12-26  Tom de Vries  <tom@codesourcery.com>

	* c-c++-common/unroll-5.c: Use relative line number.

From-SVN: r256002
parent 999ad881
2017-12-26 Tom de Vries <tom@codesourcery.com>
* c-c++-common/unroll-5.c: Use relative line number.
2017-12-23 Jakub Jelinek <jakub@redhat.com>
PR c++/83553
......
......@@ -19,7 +19,7 @@ void test (void)
bar(i);
#pragma GCC unroll j /* { dg-error "requires an assignment-expression that evaluates to a non-negative integral constant less than" } */
/* { dg-error "cannot appear in a constant-expression|is not usable in a constant expression" "" { target c++ } 21 } */
/* { dg-error "cannot appear in a constant-expression|is not usable in a constant expression" "" { target c++ } .-1 } */
for (unsigned long i = 1; i <= 8; ++i)
bar(i);
......
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