https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118920
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Frank B. Brokken from comment #2) > Interesting! If I specify -fno-checking no error is reported. So your > suggestion works. Certainly something for me to keep in mind. Do you think > that -fno-checking is only temporary needed or do you advise to use it when > errors like the 'canonical types differ...' error are reported by the > compiler? It is a workaround for the trunk compiler. For a released GCC, the default --enable-checking option is release while for the trunk compiler the default is yes. I was trying to unblock you if you were blocked with this specific internal compiler error (ICE).