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 tree-optimization/58920] Overeager optimization based on TREE_THIS_NOTRAP


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58920

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The problem is the middle-end treats pointers and references as the same so
sometimes it removes the casting between the pointer type and reference types. 
GCC has no representation of conditional no trapping which is what is needed
here.


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