Jan Hubicka <jh@suse.cz> writes:
Sorry for the delay. I must have missed your mail twice. The patch is OK for mainline/3.3 branch.
I'll test it locally and will then commit it to both branches, Thanks, Andreas 2003-10-21 Waldek Hebisch <hebisch@math.uni.wroc.pl> * config/i386/i386.c (classify_argument): Handle SET_TYPE.
Honza
diff -ru gcc-3.3.1.orig/gcc/config/i386/i386.c gcc-3.3.1/gcc/config/i386/i386.c --- gcc-3.3.1.orig/gcc/config/i386/i386.c Tue Jul 8 21:16:44 2003 +++ gcc-3.3.1/gcc/config/i386/i386.c Thu Oct 16 00:25:52 2003 @@ -1853,6 +1853,31 @@ } } } + else if (TREE_CODE (type) == SET_TYPE) + { + if (bytes <= 4) + { + classes[0] = X86_64_INTEGERSI_CLASS; + return 1; + } + else if (bytes <= 8) + { + classes[0] = X86_64_INTEGER_CLASS; + return 1; + } + else if (bytes <= 12) + { + classes[0] = X86_64_INTEGER_CLASS; + classes[1] = X86_64_INTEGERSI_CLASS; + return 2; + } + else + { + classes[0] = X86_64_INTEGER_CLASS; + classes[1] = X86_64_INTEGER_CLASS; + return 2; + } + } else abort ();
-- Waldek Hebisch hebisch@math.uni.wroc.pl
Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126