This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: copy_rtx() bug (?)
- To: Thomas dot Koenig at ciw dot uni-karlsruhe dot de (Thomas König)
- Subject: Re: copy_rtx() bug (?)
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 07 Oct 1997 10:47:34 -0600
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199710011833.TAA00922@mvmap66.ciw.uni-karlsruhe.de>you write:
> Stack frames are:
> pc=0x081c2ce4 in copy_rtx() at rtl.c:325
> pc=0x081c2c77 in copy_rtx() at rtl.c:320
Yuk.
Short of having gen_rtx fill in all fields of the rtx I'm not sure what
can be done about this.
Basically it's harmless -- the field being copied isn't setup or examined
until flow is run.
There's probably lots of these kinds of problems in code which copies
rtl and/or trees.
Suggestions welcome...
jeff