https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88183

--- Comment #1 from Ruben Van Boxem <vanboxem.ruben at gmail dot com> ---
Created attachment 45084
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45084&action=edit
compressed preprocessed source causing ICE

Attached preprocessed source file ICEs GCC 8.2.1 20180831 on Arch Linux.

It compiles and works just fine on Clang 7.0.0, MSVC 19.16.27023.1, and GCC
7.3.1 20180814.

It uses Boost.Spirit.X3 from Boost 1.68.

Compile with 'g++ -std=c++17 -c ice.ii' produces:
In file included from
/home/ruben/Development/skui/css/grammar/background.h++:33,
                 from /home/ruben/Development/skui/css/grammar.h++:40,
                 from
/home/ruben/Development/skui/tests/css/grammar.test.c++:30:
/home/ruben/Development/skui/css/grammar/make_property.h++: In instantiation of
'auto skui::css::grammar::make_property(const PropertyType&, const ValueType&,
PointerToMemberType ...) [with PropertyType = char [14]; ValueType =
skui::css::grammar::align_content_table; PointerToMemberType =
{skui::css::align_content skui::css::declaration_block::*}]':
/home/ruben/Development/skui/css/grammar.h++:56:112:   required from here
/home/ruben/Development/skui/css/grammar/make_property.h++:43:39: internal
compiler error: Segmentation fault
       (_val(context).* ... .* member) = _attr(context);
Please submit a full bug report,
with preprocessed source if appropriate.

Reply via email to