This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
We, at Apple, found pr27528.c failed on x86 MacOS as asm_operand_ok routine performs the following test,
case 'i':
if (CONSTANT_P (op) && (! flag_pic || LEGITIMATE_PIC_OPERAND_P (op)))
result = 1;
break;
We felt asm's aren't expected to figure out the necessary sequence for pic code and would like to propose adding -fno-pic option for the test.
The following patch has been tested on ppc and x86 MacOS.
gcc/testsuite/ChangeLog: * gcc.c-torture/compile/pr27528.c: Add -fno-pic option.
OK?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |