This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/38644] [4.4/4.5/4.6/4.7 Regression] Optimization flag -O1 -fschedule-insns2 causes wrong code
- From: "sebastian dot huber at embedded-brains dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 5 Aug 2011 06:49:48 +0000
- Subject: [Bug rtl-optimization/38644] [4.4/4.5/4.6/4.7 Regression] Optimization flag -O1 -fschedule-insns2 causes wrong code
- Auto-submitted: auto-generated
- References: <bug-38644-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38644
--- Comment #40 from Sebastian Huber <sebastian.huber@embedded-brains.de> 2011-08-05 06:49:00 UTC ---
(In reply to comment #39)
> On Fri, Aug 5, 2011 at 2:33 AM, jiangning.liu at arm dot com
[...]
> > Is it possible you send me your source code exposing the bug first, so I can
> > verify your problem can really be fixed with my local fix?
>
> I think this is just from the libstdc++ sources - look at that file
> from the build with --with-mode=thumb .
Yes, this is from the libstdc++ sources (4.6.1 20110627,
libstdc++-v3/libsupc++/new_opnt.cc). You need a non-EABI ARM variant of GCC
since this bug manifestation will only show up in the SJLJ version.