mangle.c (write_builtin_type): Handle 128-bit integers even if they are not a standard integer type.
* mangle.c (write_builtin_type): Handle 128-bit integers even if they are not a standard integer type. From-SVN: r50743
This commit is contained in:
parent
7a8de19b4c
commit
049e687916
|
@ -1,3 +1,8 @@
|
||||||
|
2002-03-12 Richard Sandiford <rsandifo@redhat.com>
|
||||||
|
|
||||||
|
* mangle.c (write_builtin_type): Handle 128-bit integers even if
|
||||||
|
they are not a standard integer type.
|
||||||
|
|
||||||
2002-03-12 Richard Sandiford <rsandifo@redhat.com>
|
2002-03-12 Richard Sandiford <rsandifo@redhat.com>
|
||||||
|
|
||||||
* cp-tree.h (init_init_processing): Remove declaration.
|
* cp-tree.h (init_init_processing): Remove declaration.
|
||||||
|
|
|
@ -1506,8 +1506,8 @@ write_CV_qualifiers_for_type (type)
|
||||||
::= m # unsigned long
|
::= m # unsigned long
|
||||||
::= x # long long, __int64
|
::= x # long long, __int64
|
||||||
::= y # unsigned long long, __int64
|
::= y # unsigned long long, __int64
|
||||||
::= n # __int128 [not supported]
|
::= n # __int128
|
||||||
::= o # unsigned __int128 [not supported]
|
::= o # unsigned __int128
|
||||||
::= f # float
|
::= f # float
|
||||||
::= d # double
|
::= d # double
|
||||||
::= e # long double, __float80
|
::= e # long double, __float80
|
||||||
|
@ -1552,13 +1552,18 @@ write_builtin_type (type)
|
||||||
write_char (integer_type_codes[itk]);
|
write_char (integer_type_codes[itk]);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (itk == itk_none)
|
if (itk == itk_none)
|
||||||
{
|
{
|
||||||
tree t = type_for_mode (TYPE_MODE (type), TREE_UNSIGNED (type));
|
tree t = type_for_mode (TYPE_MODE (type), TREE_UNSIGNED (type));
|
||||||
if (type == t)
|
if (type == t)
|
||||||
/* Couldn't find this type. */
|
{
|
||||||
abort ();
|
if (TYPE_PRECISION (type) == 128)
|
||||||
|
write_char (TREE_UNSIGNED (type) ? 'o' : 'n');
|
||||||
|
else
|
||||||
|
/* Couldn't find this type. */
|
||||||
|
abort ();
|
||||||
|
}
|
||||||
type = t;
|
type = t;
|
||||||
goto iagain;
|
goto iagain;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue