------- Additional Comments From rearnsha at gcc dot gnu dot org 2005-08-11 15:55 ------- The problem seems to be related to the fact that in this configuration the compiler has decided that bar2 can tailcall foo2. In order to do this it then has to swap x & y in place (well, with one temporary copy on the stack). But the code emitted to do this appears to be completely bogus in the first rtl dump. For some reason this same code does not use a tailcall when -mabi=atpcs is used.
-- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Known to fail| |4.1.0 Last reconfirmed|0000-00-00 00:00:00 |2005-08-11 15:55:15 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23150