From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5430 invoked by alias); 14 Jul 2009 19:49:41 -0000 Received: (qmail 5399 invoked by uid 48); 14 Jul 2009 19:49:29 -0000 Date: Tue, 14 Jul 2009 19:49:00 -0000 Subject: [Bug bootstrap/40753] New: ICE in refs_may_alias_p_1 for libffi/src/powerpc/ffi.c X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "janis at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-07/txt/msg01153.txt.bz2 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 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