This is the mail archive of the gcc@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]

Option -fprofile-arcs fails for target avr and fr30


Hi, I have a question about using -fprofile-arcs option on avr and fr30 targets for gcc-3.3.

Avr and fr30 targets have no DI mode add instructions, nor add with carry instructions. But profile instrument code needs DI mode add. GCC has to translate the DImode add into a sequence of instructions. That will introduce new jump_insn, which will cause make_edges abort. Testing gcc.misc-tests/bprob-1.c reveals this problem.

I think GCC should take this case into acount. But I have no good method by now. Does anyone have good solution? Thanks!

- J



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