This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/70676] suboptimal code generation on AVR
- From: "night_ghost at ykoctpa dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 05 Dec 2016 12:22:48 +0000
- Subject: [Bug target/70676] suboptimal code generation on AVR
- Auto-submitted: auto-generated
- References: <bug-70676-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70676
--- Comment #6 from night_ghost at ykoctpa dot ru ---
I reported not one case but suboptimal behavior while optimizing size - GCC
optimization of sibling calls increases size of binary. There are a lot of such
places in this code.
And GCC never replaces call-ret sequence to jmp, relying on linkers optimizing
by -relax. But including -relax flag often spoils the project to complete
failure.