On Sat, 28 Feb 2026, Martin Uecker wrote:

> +/* Helper function for c_canonical_type.  Check whether FIELD
> + * contains a pointer to a structure or union with tag,
> + * possibly nested in other type derivations.  */

> +/* For a record or union type, make necessary adaptations so that the
> + * type can be used as TYPE_CANONICAL.
> + *
> + * If the TYPE contains a pointer (possibly nested in other type
> + * derivations) to a structure or union as a member, create a copy
> + * and change such pointers to void pointers.  Otherwise, the middle-end
> + * gets confused when recording component aliases in the case where we
> + * have formed equivalency classes that include types for which these
> + * member pointers end up pointing to other structure or unions types
> + * which have the same tag but are not compatible.  */

We don't use a leading '*' on second and subsequent lines of comments.

The patch is OK with that fixed.

-- 
Joseph S. Myers
[email protected]

Reply via email to