-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Open
Labels
clang:diagnosticsNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerNew/improved warning or error message in Clang, but not in clang-tidy or static analyzergenerated by fuzzerslow-compile
Description
Compiling a C++ program using std::ranges::copy in combination with std::views::iota causes extremely long compilation times (several minutes), sometimes resulting in a forced termination due to exceeded time limits (SIGKILL).
In local it do not end compiling, without giving any feedback.
Output
Killed - processing time exceeded
Program terminated with signal: SIGKILL
Compiler returned: 143
Program
#include <algorithm>
#include <iterator>
#include <iostream>
#include <numeric>
int main (int argc, char* argv[])
{
std::copy (std::make_integer_iterator (1), std::make_integer_iterator (100), std::ostream_iterator<int> (std::cout));
std::ranges::copy (std::views::iota (1, 100), std::ostream_iterator<int> (std::cout));
return 0;
}
To quickly reproduce
Metadata
Metadata
Assignees
Labels
clang:diagnosticsNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerNew/improved warning or error message in Clang, but not in clang-tidy or static analyzergenerated by fuzzerslow-compile