Call build_type_variant in method.c

From-SVN: r19544
This commit is contained in:
Andrew MacLeod 1998-05-05 15:29:06 +00:00 committed by Andrew Macleod
parent 3d90c2b510
commit 664f169d75
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Tue May 5 18:24:13 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
* method.c: Add a call to build_type_variant to get the right type.
Tue May 5 01:25:03 1998 Jason Merrill <jason@yorick.cygnus.com>
* Makefile.in: Add .SUFFIXES.

View File

@ -1031,6 +1031,8 @@ build_mangled_name (parmtypes, begin, end)
for ( ; parmtypes!=NULL; parmtypes = TREE_CHAIN (parmtypes))
{
parmtype = TREE_VALUE (parmtypes);
parmtype = build_type_variant (TYPE_MAIN_VARIANT (parmtype),
TYPE_READONLY (parmtype), TYPE_VOLATILE (parmtype));
if (flag_do_squangling) /* squangling style repeats */
{
if (parmtype == lasttype)