From 0f5e5e02b74643e16969a2a6e4bbee77185efaf0 Mon Sep 17 00:00:00 2001 From: Marc Glisse Date: Thu, 6 Feb 2014 16:32:27 +0100 Subject: [PATCH] constexpr-attribute2.C: Restrict to target init_priority. 2014-02-06 Marc Glisse * g++.dg/cpp0x/constexpr-attribute2.C: Restrict to target init_priority. Test alignment of variable instead of function. From-SVN: r207561 --- gcc/testsuite/ChangeLog | 6 +++++- gcc/testsuite/g++.dg/cpp0x/constexpr-attribute2.C | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ef4a72e68b2f..80892ee74e72 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-02-06 Marc Glisse + + * g++.dg/cpp0x/constexpr-attribute2.C: Restrict to target + init_priority. Test alignment of variable instead of function. + 2014-02-06 Marek Polacek PR c/60087 @@ -162,7 +167,6 @@ PR ipa/59831 * g++.dg/ipa/devirt-24.C: New testcase. ->>>>>>> .r207518 2014-02-03 Marc Glisse PR c++/53017 diff --git a/gcc/testsuite/g++.dg/cpp0x/constexpr-attribute2.C b/gcc/testsuite/g++.dg/cpp0x/constexpr-attribute2.C index 755188ee0fb9..97fc3eff3cf3 100644 --- a/gcc/testsuite/g++.dg/cpp0x/constexpr-attribute2.C +++ b/gcc/testsuite/g++.dg/cpp0x/constexpr-attribute2.C @@ -1,3 +1,4 @@ +// { dg-do compile { target init_priority } } // { dg-options -std=gnu++11 } struct t { t(); }; @@ -29,4 +30,4 @@ typedef char vec __attribute__((vector_size(size))); void f(char*) __attribute__((nonnull(pos))); -void g() __attribute__((aligned(size))); +char g __attribute__((aligned(size))); -- 2.47.3