Skip to content

Basics.cpp:51: error: unable to find a register to spill in class 'POINTER_REGS' #1

@jscurry

Description

@jscurry

I downloaded and attempted to compile this code on an Arduino UNO with nothing added.
I got the error:
Basics.cpp:51: error: unable to find a register to spill in class 'POINTER_REGS'

Here is the complete error message:
--------------------------------------

C:\Users\jscurry\AppData\Local\Temp\arduino_build_323874\sketch\Basics.cpp: In function 'multiply':

Basics.cpp:51: error: unable to find a register to spill in class 'POINTER_REGS'

}

^

Basics.cpp:51: error: this is the insn:

(insn 113 33 114 2 (set (reg:QI 26 r26)

    (reg:QI 113 [ .result_ptr ])) C:\Users\jscurry\AppData\Local\Temp\arduino_build_323874\sketch\Basics.cpp:43 71 {movqi_insn}

 (nil))

C:\Users\jscurry\AppData\Local\Temp\arduino_build_323874\sketch\Basics.cpp:51: confused by earlier errors, bailing out

lto-wrapper: C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc returned 1 exit status

c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/4.9.2/../../../../avr/bin/ld.exe: lto-wrapper failed

collect2.exe: error: ld returned 1 exit status

Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI
exit status 1
unable to find a register to spill in class 'POINTER_REGS'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions