http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59066

Alexandre Hamez <alexandre.hamez at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Segmentation fault.         |C+11, 'using' instead of
                   |                            |'typedef' causes a
                   |                            |segmentation fault.

--- Comment #2 from Alexandre Hamez <alexandre.hamez at gmail dot com> ---
I've found what causes the crash. On line 1199 of bug.ii, if 'using data_type =
variant<identity<C>>' is changed to 'typedef variant<identity<C>> data_type',
the segmentation no longer occurs [1].
I changed the summary to reflect that.

[1] Note that this particular code will fail to compile because of a missing
member.

Reply via email to