Fixes some modules testsuite compilation errors.
libstdc++-v3/ChangeLog:
* include/bits/regex_executor.tcc (_ExecutorFrameBase): Add
#pragma GCC diagnostic to suppress -Wpedantic warning about
anonymous structs.
_S_fopcode_decrement_rep_count,
};
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wpedantic" // anon struct
struct _ExecutorFrameBase
{
_ExecutorFrameBase(_ExecutorFrameOpcode __op, _StateIdT __i)
unsigned char _M_bytes[6];
_StateIdT _M_state_id;
};
+#pragma GCC diagnostic pop
template<typename _BiIter, bool _Trivial /* = is_trivially_copyable<_BiIter>::value */>
struct _ExecutorFrame : _ExecutorFrameBase