mirror of git://gcc.gnu.org/git/gcc.git
cplus-dem.c (gnu_special): Fix off-by-one bug when checking the length in the name of a virtual table.
* cplus-dem.c (gnu_special): Fix off-by-one bug when checking the length in the name of a virtual table. From-SVN: r19417
This commit is contained in:
parent
965cec4178
commit
7bf407413f
|
@ -1,3 +1,8 @@
|
||||||
|
Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
||||||
|
|
||||||
|
* cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
|
||||||
|
length in the name of a virtual table.
|
||||||
|
|
||||||
Sun Apr 26 01:21:06 1998 Richard Henderson <rth@cygnus.com>
|
Sun Apr 26 01:21:06 1998 Richard Henderson <rth@cygnus.com>
|
||||||
|
|
||||||
* alpha.c (print_operand): Don't add 'v' suffix for ALPHA_FPTM_N.
|
* alpha.c (print_operand): Don't add 'v' suffix for ALPHA_FPTM_N.
|
||||||
|
|
|
@ -2003,7 +2003,7 @@ gnu_special (work, mangled, declp)
|
||||||
".<digits>" indicating a static local symbol. In
|
".<digits>" indicating a static local symbol. In
|
||||||
any case, declare victory and move on; *don't* try
|
any case, declare victory and move on; *don't* try
|
||||||
to use n to allocate. */
|
to use n to allocate. */
|
||||||
if (n >= strlen (*mangled))
|
if (n > strlen (*mangled))
|
||||||
{
|
{
|
||||||
success = 1;
|
success = 1;
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
||||||
|
|
||||||
|
* cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
|
||||||
|
length in the name of a virtual table.
|
||||||
|
|
||||||
Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
|
Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
|
||||||
|
|
||||||
* cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
|
* cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
|
||||||
|
|
|
@ -2003,7 +2003,7 @@ gnu_special (work, mangled, declp)
|
||||||
".<digits>" indicating a static local symbol. In
|
".<digits>" indicating a static local symbol. In
|
||||||
any case, declare victory and move on; *don't* try
|
any case, declare victory and move on; *don't* try
|
||||||
to use n to allocate. */
|
to use n to allocate. */
|
||||||
if (n >= strlen (*mangled))
|
if (n > strlen (*mangled))
|
||||||
{
|
{
|
||||||
success = 1;
|
success = 1;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue