comment / code incosistency in cfgcleanup.c:flow_find_cross_jump
Joern RENNECKE
joern.rennecke@st.com
Wed Jan 12 16:55:00 GMT 2005
Consideriing this code:
if (onlyjump_p (i2)
|| (returnjump_p (i2) && !side_effects_p (PATTERN (i2))))
{
last2 = i2;
/* Count everything except for unconditional jump as insn. */
if (!simplejump_p (i2) && !returnjump_p (i2) && last1)
ninsns++;
i2 = PREV_INSN (i2);
}
you count unconditional jumps with a clobber, but you don't count
conditional returns (, or even an instruction that solves a travelling
salesman problem and returns if it finds a solution within a given cost
bound).
More information about the Gcc
mailing list