[Bug target/70677] Suboptimal cond on AVR: unneeded stack frame

2017-01-07 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70677 --- Comment #10 from Georg-Johann Lay --- *** Bug 52025 has been marked as a duplicate of this bug. ***

[Bug target/70677] Suboptimal cond on AVR: unneeded stack frame

2016-08-04 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70677 Georg-Johann Lay changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/70677] Suboptimal cond on AVR: unneeded stack frame

2016-08-04 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70677 --- Comment #8 from Georg-Johann Lay --- Author: gjl Date: Thu Aug 4 07:52:38 2016 New Revision: 239117 URL: https://gcc.gnu.org/viewcvs?rev=239117=gcc=rev Log: PR 70677 * common/config/avr/avr-common.c

[Bug target/70677] Suboptimal cond on AVR: unneeded stack frame

2016-08-03 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70677 --- Comment #7 from Georg-Johann Lay --- Author: gjl Date: Wed Aug 3 15:46:11 2016 New Revision: 239080 URL: https://gcc.gnu.org/viewcvs?rev=239080=gcc=rev Log: PR 70677 * common/config/avr/avr-common.c

[Bug target/70677] Suboptimal cond on AVR: unneeded stack frame

2016-05-25 Thread night_ghost at ykoctpa dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70677 --- Comment #6 from night_ghost at ykoctpa dot ru --- Thank you again for such good key - it saves me 150 bytes. Moreover this key is not listed in GCC's possible optimisations for AVR. PS. Why it not included by default to -Os? What can be

[Bug target/70677] Suboptimal cond on AVR: unneeded stack frame

2016-05-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70677 --- Comment #5 from Georg-Johann Lay --- Maybe -fno-caller-saves is what you are looking for? Here is a C test case guessed from your first code snipped: typedef struct { unsigned char x, y; } point; extern void printSpeed (long, unsigned

[Bug target/70677] Suboptimal cond on AVR: unneeded stack frame

2016-05-24 Thread night_ghost at ykoctpa dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70677 --- Comment #4 from night_ghost at ykoctpa dot ru --- Created attachment 38550 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38550=edit testcase in attachment for AVR platform arduino.h is the most that neither is a standard :)

[Bug target/70677] Suboptimal cond on AVR: unneeded stack frame

2016-05-23 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70677 --- Comment #3 from Georg-Johann Lay --- You can follow the bug reporting instructions an provide the preprocessed code and the compiler output as described in https://gcc.gnu.org/bugs/#need Just add -v -save-temps to the compiler's command

[Bug target/70677] Suboptimal cond on AVR: unneeded stack frame

2016-05-23 Thread night_ghost at ykoctpa dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70677 --- Comment #2 from night_ghost at ykoctpa dot ru --- all code samples from https://github.com/night-ghost/minimosd-extra/tree/master/MinimOsd_Extra. When I try to isolate a piece of code with a bug in one file, it is compiled differently than in

[Bug target/70677] Suboptimal cond on AVR: unneeded stack frame

2016-05-21 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70677 Georg-Johann Lay changed: What|Removed |Added Keywords||missed-optimization