This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/77543] ARM: G++ generates redundant instructions at -O0
- From: "mh at ashwireless dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 12 Sep 2016 10:23:34 +0000
- Subject: [Bug c++/77543] ARM: G++ generates redundant instructions at -O0
- Auto-submitted: auto-generated
- References: <bug-77543-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77543
--- Comment #4 from Michael Haben <mh at ashwireless dot com> ---
(In reply to Andrew Pinski from comment #3)
> Yes try -fno-exceptions . This is all documented already and 99% of folks
> who do embedded that don't want exceptions already use that flag. You might
> also want to disable rtti too.
Yes, I already use both of those but still get the "extra" code - I was hoping
you might know of another "-f...." switch that was more specific.