This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: sched/flow problem with memory corruption due to mark_set_resources
- To: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Subject: Re: sched/flow problem with memory corruption due to mark_set_resources
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 31 Aug 1999 00:39:07 -0600
- cc: Richard Henderson <rth at cygnus dot com>, Jim Wilson <wilson at cygnus dot com>, gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <Pine.GSO.4.10.9908310832590.29270-100000@alphard.dbai.tuwien.ac.a
t>you write:
> On Mon, 30 Aug 1999, Richard Henderson wrote:
> > * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
> > mark_set_resources.
>
> With this patch, bootstrapping on sparc-sun-solaris2.6 proceeds a bit
> farther (no more sig11), but still is broken:
>
> stage1/xgcc -Bstage1/ -B/sw/test/gcc/SunOS/sparc-sun-solaris2.6/bin/ -c
> -DIN_GCC -DSVR4 -W -Wall -O2 -g -O2 -DHAVE_CONFIG_H -I.
> -I/sw/test/gcc/gcc/gcc -I/sw/test/gcc/gcc/gcc/config
> -I/sw/test/gcc/gcc/gcc/../include /sw/test/gcc/gcc/gcc/fold-const.c
> /sw/test/gcc/gcc/gcc/fold-const.c: In function `add_double':
> /sw/test/gcc/gcc/gcc/fold-const.c:248: warning: comparison between signed
> and
> unsigned
> /sw/test/gcc/gcc/gcc/fold-const.c: In function `mul_double':
> /sw/test/gcc/gcc/gcc/fold-const.c:334: Internal compiler error in
> `create_reg_dead_note', at haifa-sched.c:4426
I'm trying to track down a similar looking bug. With any luck they'll be
the same bug.
Note in the case I'm looking at it appears that flow.c is the problem; haifa
is just the first pass to notice something wrong.
jeff