This is the mail archive of the
mailing list for the GCC project.
Option -fprofile-arcs fails for target avr and fr30
- From: Jie Zhang <zhangjie at magima dot com dot cn>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 16 May 2003 17:52:24 +0800
- Subject: 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!