https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100261

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:01b2864757540d24c4e717a77b40b29369c064b2

commit r12-895-g01b2864757540d24c4e717a77b40b29369c064b2
Author: Jason Merrill <ja...@redhat.com>
Date:   Tue May 18 17:15:42 2021 -0400

    c++: ICE with bad definition of decimal32 [PR100261]

    The change to only look at the global binding for non-classes meant that
    here, when dealing with decimal32 which is magically mangled like its first
    non-static data member, we got a collision with the mangling for float.
    Fixed by also looking up an existing binding for such magical classes.

            PR c++/100261

    gcc/cp/ChangeLog:

            * rtti.c (get_tinfo_decl_direct): Check TYPE_TRANSPARENT_AGGR.

    gcc/testsuite/ChangeLog:

            * g++.dg/dfp/mangle-6.C: New test.

Reply via email to