[Bug c++/98936] New: Incorrect computation of trivially copyable for class with user-declared move assignment operator, defined as deleted

2021-02-02 Thread adr26__gcc at nunsway dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98936 Bug ID: 98936 Summary: Incorrect computation of trivially copyable for class with user-declared move assignment operator, defined as deleted Product: gcc Version:

[Bug c++/98524] accepts-invalid instantiation of variable template with different function pointer type from declaration

2021-01-05 Thread adr26__gcc at nunsway dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98524 --- Comment #1 from Andrew Rogers --- Apologies for the fat-fingering when copying in the code which triggers this condition! The top of this bug report should read - Consider: template void (*TF)(); template void (*TF)(int); !!! Andrew

[Bug c++/98524] New: accepts-invalid instantiation of variable template with different function pointer type from declaration

2021-01-05 Thread adr26__gcc at nunsway dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98524 Bug ID: 98524 Summary: accepts-invalid instantiation of variable template with different function pointer type from declaration Product: gcc Version: unknown Status: UNCO