This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/38644] [4.6 Regression] Optimization flag -O1 -fschedule-insns2 causes wrong code
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 31 Jul 2012 16:49:54 +0000
- Subject: [Bug rtl-optimization/38644] [4.6 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 #66 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-07-31 16:49:54 UTC ---
(In reply to comment #65)
> Also saw the same problem on MIPS
> Compiling using 'gcc version 4.5.2 (Sourcery CodeBench Lite 2011.09-86)'
You should report that issue to Mentor because it was fixed with:
2011-10-02 Richard Sandiford <rdsandiford@googlemail.com>
* config/mips/mips.c (mips_frame_barrier): New function.
(mips_expand_prologue): Call it after allocating stack space.
(mips_deallocate_stack): New function.
(mips_expand_epilogue): Call mips_frame_barrier and
mips_deallocate_stack.