[Bug c++/60228] ICE using lambda in #pragma omp declare reduction

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Sat Mar 3 22:08:00 GMT 2018


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paolo.carlini at oracle dot com

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Something I didn't really pay attention to before: the ICE only happens in a
template, otherwise the lambda is already accepted as an extension. There must
be a way to fix the problem without explicitly handling C++11 constructs...


More information about the Gcc-bugs mailing list