[llvm-commits] [llvm-gcc-4.2] r48902 - /llvm-gcc-4.2/trunk/gcc/config/i386/i386.c
Devang Patel
dpatel at apple.com
Thu Mar 27 15:35:13 PDT 2008
Author: dpatel
Date: Thu Mar 27 17:35:13 2008
New Revision: 48902
URL: http://llvm.org/viewvc/llvm-project?rev=48902&view=rev
Log:
This fixes 80 assertion failures in x86-64 struct-layout-1.exp test run.
Modified:
llvm-gcc-4.2/trunk/gcc/config/i386/i386.c
Modified: llvm-gcc-4.2/trunk/gcc/config/i386/i386.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/i386/i386.c?rev=48902&r1=48901&r2=48902&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/i386/i386.c (original)
+++ llvm-gcc-4.2/trunk/gcc/config/i386/i386.c Thu Mar 27 17:35:13 2008
@@ -3451,7 +3451,8 @@
/* X86_64_X87UP_CLASS should be preceded by X86_64_X87_CLASS. */
if (classes[i] == X86_64_X87UP_CLASS
&& (i == 0 || classes[i - 1] != X86_64_X87_CLASS))
- classes[i] = X86_64_SSE_CLASS;
+ /* LLVM LOCAL was this a gcc typo ? fix */
+ classes[i] = X86_64_X87_CLASS;
}
return words;
}
More information about the llvm-commits
mailing list