https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71657
Tom de Vries <vries at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ra, wrong-code CC| |andrew.burgess at embecosm dot com | |, claziss at gcc dot gnu.org, | |clm at codesourcery dot com, | |matthew.fortune at imgtec dot com, | |vmakarov at redhat dot com, | |vries at gcc dot gnu.org --- Comment #10 from Tom de Vries <vries at gcc dot gnu.org> --- > * config/i386/i386.c (TARGET_SPILL_CLASS): #if 0 out the definition. > (ix86_spill_class): Disable to always return NO_REGS. This fixes the PR for i386, but I get the impression from "Suspended until the infrastructure is ready" that the problem is not in the target hook definition. Meaning that this PR may still occur for the other archs that define the target hook: mips and arc. Shouldn't we disable this optimization in the common code?