This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/61571] bad aliasing --> wrong FRE


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]