[Bug c++/109083] [10/11/12/13 Regression] Incorrect static_assert shown in diagnostics

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 15 17:42:14 GMT 2023


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

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Created attachment 54673
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54673&action=edit
first try

Another approach would be to treat the expressions as different for the
*_specializations hash tables, as per this patch, which fixes the testcase. 
But as is this patch breaks the standard library, so more work would need to be
done to make type canonicalization continue to work.


More information about the Gcc-bugs mailing list