stripping name patch
Mike Stump
mrs@windriver.com
Fri Jan 5 17:13:00 GMT 2001
Catherine, without this change, all x86 products with your
/* CYGNUS LOCAL force-stack/clm */ will die with the below testcase.
You'll soon discover that, if you haven't already.
I put this one in, rather obvious... There seem to be latent bugs
dealing with the combination of two or more features at a time as
well. :-( I won't try and address them.
2001-01-05 Mike Stump <mrs@wrs.com>
* varasm.c (assemble_name): Ensure we output the stripped name.
and now in the testsuite s35520.C:
// Build don't link:
static void kbdNormal() { }
void (*keyHandler)() = kbdNormal;
Doing diffs in varasm.c.~1~:
*** varasm.c.~1~ Fri Jan 5 16:49:37 2001
--- varasm.c Fri Jan 5 16:50:16 2001
*************** assemble_name (file, name)
*** 1789,1795 ****
if (name[0] == '*')
fputs (&name[1], file);
else
! ASM_OUTPUT_LABELREF (file, name);
}
/* Allocate SIZE bytes writable static space with a gensym name
--- 1789,1795 ----
if (name[0] == '*')
fputs (&name[1], file);
else
! ASM_OUTPUT_LABELREF (file, real_name);
}
/* Allocate SIZE bytes writable static space with a gensym name
--------------
More information about the Gcc-patches
mailing list