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

--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> What is different about 32-bit SPARC is not that it treats pointers and
> integers differently, but that
> 
> struct { void *p; }
> 
> and
> 
> void *p;
> 
> are passed as arguments in two different ways.  The former is passed by
> invisible reference and the latter is passed directly.  On many platforms
> they are passed as arguments in exactly the same way.

Thanks.  I'm a little skeptical about the "many" here, although that's probably
true for modern architectures.  In any case, assuming that scalar and structure
types are passed the same way is clearly an unwarranted assumption overall.

Reply via email to