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 middle-end/23090] [4.0/4.1 Regression] gcc.c-torture/execute/20050713-1.c -Os fails


------- Additional Comments From dje at gcc dot gnu dot org  2005-07-27 22:37 -------
Optimizing with -O2 does not create a sibcall, but optimizing with -Os (enabling
string instructions) does.  The patch to detect overlap with the argument area
is not recognizing the insn stream with the string instruction as similarly
dangerous.  One can perform tailcall optimization on this type of function, but
one needs to insert a barrier that the argument area is clobbered.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23090


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