http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57480
--- Comment #4 from Roman Tsisyk ---
I use offsetof on this structure and C++ produces a warning about POD data
type.
std::is_pod is not so important here.
I temporary add -Wno-invalid-offsetof to my code.
++
Assignee: unassigned at gcc dot gnu.org
Reporter: roman at tsisyk dot com
C++ frontend marks structs with va_list as non-POD.
This problem is probably related to 31488.
roman@work:~$ cat va_list_is_not_pod.cc
#include
#include
struct fiber {
va_list va;
};
int
main(int
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51347
--- Comment #3 from Roman Tsisyk 2011-12-03 10:37:02
UTC ---
Works for me.
Thanks for the fix.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51347
--- Comment #1 from Roman Tsisyk 2011-11-29 18:59:31
UTC ---
Created attachment 25947
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25947
gcc output 2029
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51347
Bug #: 51347
Summary: [trans-mem] Segfault on templates with -O1 -fgnu-tm
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal