[Bug c++/94098] [10 Regression] ICE: canonical types differ for identical types 'int(void*, void*)' and 'int(void*, void*)'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94098 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #5 from Martin Sebor --- Fixed via r10-7426.
[Bug c++/94098] [10 Regression] ICE: canonical types differ for identical types 'int(void*, void*)' and 'int(void*, void*)'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94098 --- Comment #4 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:ccacf77be5508dd5b4df59f402965196d11edb05 commit r10-7426-gccacf77be5508dd5b4df59f402965196d11edb05 Author: Martin Sebor Date: Fri Mar 27 13:54:22 2020 -0600 PR c++/94098 - ICE on attribute access redeclaration gcc/c-family/ChangeLog: PR c++/94098 * c-attribs.c (handle_access_attribute): Avoid setting TYPE_ATTRIBUTES here. gcc/ChangeLog: PR c++/94098 * calls.c (init_attr_rdwr_indices): Iterate over all access attributes. gcc/testsuite/ChangeLog: PR c++/94098 * g++.dg/ext/attr-access-2.C: New test.
[Bug c++/94098] [10 Regression] ICE: canonical types differ for identical types 'int(void*, void*)' and 'int(void*, void*)'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94098 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #3 from Martin Sebor --- Patch: https://gcc.gnu.org/pipermail/gcc-patches/2020-March/542098.html
[Bug c++/94098] [10 Regression] ICE: canonical types differ for identical types 'int(void*, void*)' and 'int(void*, void*)'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94098 Marek Polacek changed: What|Removed |Added Priority|P3 |P1 CC||mpolacek at gcc dot gnu.org
[Bug c++/94098] [10 Regression] ICE: canonical types differ for identical types 'int(void*, void*)' and 'int(void*, void*)'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94098 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Status|NEW |ASSIGNED --- Comment #2 from Martin Sebor --- Despite fixing at least one bug it looks like the patch for PR92721 didn't actually eliminate the underlying problem. The comment above the internal error suggests that changing the type attributes of a function when applying attributes to its declaration might need additional changes to "the canonical type propagation code." At this point I have no idea wherever that might need to happen. /* The two types are structurally equivalent, but their canonical types were different. This is a failure of the canonical type propagation code.*/ internal_error ("canonical types differ for identical types %qT and %qT", t1, t2);