public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Option -fprofile-arcs fails for target avr and fr30
@ 2003-05-16  9:53 Jie Zhang
  2003-05-19  2:55 ` [PATCH] " Jie Zhang
  0 siblings, 1 reply; 8+ messages in thread
From: Jie Zhang @ 2003-05-16  9:53 UTC (permalink / raw)
  To: gcc

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-05-20  9:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-16  9:53 Option -fprofile-arcs fails for target avr and fr30 Jie Zhang
2003-05-19  2:55 ` [PATCH] " Jie Zhang
2003-05-19  9:20   ` Nathan Sidwell
2003-05-19 14:25     ` Jan Hubicka
2003-05-20  2:59       ` Jie Zhang
2003-05-20  9:24         ` Jan Hubicka
2003-05-20  3:03       ` DJ Delorie
2003-05-19 16:38   ` Zdenek Dvorak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).