[Bug c++/94046] New: cast to __m256d in mask argument of avx2 float gather intrinsics

2020-03-05 Thread niklas at nolte dot dev
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: niklas at nolte dot dev Target Milestone: --- I cannot call the _mm256_mask_i32gather_ps intrinsic with a mask argument that is not implicitly convertible to __mm256d, only in -O0 mode

[Bug c++/94214] New: function lookup with overloaded operators accepts invalid

2020-03-18 Thread niklas at nolte dot dev
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: niklas at nolte dot dev Target Milestone: --- Sample code: ``` #include template void blub(std::vector const& i) { -i; //getsize(i); //this also fails in gcc } int operator-(std::ve

[Bug c++/94214] function lookup with overloaded operators accepts invalid

2020-03-18 Thread niklas at nolte dot dev
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94214 --- Comment #2 from niklas at nolte dot dev --- (In reply to Jonathan Wakely from comment #1) > Looks like a dup of PR 51577 agreed

[Bug c++/97946] New: passing templated function without template argument

2020-11-23 Thread niklas at nolte dot dev via Gcc-bugs
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: niklas at nolte dot dev Target Milestone: --- The compiler accepts the following code. `fun` without template arguments should not be accepted, should it? ``` template void fun() {} template void higher_order_fun