This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch for core dump in cse with -O2 on x86
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: patch for core dump in cse with -O2 on x86
- From: Zack Weinberg <zack at rabi dot columbia dot edu>
- Date: Fri, 16 Oct 1998 10:57:07 -0400
- cc: egcs-patches at cygnus dot com
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