This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/85662] [8/9 Regression] "error: non-constant condition for static assertion" from __builtin_offsetof in C++
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 22 Jun 2018 17:23:15 +0000
- Subject: [Bug c++/85662] [8/9 Regression] "error: non-constant condition for static assertion" from __builtin_offsetof in C++
- Auto-submitted: auto-generated
- References: <bug-85662-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85662
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Jun 22 17:22:43 2018
New Revision: 261909
URL: https://gcc.gnu.org/viewcvs?rev=261909&root=gcc&view=rev
Log:
PR c++/85662
* g++.dg/ext/offsetof3.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/ext/offsetof3.C
Modified:
trunk/gcc/testsuite/ChangeLog