This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/41089] [4.5 Regression] stdarg pass produces wrong code



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]