GCC Bugzilla – Attachment 36499 Details for
Bug 60040
AVR: error: unable to find a register to spill in class 'POINTER_REGS'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Second testcase, needs -Os to break
test2.c (text/plain), 419 bytes, created by
Matthijs Kooijman
on 2015-10-13 12:56:23 UTC
(
hide
)
Description:
Second testcase, needs -Os to break
Filename:
MIME Type:
Creator:
Matthijs Kooijman
Created:
2015-10-13 12:56:23 UTC
Size:
419 bytes
patch
obsolete
>float dhistory[10]; >float test; > >float getSlope(float history[]) { > float sumx = 0; > float sumy = 0; > float sumxy = 0; > float sumxsq = 0; > float rate = 0; > int n = 10; > > int i; > for (i=1; i< 11; i++) { > sumx = sumx + i; > sumy = sumy + history[i-1]; > sumy = sumy + history[i-1]; > sumxsq = sumxsq + (i*i); > } > > rate = sumy+sumx+sumxsq; > return rate; >} > >void loop() { > test = getSlope(dhistory); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 60040
:
32024
|
32372
| 36499 |
37320