------- Comment #5 from kkojima at gcc dot gnu dot org 2006-08-23 23:54 ------- > I think the only sane way to handle this is not to emit any mode > switching code for exception edges at the potential trapping site, > and make the exception handling code assume no particular mode is > present (unless the compiler can prove that an exception handler can only > be reached from throwing/trapping sites that all have the same mode).
Although the mode switching code beyonds me, how does the exception handling code have no particular mode at its start? By calling make_preds_opaque for the corresponding BB and set no_mode to seginfo->mode? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28764