This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug ada/14060] New: Crash regression for GCC HEAD
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 04 May 2012 18:00:41 +0000
- Subject: [Bug ada/14060] New: Crash regression for GCC HEAD
- Auto-submitted: auto-generated
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.