This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: profiling fails on arm-linux
- To: Philip Blundell <pb at futuretv dot com>
- Subject: Re: profiling fails on arm-linux
- From: Richard Earnshaw <rearnsha at arm dot com>
- Date: Fri, 03 Nov 2000 12:15:04 +0000
- Cc: gcc-bugs at gcc dot gnu dot org
- Cc: rearnsha at arm dot com
- Organization: ARM Ltd.
- Reply-To: rearnsha at arm dot com
> 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.