------- Comment #34 from chrbr at gcc dot gnu dot org 2010-02-05 08:26 ------- (In reply to comment #33) > Your fix of the middle end looks plausible but I think the target > shouldn't generate a CP at the eh landing pad anyway. I'll commit > the hunk below anyway after your patch for pic problem is installed. >
OK. I didn't check the code quality difference between the middle-end fix and yours. Since there are no fallthru to the landing pad, and locality with the upcoming exception region is not important, (if we suppose that the exception handler is not on the critical path), I was expecting that the landing pad was a good place for the constant pool on the contrary. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42841