From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21911 invoked by alias); 25 Oct 2002 18:26:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 21827 invoked by uid 71); 25 Oct 2002 18:26:01 -0000 Resent-Date: 25 Oct 2002 18:26:00 -0000 Resent-Message-ID: <20021025182600.21825.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, graham.stott@btinternet.com Resent-Reply-To: gcc-gnats@gcc.gnu.org, aj@suse.de Received: (qmail 28766 invoked by uid 61); 25 Oct 2002 18:19:42 -0000 Message-Id: <20021025181942.28757.qmail@sources.redhat.com> Date: Fri, 25 Oct 2002 11:26:00 -0000 From: aj@suse.de Reply-To: aj@suse.de To: gcc-gnats@gcc.gnu.org Cc: graham.stott@btinternet.com X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) X-GNATS-Notify: graham.stott@btinternet.com Subject: ada/8358: Ada accesses freed memory X-SW-Source: 2002-10/txt/msg01023.txt.bz2 List-Id: >Number: 8358 >Category: ada >Synopsis: Ada accesses freed memory >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Fri Oct 25 11:26:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: aj@suse.de >Release: GCC 3.3 CVS 20021016 >Organization: >Environment: i686-linux-gnu with glibc 2.2.5 >Description: For more details see also the thread starting at: http://gcc.gnu.org/ml/gcc-bugs/2002-10/msg00764.html and especially these follow-ups: http://gcc.gnu.org/ml/gcc-bugs/2002-10/msg00828.html http://gcc.gnu.org/ml/gcc-bugs/2002-10/msg00859.html The problem is this error: $ ../../xgcc -B../../ -c -g -O2 -g -O2 -W -Wall -gnatpg -I. -I/cvs/gcc/gcc/ada s-intman.adb -v -save-temps Reading specs from ../../specs Configured with: /cvs/gcc/configure --prefix=/opt/gcc/3.3-devel --disable-nls --enable-threads=posix --enable-clocale=gnu --enable-__cxa_atexit --enable-shared --enable-languages=c,c++,f77,java,objc,ada,treelang --enable-checking=misc,tree,rtl,gc,rtlflag,gcac --with-system-zlib Thread model: posix gcc version 3.3 20021016 (experimental) ../../gnat1 -I. -I/cvs/gcc/gcc/ada -quiet -dumpbase s-intman.adb -g -g -gnatpg -O2 -O2 -W -Wall s-intman.adb -o s-intman.s +===========================GNAT BUG DETECTED==============================+ | 3.3 20021016 (experimental) (i686-pc-linux-gnu) Storage_Error stack overflow (or erroneous memory access)| | Error detected at s-intman.adb:113:20 | | Please submit bug report by email to gcc-bugs@gcc.gnu.org. | | Use a subject line meaningful to you and us to track the bug. | | 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). | | (use plain ASCII or MIME attachment). | | See gnatinfo.txt for full info on procedure for submitting bugs. | +==========================================================================+ Please include these source files with error report compilation abandoned build_unit_elab (gnat_unit=1076058484, body_p=1, gnu_elab_list=0xa5a5a5a5) at /cvs/gcc/gcc/ada/trans.c:5324 5324 if (TREE_PURPOSE (gnu_elab_list) == NULL_TREE) (gdb) bt #0 build_unit_elab (gnat_unit=1076058484, body_p=1, gnu_elab_list=0xa5a5a5a5) at /cvs/gcc/gcc/ada/trans.c:5324 #1 0x4001d2d0 in ?? () #2 0x08078ecf in tree_transform (gnat_node=1355) at /cvs/gcc/gcc/ada/sinfo.h:813 #3 0x08071ee6 in gnat_to_code (gnat_node=1076025312) at /cvs/gcc/gcc/ada/trans.c:232 internal error - unimplemented function unk_lang_create_fundamental_type called. (gdb) p gnu_elab_list $1 = (union tree_node *) 0xa5a5a5a5 >How-To-Repeat: compile with --enable-checking=gcac and see it fail when building the gnat-tools (make -C gcc gnatlib_and_tools). >Fix: >Release-Note: >Audit-Trail: >Unformatted: