This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [LTO][PATCH] Fix long double precision problem
""Doug Kwan (éæå)"" <dougkwan@google.com> writes:
> Index: gcc/dwarf2out.c
> ===================================================================
> --- gcc/dwarf2out.c (revision 130795)
> +++ gcc/dwarf2out.c (working copy)
> @@ -8494,7 +8494,8 @@ base_type_die (tree type)
>
> /* Emit extra information for integral types whose precision is less
> than the bit width of their containing object. */
> - if (TREE_CODE (type) == INTEGER_TYPE
> + if ((TREE_CODE (type) == INTEGER_TYPE
> + || SCALAR_FLOAT_TYPE_P (type))
> && TYPE_PRECISION (type) < byte_size * BITS_PER_UNIT)
> {
What if the padding is internal?
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃe 5, 90409 NÃrnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."