public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "janis at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/40753] New: ICE in refs_may_alias_p_1 for libffi/src/powerpc/ffi.c Date: Tue, 14 Jul 2009 19:49:00 -0000 [thread overview] Message-ID: <bug-40753-4503@http.gcc.gnu.org/bugzilla/> (raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1635 bytes --] Compiling libffi/src/powerpc/ffi.c as part of a bootstrap for powerpc*-*-linux* fails starting with this patch: http://gcc.gnu.org/viewcvs?view=rev&rev=149624 r149624 | rguenth | 2009-07-14 09:59:18 +0000 (Tue, 14 Jul 2009) This minimized testcase demonstrates the problem: -------------------------------------------------------------- typedef long unsigned int size_t; typedef struct { unsigned nargs; } ffi_cif; typedef struct { char tramp[24]; ffi_cif *cif; } ffi_closure; extern void *memcpy (void *, const void *, size_t); extern void ffi_closure_LINUX64 (void); int ffi_prep_closure_loc (ffi_closure *closure, ffi_cif *cif) { void **tramp = (void **) &closure->tramp[0]; memcpy (tramp, (char *) ffi_closure_LINUX64, 16); closure->cif = cif; return 0; } -------------------------------------------------------------- elm3b149% /home/janis/build/build-gcc-trunk-anonsvn/gcc/cc1 -quiet -O2 bug0714.c bug0714.c: In function ffi_prep_closure_loc: bug0714.c:21:1: internal compiler error: in refs_may_alias_p_1, at tree-ssa-alias.c:746 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. -- Summary: ICE in refs_may_alias_p_1 for libffi/src/powerpc/ffi.c Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: janis at gcc dot gnu dot org GCC target triplet: powerpc*-*-linux* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40753
next reply other threads:[~2009-07-14 19:49 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-07-14 19:49 janis at gcc dot gnu dot org [this message] 2009-07-14 21:46 ` [Bug bootstrap/40753] [4.5 Regression] " rguenth at gcc dot gnu dot org 2009-07-14 21:58 ` rguenth at gcc dot gnu dot org 2009-07-15 9:26 ` rguenth at gcc dot gnu dot org 2009-07-15 9:43 ` rguenth at gcc dot gnu dot org 2009-07-23 17:52 ` hjl 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=bug-40753-4503@http.gcc.gnu.org/bugzilla/ \ --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).