This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: profiling fails on arm-linux


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]