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

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #2)
> (In reply to Arseny Solokha from comment #1)
> > Created attachment 53589 [details]
> > Reduced preprocessed testcase
> > 
> > Unfortunately a 173K file is the best I could come up with after three days
> > of reduction, though it fails the check w/ just -std=c++20 -O1
> > -fcompare-debug -ftree-parallelize-loops=2.
> 
> Can't compile this due to:
> 
> g++ pr106955.c -std=c++20 -O1 -fcompare-debug -ftree-parallelize-loops=2 -c
> : In instantiation of ‘struct __gnu_cxx::__normal_iterator<int, int>’:
> :822:5:   required from here
> :793:44: error: ‘__gnu_cxx::__normal_iterator<int, int>::__traits_type’ {aka
> ‘int’} is not a class, struct, or union type

This is a nonsense reduction.

Reply via email to