------- Comment #5 from rearnsha at gcc dot gnu dot org 2009-10-19 15:26 ------- (In reply to comment #1) > Subject: Re: New: FAIL: gcc.dg/tree-prof/bb-reorg.c > compilation, -fprofile-use -D_PROFILE_USE > > The ARM constant pool code needs to handle a > NOTE_INSN_SWITCH_TEXT_SECTIONS note in some way as indicating insns on one > side mustn't use constant pool entries on the other side. One possible > approach would be treating such a note as an insn of length 4100, but > there might be a cleaner way. >
I don't think there should be such notes on ARM due to the branch-range limitation. We can't arbitrarily jump between sections in Thumb state, for example -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39247