This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: GCC build failed for native with your patch on 2002-03-06T23:16:26Z.
- From: Richard Henderson <rth at redhat dot com>
- To: Ulrich Weigand <Ulrich dot Weigand at de dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 7 Mar 2002 12:39:55 -0800
- Subject: Re: GCC build failed for native with your patch on 2002-03-06T23:16:26Z.
- References: <OFD9F6EF83.3FE89DC0-ONC1256B75.006D0E70@de.ibm.com>
On Thu, Mar 07, 2002 at 09:05:10PM +0100, Ulrich Weigand wrote:
> I wasn't sure whether a match_dup inside a match_par_dup was legal
> in the first place, so I let this as is.
I don't see anything that prevents it.
Your genextract patch isn't quite right. You'd also need
- newpath[depth] = '0' + i;
+ newpath[depth] = (code == MATCH_OP_DUP ? '0' : 'a') + i;
at line 230.
Ok with that change.
r~