https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67110
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|hjl at gcc dot gnu.org |hjl.tools at gmail dot
com
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Since
/* Clear all scratch integer registers. */
#define clear_int_hardware_registers \
asm __volatile__ ("xor %%eax, %%eax\n\t" \
"xor %%edx, %%edx\n\t" \
"xor %%ecx, %%ecx\n\t" \
::: "eax", "edx", "ecx");
/* Clear both hardware and register structs for integers, excluding the
one used to return aggregate. */
#define clear_non_sret_int_registers \
clear_struct_registers \
clear_non_sret_int_hardware_registers
#undef D
#define D(I) { static struct S_ ## I s; current_test = I; struct_addr =
(void*)&s; \
clear_non_sret_int_registers; \
s = WRAP_RET(f_ ## I) (); \
check_all(class_ ## I, sizeof(s)); \
}
trash PIC register, iamcu tests should add -fno-PIC -no-pie.