[Bug target/12329] x86: local function declared with attribute((regparm(3))) gets corrupted parent frame pointer

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Mar 22 19:52:00 GMT 2008



------- Comment #4 from ubizjak at gmail dot com  2008-03-22 19:51 -------
(In reply to comment #3)
> Subject: Bug 12329
> 
> Author: hjl
> Date: Sat Mar 22 16:03:57 2008
> New Revision: 133448

According to [1], it is not good to silently change number of passing arguments
for a declared regparm(X) function.

[1] http://gcc.gnu.org/ml/gcc-patches/2008-03/msg01310.html


-- 


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



More information about the Gcc-bugs mailing list