A proposed patch for Bug 88572 is attached to the bug report along with a short description and Change Log (a link there gives a pretty diff of the patch):
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88572#c15 I'd appreciate any review of this patch, as well as testing on more platforms. The patch with updated tests passes for me on x86_64. There's also test code in bug comment #1 that demonstrates SFINAE based on the nesting of braces. It could also be added to the testsuite - I'm not sure how to do that or if it is needed.
braces_patch
Description: Binary data