From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1001 invoked by alias); 30 Sep 2004 10:14:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 898 invoked by uid 48); 30 Sep 2004 10:13:57 -0000 Date: Thu, 30 Sep 2004 10:14:00 -0000 From: "ebotcazou at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20040930101343.17746.ebotcazou@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug bootstrap/17746] New: ICE when building the shared Ada RTS X-Bugzilla-Reason: CC X-SW-Source: 2004-09/txt/msg03738.txt.bz2 List-Id: The bugbox says it all: ../../xgcc -B../../ -c -g -O2 -fPIC -W -Wall -gnatpg g-awk.adb -o g-awk.o +===========================GNAT BUG DETECTED==============================+ | 4.0.0 20040930 (experimental) (sparc-sun-solaris2.8) GCC error: | | in expand_expr_addr_expr_1, at expr.c:6147 | | Error detected at g-awk.adb:1316:24 | | Please submit a bug report; see http://gcc.gnu.org/bugs.html. | | Include the entire contents of this bug box in the report. | | Include the exact gcc or gnatmake command that you entered. | | Also include sources listed below in gnatchop format | | (concatenated together with no headers between files). | +==========================================================================+ Please include these source files with error report Note that list may not be accurate in some cases, so please double check that the problem can still be reproduced with the set of files listed. raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:376 gmake[7]: *** [g-awk.o] Error 1 It's an assertion failure that happens at -O0 too: /* We must have made progress. */ gcc_assert (inner != exp); (gdb) frame 1 #1 0x00416110 in expand_expr_addr_expr_1 (exp=0xfe834400, target=0x0, tmode=SImode, modifier=EXPAND_NORMAL) at /home/eric/cvs/gcc/gcc/expr.c:6147 6147 gcc_assert (inner != exp); (gdb) p debug_tree(exp) unit size align 64 symtab 0 alias set 0 fields decl_3 BLK file g-awk.adb line 152 size unit size align 32 offset_align 64 offset bit offset context arguments chain > Ada size pointer_to_this reference_to_this chain > arg 0 unit size align 32 symtab 0 alias set -1 fields Ada size pointer_to_this reference_to_this chain > arg 0 readonly used unsigned ignored SI file g-awk.adb line 1180 size unit size align 32 context (reg:SI 111 [ P931b ]) chain >>> $1 = void -- Summary: ICE when building the shared Ada RTS Product: gcc Version: 4.0.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ebotcazou at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: sparc-sun-solaris2.8 GCC host triplet: sparc-sun-solaris2.8 GCC target triplet: sparc-sun-solaris2.8 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17746