Commit 664f169d by Andrew MacLeod Committed by Andrew Macleod

Call build_type_variant in method.c

From-SVN: r19544
parent 3d90c2b5
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.
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment