[Bug c++/83258] Rejecting function pointer non-type template parameter without linkage

2020-08-26 Thread ma.noack.pr at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83258

Matthias Noack  changed:

   What|Removed |Added

 CC||ma.noack.pr at gmail dot com

--- Comment #8 from Matthias Noack  ---
Still failing in 10.2 (original reproducer).

[Bug c++/83806] [7 Regression] Spurious -Wunused-but-set-parameter with nullptr

2019-10-29 Thread ma.noack.pr at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83806

--- Comment #7 from Matthias Noack  ---
Can confirm, that it is fixed in 8.3.0 and 9.2.1.

[Bug tree-optimization/84362] [7/8/9 Regression] Auto-vectorization regression when accessing member variable through getter/accessor

2018-05-04 Thread ma.noack.pr at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84362

Matthias Noack  changed:

   What|Removed |Added

 CC||ma.noack.pr at gmail dot com

--- Comment #2 from Matthias Noack  ---
As written on SO, replacing

asm volatile("" : : "g"() : "memory");

By 

return v.values[capacity - 1];

to avoid the loop being optimised away, leads to the same vectorised code in
7.x as well. So the missed vectorisation, or not inlining size() before
vectorisation causing non-vectorisation due to:

:24:29: note: not vectorized: complicated access pattern.

might be a side effect of the asm volatile() line.