https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61571
--- Comment #5 from davidxl <xinliangli at gmail dot com> --- Thanks for the analysis. I agree it is invalid to use -fstrict-aliasing for the code. The implementation tries to save some space in __list_impl class by making the sentinel marker __end_ to be just __list_node_base, but it is linked with other __list_node type objects. David