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

Tony E Lewis <TonyELewis at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |TonyELewis at hotmail dot com

--- Comment #3 from Tony E Lewis <TonyELewis at hotmail dot com> ---
I've seen an ICE which looks likely to be a duplicate of this one. I'll put it
here so it can be retested when this one is fixed to confirm it's also fixed.

My ICE can be seen here: https://godbolt.org/z/R6MgH9

It involves compiling the following code with GCC trunk (20200102) with
`-std=c++2a` with range-v3 0.10.0.


#include <string>
#include <vector>

#include <range/v3/range/conversion.hpp>
#include <range/v3/view/join.hpp>

auto f() {
    const std::vector<std::string> the_strings = { "a", "b" };
    return the_strings
        | ranges::views::join( "," )
        | ranges::to<std::string>;
}


I can reduce this testcase if its ICE persists after the original ICE is fixed.

Reply via email to