Commit 7017d4a2 by Jakub Jelinek Committed by Jakub Jelinek

re PR c++/85662 ("error: non-constant condition for static assertion" from…

re PR c++/85662 ("error: non-constant condition for static assertion" from __builtin_offsetof in C++)

	PR c++/85662
	* g++.dg/ext/offsetof3.C: New test.

From-SVN: r261909
parent 0fb6181e
2018-06-22 Jakub Jelinek <jakub@redhat.com>
PR c++/85662
* g++.dg/ext/offsetof3.C: New test.
2018-06-22 Carl Love <cel@us.ibm.com> 2018-06-22 Carl Love <cel@us.ibm.com>
* gcc.target/powerpc/altivec-7.c: Add qualifiers for counts on AIX * gcc.target/powerpc/altivec-7.c: Add qualifiers for counts on AIX
......
// PR c++/85662
// { dg-do compile { target c++11 } }
// { dg-options "-O2" }
#include "offsetof2.C"
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