On Oct 14, 2005, at 3:11 PM, Kean Johnston wrote:
All, I am getting a lot of test suite failures with almost all of the vect/* tests. I am using pr18400.c from the test suite as an example here, becuase its about the smallest one I can find. Here is what is generated at -O2:
Can you try -fno-optimize-sibling-calls and see if that works? If so, then the problem is that we sibling calls should not be done in main. To fix the testcase anyways to be correct is to put "return 0;" after the call to main1. Since right now the return of main could be anything. Thanks, Andrew Pinski