public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/30919] [4.1 regression] unable to find a register to spill in class 'CREG' Date: Thu, 22 Feb 2007 11:04:00 -0000 [thread overview] Message-ID: <20070222110420.6757.qmail@sourceware.org> (raw) In-Reply-To: <bug-30919-5724@http.gcc.gnu.org/bugzilla/> ------- Comment #3 from rguenth at gcc dot gnu dot org 2007-02-22 11:04 ------- Confirmed. Whoever wrote that code should be .... typedef long unsigned int size_t; typedef signed int sal_Int32; typedef unsigned int sal_uInt32; typedef unsigned long int sal_uInt64; extern "C" void *memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); void callVirtualMethod(void * pThis, sal_uInt64 *pStack, sal_uInt32 nStack) { sal_uInt64 *stack = (sal_uInt64 *) __builtin_alloca( nStack * 8 ); memcpy( stack, pStack, nStack * 8 ); register sal_uInt64 a0 asm("rdi"); register sal_uInt64 a1 asm("rsi"); register sal_uInt64 a2 asm("rdx"); register sal_uInt64 a3 asm("rcx"); register sal_uInt64 a4 asm("r8"); register sal_uInt64 a5 asm("r9"); sal_uInt64 pMethod = *((sal_uInt64 *)pThis); typedef struct {} ReturnValue; typedef ReturnValue (* FunctionCall )( sal_uInt64, sal_uInt64, sal_uInt64, sal_uInt64, sal_uInt64, sal_uInt64 ); ReturnValue aRet = ( ( FunctionCall ) pMethod )( a0, a1, a2, a3, a4, a5 ); } -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |ice-on-valid-code Last reconfirmed|0000-00-00 00:00:00 |2007-02-22 11:04:19 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30919
next prev parent reply other threads:[~2007-02-22 11:04 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-02-22 0:35 [Bug target/30919] New: " debian-gcc at lists dot debian dot org 2007-02-22 0:35 ` [Bug target/30919] " debian-gcc at lists dot debian dot org 2007-02-22 9:41 ` rguenth at gcc dot gnu dot org 2007-02-22 11:04 ` rguenth at gcc dot gnu dot org [this message] 2007-02-22 11:25 ` ebotcazou at gcc dot gnu dot org 2007-09-26 19:10 ` pinskia at gcc dot gnu dot org 2008-07-04 16:02 ` jsm28 at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20070222110420.6757.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).