------- Comment #3 from hp at gcc dot gnu dot org 2008-09-02 01:48 ------- Created an attachment (id=16185) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16185&action=view) Non-working conceptual patch - just an illustration to my previous comment.
Unfortunately it doesn't work: the caller calls the (name of the) cloned function, but I don't see the cloned function in the generated assembly code, at least for gcc.c-torture/execute/931018-1.c at -O3. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37315