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

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Somehow this doesn't seem to work:

1462       if (typedef_variant_p (t))
1463         /* Explicitly get the underlying type, as TYPE_MAIN_VARIANT
doesn't
1464            strip typedefs with attributes.  */
1465         result = TYPE_MAIN_VARIANT (DECL_ORIGINAL_TYPE (TYPE_NAME (t)));

In this case T is real_type Ta and we end up with result = real_type F.

Reply via email to