On Mon, Aug 17, 2009 at 11:08:21PM -0000, David Chisnall wrote:
>    const char *TargetPrefix = getContext().Target.getTargetPrefix();
>    if (strcmp(TargetPrefix, "x86") == 0) {
>      bool IsDarwin = strstr(getContext().Target.getTargetTriple(), "darwin");
> +    bool isPPCStructReturnABI = IsDarwin ||

This should be PCC as in Portable C Compiler, PPC confuses things.
Additionally the logic seems to be the inverse of what is expected.
Darwin does not set this for example.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to