This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
"return" RTL template
- From: Petar Penchev <ptr at melexis dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 27 Jan 2004 10:56:24 +0200
- Subject: "return" RTL template
- Reply-to: ptr at melexis dot com
Hello,
In my ported .md file I have defined a "return" for a function, that does
not return any values, RTL as follows:
(define_insn "return"
[(return)]
""
"ret"
)
But, in thi assembly code I get nothing, i.e. no 'ret' instruction appears
What is wrong ?
Regards
Petar