------- Comment #20 from ebotcazou at gcc dot gnu dot org 2005-10-12 06:39 ------- Mark, do you have an opinion on the following implementation detail? We don't want to duplicate the code of may_trap_p and rtx_addr_can_trap_p, so the new predicate will essentially piggyback on it, simply bypassing MEM_NOTRAP_P and adding the supplementary check on the alignment on STRICT_ALIGNMENT machines. Now this new predicate will only be invoked (for now) from reorg.c and only do something new on STRICT_ALIGNMENT machines, so I'm not really thrilled to propagate an additional argument all the way through the recursion in may_trap_p; that's why I was pondering adding a global flag instead, possibly forced to "const bool false" if not on a STRICT_ALIGNMENT machine. Thanks in advance.
-- ebotcazou at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mark at codesourcery dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23585