https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70512
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-04 CC| |jakub at gcc dot gnu.org Target Milestone|--- |6.0 Summary|ICE on valid code on |[6 Regression] ICE on valid |x86_64-linux-gnu: canonical |code on x86_64-linux-gnu: |types differ for identical |canonical types differ for |types |identical types Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Started with r222419. struct __attribute__ ((__may_alias__)) S { S& operator= (int) { return *this; } }; works properly.