[Bug c++/95181] internal compiler error: in push_access_scope, at cp/pt.c:241

2020-05-17 Thread tahasuf at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95181 --- Comment #3 from ahmet özhan --- Comment on attachment 48554 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48554 gcc 10 don't compile but clang compile >#include > >namespace math { > > template > requires

[Bug c++/95181] internal compiler error: in push_access_scope, at cp/pt.c:241

2020-05-17 Thread tahasuf at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95181 --- Comment #2 from ahmet özhan --- Comment on attachment 48554 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48554 gcc 10 don't compile but clang compile >#include > >namespace math { > > template > requires

[Bug c++/95181] internal compiler error: in push_access_scope, at cp/pt.c:241

2020-05-17 Thread tahasuf at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95181 --- Comment #1 from ahmet özhan --- gcc 9.3 compile

[Bug c++/95181] New: internal compiler error: in push_access_scope, at cp/pt.c:241

2020-05-17 Thread tahasuf at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tahasuf at gmail dot com Target Milestone: --- Created attachment 48554 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48554=edit gcc 10 don't compile but clang compile gcc 10.1

[Bug c++/93275] internal compiler error: unexpected expression 'N' of kind template_parm_index

2020-01-15 Thread tahasuf at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93275 --- Comment #2 from ahmet özhan --- template > array_depth_v), std::nullptr_t> = nullptr> constexpr array operator * (const Other& other) const { array result {}; std::transform( std::begin(*this),

[Bug c++/93275] Error when calculating template parameters in recursive template function call

2020-01-15 Thread tahasuf at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93275 --- Comment #1 from ahmet özhan --- : In substitution of 'template template > > array_depth_v), std::nullptr_t>::type > constexpr math::array math::array::operator*(const Other&) const [with Other = ; typename std::enable_if<(array_depth_v > >

[Bug c++/93275] New: Error when calculating template parameters in recursive template function call

2020-01-15 Thread tahasuf at gmail dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tahasuf at gmail dot com Target Milestone: --- Clang and GCC 8 can compile the code without any errors. But GCC 9 gives an error. #include #include #include namespace