[llvm-commits] [llvm] r62587 - /llvm/trunk/test/FrontendC/2009-01-20-k8.c

Anton Korobeynikov anton at korobeynikov.info
Tue Jan 20 23:51:12 PST 2009


Hi, Chris

> Does this work when run on a ppc host?
The whole program is the follows: there is invalid -march processing  
logic in the apple gcc, so every x86 64 bit specified explicitly (e.g.  
k8, core2) will lead to invalid initialization of gcc's internal  
structures and lead, for example, to alignment of 4 of long double.  
There are two ways to check for this currently:
1. Feed empty file to fortran frontend (with march set to k8/core2),  
fortran fe constructs some aux trees during initialization and thus  
this will assert / ICE soon
2. Feed something using long double to C / C++ frontend.

We really need some sort of test for this, otherwise I worry at some  
next merge the fix can be removed again. What if we just xfail it for  
everything non-x86 ?

---
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-commits mailing list