genextract.c (print_path): Handle zero-length path as a special case.
From-SVN: r19947
This commit is contained in:
parent
27fafc8de1
commit
07704a9adb
@ -1,3 +1,8 @@
|
|||||||
|
Fri May 22 03:42:05 1998 Richard Earnshaw (rearnsha@arm.com)
|
||||||
|
|
||||||
|
* genextract.c (print_path): Handle zero-length path as a special
|
||||||
|
case.
|
||||||
|
|
||||||
Fri May 22 01:38:07 1998 Hans-Peter Nilsson <hp@axis.se>
|
Fri May 22 01:38:07 1998 Hans-Peter Nilsson <hp@axis.se>
|
||||||
|
|
||||||
* cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
|
* cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
|
||||||
|
@ -318,6 +318,14 @@ print_path (path)
|
|||||||
register int len = strlen (path);
|
register int len = strlen (path);
|
||||||
register int i;
|
register int i;
|
||||||
|
|
||||||
|
if (len == 0)
|
||||||
|
{
|
||||||
|
/* Don't emit "pat", since we may try to take the address of it,
|
||||||
|
which isn't what is intended. */
|
||||||
|
printf("PATTERN (insn)");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/* We first write out the operations (XEXP or XVECEXP) in reverse
|
/* We first write out the operations (XEXP or XVECEXP) in reverse
|
||||||
order, then write "insn", then the indices in forward order. */
|
order, then write "insn", then the indices in forward order. */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user