This is the mail archive of the gcc-patches@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] |
Other format: | [Raw text] |
On 06/23/10 10:49, Eric Botcazou wrote:The problem is that compare_and_jump_seq was then using the JUMP_LABEL macro on an insn that was not a jump, and in the process corrupting a completely unrelated insn. (It took me a *long* time to track down exactly where this corruption was occurring...).
Configuring with RTL checking (--enable-checking=yes,rtl) would presumably have revealed the problem immediately.
But isn't RTL checking still extremely expensive?
It is expensive indeed, but it is still worthwhile giving it a shot when something looks like memory corruption.
cc=compare(r1,r2) jump if unordered to L2 jump if unge to L1 L2:
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |