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]

Re: patch for core dump in cse with -O2 on x86


On Fri, 16 Oct 1998 01:53:51 -0700, Richard Henderson wrote:
>On Thu, Oct 15, 1998 at 07:21:26PM -0600, Jeffrey A Law wrote:
>> Well, I'd like to know how this happened.  ie, is it supposed to be possible
>> for the compiler to get to equiv_constant with a null argument?
>
>I believe DaveM just fixed this, as we talked about this problem
>as exhibited in the sparc64 linux kernel.

DaveM's change makes the stage1 compiler work, but the stage2 still
crashes in cse on skip_comment due to a null prev_insn_cc0.  So there
must be a codegen bug somewhere.

I posted the testcase last night.  Compile -O2, stage2/cc1 dumps core;
stage1/cc1 is fine.

zw


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