Option -fprofile-arcs fails for target avr and fr30

Jie Zhang zhangjie@magima.com.cn
Fri May 16 09:53:00 GMT 2003


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




More information about the Gcc mailing list