This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/41089] [4.5 Regression] stdarg pass produces wrong code
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2010 22:57:38 -0000
- Subject: [Bug tree-optimization/41089] [4.5 Regression] stdarg pass produces wrong code
- References: <bug-41089-1649@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #41 from rguenth at gcc dot gnu dot org 2010-01-22 22:57 -------
(In reply to comment #40)
> Running tree-stdarg earlier would introduce non-obvious pass ordering
> requirements IIUC. I don't think that's a good idea...
Well given that practically we moved stdarg towards the back by adding
early optimizations it would be not unreasonable to move it right after
pass_return_slot. That retains scalar cleanup after final inlining.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41089