From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13739 invoked by alias); 4 May 2012 18:01:36 -0000 Received: (qmail 13723 invoked by uid 22791); 4 May 2012 18:01:35 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_GD,TW_VP X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 May 2012 18:01:24 +0000 From: "jan.kratochvil at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug ada/14060] New: Crash regression for GCC HEAD Date: Fri, 04 May 2012 18:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: ada X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jan.kratochvil at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2012-q2/txt/msg00074.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14060 Bug #: 14060 Summary: Crash regression for GCC HEAD Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: ada AssignedTo: unassigned@sourceware.org ReportedBy: jan.kratochvil@redhat.com CC: brobecker@adacore.com Classification: Unclassified Target: x86_64-unknown-linux-gnu rm -rf gdb.ada/arrayidx/;git reset --hard # workaround ada testcases rebuilding PATH="/your/path/to/gcc-head/bin:$PATH" runtest GNATMAKE_FOR_TARGET='gnatmake --GCC=gcc\ -gdwarf-4\ -fdebug-types-section\ -g0' gdb.ada/arrayidx.exp also reproducible with: ../gdb -nx gdb.ada/arrayidx/p -ex 'break p.adb:44' -ex r -ex 'print e_one_two_three' ada-lang.c:10546: internal-error: to_fixed_range_type: Assertion `TYPE_NAME (raw_type) != NULL' failed. 10545 gdb_assert (raw_type != NULL); 10546 gdb_assert (TYPE_NAME (raw_type) != NULL); (gdb) p *raw_type.main_type $3 = {name = 0x0, tag_name = 0x7ffff7e12282 "p__index", code = TYPE_CODE_ENUM, flags = [objfile_owned], owner = 0x216d0f0 (objfile), target_type = 0x0, vptr_basetype = 0x0, type_specific_field = TYPE_SPECIFIC_NONE} GDB definitely should not internal error on GCC output. Whether the GCC HEAD change is valid or not I do not know. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.