profiling fails on arm-linux

Richard Earnshaw rearnsha@arm.com
Fri Nov 3 04:15:00 GMT 2000


> Compiling even trivial files such as "foo() { }" seems to fail with profiling 
> enabled on ARM.
> 

Yep, known problem.  The code in question assumes that the expander for 
the nop instruction is also the pattern (that is, "nop" is a define_insn, 
not a define_expand).   This is false on the ARM, since we need to 
generate a different nop for Thumb code.

See Nick Clifton's discussion about this on the patches list.

R.



More information about the Gcc-bugs mailing list