Blame SOURCES/gdb-rhbz795424-bitpos-25of25-test.patch

01917d
http://sourceware.org/ml/gdb-patches/2012-10/msg00231.html
01917d
Subject: Re: [PATCH] Expand fortran array bounds sizes to LONGEST
01917d
01917d
On Mon, 15 Oct 2012 15:25:55 +0200, Jan Kratochvil wrote:
01917d
> I have filed for it now:
01917d
> 	Invalid debug/ array bounds w/-fno-range-check and 32-bit target
01917d
> 	http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54934
01917d
01917d
Therefore it looks as a valid gfortran FSF GCC HEAD bug so provided
01917d
a hand-patched .S file for i386; patched GDB PASSes with it.
01917d
01917d
01917d
Thanks,
01917d
Jan
01917d
01917d
01917d
2012-10-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
01917d
	    Jan Kratochvil  <jan.kratochvil@redhat.com>
01917d
01917d
	* gdb.fortran/array-bounds.exp: New test file.
01917d
	* gdb.fortran/array-bounds.f: New test file.
01917d
	* gdb.fortran/array-bounds.S: New test file.
01917d
01917d
--- /dev/null	2012-09-26 15:32:16.098506310 +0200
01917d
+++ gdb-7.2/gdb/testsuite/gdb.fortran/array-bounds.exp	2012-10-15 20:53:26.427072583 +0200
01917d
@@ -0,0 +1,43 @@
01917d
+# Copyright 2012 Free Software Foundation, Inc.
01917d
+
01917d
+# This program is free software; you can redistribute it and/or modify
01917d
+# it under the terms of the GNU General Public License as published by
01917d
+# the Free Software Foundation; either version 3 of the License, or
01917d
+# (at your option) any later version.
01917d
+#
01917d
+# This program is distributed in the hope that it will be useful,
01917d
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
01917d
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
01917d
+# GNU General Public License for more details.
01917d
+#
01917d
+# You should have received a copy of the GNU General Public License
01917d
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
01917d
+
01917d
+# This file is part of the gdb testsuite.  It contains test to ensure that
01917d
+# array bounds accept LONGEST.
01917d
+
01917d
+if { [skip_fortran_tests] } { return -1 }
01917d
+
01917d
+set testfile "array-bounds"
01917d
+
01917d
+if { [is_ilp32_target] && ([istarget "i\[34567\]86-*-linux*"]
01917d
+			   || [istarget "x86_64-*-linux*"]) } {
01917d
+    set srcfile ${testfile}.S
01917d
+    set opts {nodebug f90}
01917d
+} else {
01917d
+    set srcfile ${testfile}.f
01917d
+    set opts {debug f90}
01917d
+}
01917d
+
01917d
+if {[prepare_for_testing $testfile.exp $testfile $srcfile $opts]} {
01917d
+    print "compile failed"
01917d
+    return -1
01917d
+}
01917d
+
01917d
+if { ![runto MAIN__] } {
01917d
+    perror "Could not run to breakpoint `MAIN__'."
01917d
+    continue
01917d
+}
01917d
+
01917d
+gdb_test "print &foo" {.*\(4294967296:4294967297\).*}
01917d
+gdb_test "print &bar" {.*\(-4294967297:-4294967296\).*}
01917d
--- /dev/null	2012-09-26 15:32:16.098506310 +0200
01917d
+++ gdb-7.2/gdb/testsuite/gdb.fortran/array-bounds.f	2012-10-15 19:35:12.500254261 +0200
01917d
@@ -0,0 +1,22 @@
01917d
+c Copyright 2012 Free Software Foundation, Inc.
01917d
+
01917d
+c This program is free software; you can redistribute it and/or modify
01917d
+c it under the terms of the GNU General Public License as published by
01917d
+c the Free Software Foundation; either version 3 of the License, or
01917d
+c (at your option) any later version.
01917d
+c
01917d
+c This program is distributed in the hope that it will be useful,
01917d
+c but WITHOUT ANY WARRANTY; without even the implied warranty of
01917d
+c MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
01917d
+c GNU General Public License for more details.
01917d
+c
01917d
+c You should have received a copy of the GNU General Public License
01917d
+c along with this program.  If not, see <http://www.gnu.org/licenses/>.
01917d
+
01917d
+        dimension foo(4294967296_8:4294967297_8)
01917d
+        dimension bar(-4294967297_8:-4294967296_8)
01917d
+        bar = 42
01917d
+        foo=bar
01917d
+        stop
01917d
+        end
01917d
+
01917d
--- /dev/null	2012-09-26 15:32:16.098506310 +0200
01917d
+++ gdb-7.2/gdb/testsuite/gdb.fortran/array-bounds.S	2012-10-15 20:52:36.851118215 +0200
01917d
@@ -0,0 +1,529 @@
01917d
+/* Copyright 2012 Free Software Foundation, Inc.
01917d
+
01917d
+   This program is free software; you can redistribute it and/or modify
01917d
+   it under the terms of the GNU General Public License as published by
01917d
+   the Free Software Foundation; either version 3 of the License, or
01917d
+   (at your option) any later version.
01917d
+
01917d
+   This program is distributed in the hope that it will be useful,
01917d
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
01917d
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
01917d
+   GNU General Public License for more details.
01917d
+
01917d
+   You should have received a copy of the GNU General Public License
01917d
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.
01917d
+
01917d
+   This file is part of the gdb testsuite.  */
01917d
+
01917d
+	.file	"array-bounds.f"
01917d
+	.text
01917d
+.Ltext0:
01917d
+	.type	MAIN__, @function
01917d
+MAIN__:
01917d
+.LFB0:
01917d
+	.file 1 "gdb.fortran/array-bounds.f"
01917d
+	# gdb.fortran/array-bounds.f:16
01917d
+	.loc 1 16 0
01917d
+	.cfi_startproc
01917d
+# BLOCK 2 seq:0
01917d
+# PRED: ENTRY (FALLTHRU)
01917d
+	pushl	%ebp
01917d
+.LCFI0:
01917d
+	.cfi_def_cfa_offset 8
01917d
+	.cfi_offset 5, -8
01917d
+	movl	%esp, %ebp
01917d
+.LCFI1:
01917d
+	.cfi_def_cfa_register 5
01917d
+	subl	$40, %esp
01917d
+.LBB2:
01917d
+# SUCC: 3 (FALLTHRU)
01917d
+	# gdb.fortran/array-bounds.f:18
01917d
+	.loc 1 18 0
01917d
+	movl	$-1, %eax
01917d
+# BLOCK 3 seq:1
01917d
+# PRED: 2 (FALLTHRU) 4 [100.0%] 
01917d
+.L3:
01917d
+	# gdb.fortran/array-bounds.f:18
01917d
+	.loc 1 18 0 is_stmt 0 discriminator 1
01917d
+	testl	%eax, %eax
01917d
+# SUCC: 5 4 (FALLTHRU)
01917d
+	jg	.L2
01917d
+# BLOCK 4 seq:2
01917d
+# PRED: 3 (FALLTHRU)
01917d
+	# gdb.fortran/array-bounds.f:18
01917d
+	.loc 1 18 0 discriminator 2
01917d
+	leal	1(%eax), %ecx
01917d
+	movl	.LC0, %edx
01917d
+	movl	%edx, -16(%ebp,%ecx,4)
01917d
+	addl	$1, %eax
01917d
+# SUCC: 3 [100.0%] 
01917d
+	jmp	.L3
01917d
+# BLOCK 5 seq:3
01917d
+# PRED: 3
01917d
+.L2:
01917d
+.LBE2:
01917d
+	# gdb.fortran/array-bounds.f:19
01917d
+	.loc 1 19 0 is_stmt 1
01917d
+	movl	-16(%ebp), %eax
01917d
+	movl	-12(%ebp), %edx
01917d
+	movl	%eax, -24(%ebp)
01917d
+	movl	%edx, -20(%ebp)
01917d
+	# gdb.fortran/array-bounds.f:20
01917d
+	.loc 1 20 0
01917d
+	movl	$0, 4(%esp)
01917d
+	movl	$0, (%esp)
01917d
+# SUCC:
01917d
+	call	_gfortran_stop_string
01917d
+	.cfi_endproc
01917d
+.LFE0:
01917d
+	.size	MAIN__, .-MAIN__
01917d
+	.globl	main
01917d
+	.type	main, @function
01917d
+main:
01917d
+.LFB1:
01917d
+	# gdb.fortran/array-bounds.f:21
01917d
+	.loc 1 21 0
01917d
+	.cfi_startproc
01917d
+# BLOCK 2 seq:0
01917d
+# PRED: ENTRY (FALLTHRU)
01917d
+	pushl	%ebp
01917d
+.LCFI2:
01917d
+	.cfi_def_cfa_offset 8
01917d
+	.cfi_offset 5, -8
01917d
+	movl	%esp, %ebp
01917d
+.LCFI3:
01917d
+	.cfi_def_cfa_register 5
01917d
+	andl	$-16, %esp
01917d
+	subl	$16, %esp
01917d
+	# gdb.fortran/array-bounds.f:21
01917d
+	.loc 1 21 0
01917d
+	movl	12(%ebp), %eax
01917d
+	movl	%eax, 4(%esp)
01917d
+	movl	8(%ebp), %eax
01917d
+	movl	%eax, (%esp)
01917d
+	call	_gfortran_set_args
01917d
+	movl	$options.1.1824, 4(%esp)
01917d
+	movl	$7, (%esp)
01917d
+	call	_gfortran_set_options
01917d
+	call	MAIN__
01917d
+	movl	$0, %eax
01917d
+	leave
01917d
+.LCFI4:
01917d
+	.cfi_restore 5
01917d
+	.cfi_def_cfa 4, 4
01917d
+# SUCC: EXIT [100.0%] 
01917d
+	ret
01917d
+	.cfi_endproc
01917d
+.LFE1:
01917d
+	.size	main, .-main
01917d
+	.section	.rodata
01917d
+	.align 4
01917d
+	.type	options.1.1824, @object
01917d
+	.size	options.1.1824, 28
01917d
+options.1.1824:
01917d
+	.long	68
01917d
+	.long	1023
01917d
+	.long	0
01917d
+	.long	0
01917d
+	.long	1
01917d
+	.long	1
01917d
+	.long	0
01917d
+	.align 4
01917d
+.LC0:
01917d
+	.long	1109917696
01917d
+	.text
01917d
+.Letext0:
01917d
+	.section	.debug_info,"",@progbits
01917d
+.Ldebug_info0:
01917d
+	.long	2f - 1f	# Length of Compilation Unit Info
01917d
+1:
01917d
+	.value	0x2	# DWARF version number
01917d
+	.long	.Ldebug_abbrev0	# Offset Into Abbrev. Section
01917d
+	.byte	0x4	# Pointer Size (in bytes)
01917d
+dieb:	.uleb128 0x1	# (DIE (0xb) DW_TAG_compile_unit)
01917d
+	.long	.LASF5	# DW_AT_producer: "GNU Fortran 4.8.0 20121015 (experimental) -ffixed-form -m32 -mtune=generic -march=x86-64 -g -gdwarf-2 -fintrinsic-modules-path .../gcchead-root/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/finclude"
01917d
+	.byte	0xe	# DW_AT_language
01917d
+	.byte	0x2	# DW_AT_identifier_case
01917d
+	.long	.LASF6	# DW_AT_name: "gdb.fortran/array-bounds.f"
01917d
+	.long	.LASF7	# DW_AT_comp_dir: ""
01917d
+	.long	.Ltext0	# DW_AT_low_pc
01917d
+	.long	.Letext0	# DW_AT_high_pc
01917d
+	.long	.Ldebug_line0	# DW_AT_stmt_list
01917d
+die26:	.uleb128 0x2	# (DIE (0x26) DW_TAG_subprogram)
01917d
+	.long	.LASF8	# DW_AT_name: "MAIN__"
01917d
+	.byte	0x1	# DW_AT_decl_file (gdb.fortran/array-bounds.f)
01917d
+	.byte	0x10	# DW_AT_decl_line
01917d
+	.long	.LFB0	# DW_AT_low_pc
01917d
+	.long	.LFE0	# DW_AT_high_pc
01917d
+	.long	.LLST0	# DW_AT_frame_base
01917d
+	.byte	0x1	# DW_AT_GNU_all_tail_call_sites
01917d
+	.byte	0x1	# DW_AT_main_subprogram
01917d
+	.byte	0x2	# DW_AT_calling_convention
01917d
+	.long	die66 - .Ldebug_info0	# DW_AT_sibling
01917d
+die40:	.uleb128 0x3	# (DIE (0x40) DW_TAG_variable)
01917d
+	.ascii "bar\0"	# DW_AT_name
01917d
+	.byte	0x1	# DW_AT_decl_file (gdb.fortran/array-bounds.f)
01917d
+	.byte	0x11	# DW_AT_decl_line
01917d
+	.long	die66 - .Ldebug_info0	# DW_AT_type
01917d
+	.byte	0x2	# DW_AT_location
01917d
+	.byte	0x91	# DW_OP_fbreg
01917d
+	.sleb128 -24
01917d
+die4e:	.uleb128 0x3	# (DIE (0x4e) DW_TAG_variable)
01917d
+	.ascii "foo\0"	# DW_AT_name
01917d
+	.byte	0x1	# DW_AT_decl_file (gdb.fortran/array-bounds.f)
01917d
+	.byte	0x10	# DW_AT_decl_line
01917d
+	.long	die88 - .Ldebug_info0	# DW_AT_type
01917d
+	.byte	0x2	# DW_AT_location
01917d
+	.byte	0x91	# DW_OP_fbreg
01917d
+	.sleb128 -32
01917d
+die5c:	.uleb128 0x4	# (DIE (0x5c) DW_TAG_lexical_block)
01917d
+	.long	.LBB2	# DW_AT_low_pc
01917d
+	.long	.LBE2	# DW_AT_high_pc
01917d
+	.byte	0	# end of children of DIE 0x26
01917d
+die66:	.uleb128 0x5	# (DIE (0x66) DW_TAG_array_type)
01917d
+	.long	die81 - .Ldebug_info0	# DW_AT_type
01917d
+	.long	die7a - .Ldebug_info0	# DW_AT_sibling
01917d
+die6f:	.uleb128 0x6	# (DIE (0x6f) DW_TAG_subrange_type)
01917d
+	.long	die7a - .Ldebug_info0	# DW_AT_type
01917d
+#if 0
01917d
+	.long	0xffffffff	# DW_AT_lower_bound
01917d
+	.byte	0	# DW_AT_upper_bound
01917d
+#else
01917d
+	.quad	0xfffffffeffffffff	# DW_AT_lower_bound
01917d
+	.quad	0xffffffff00000000	# DW_AT_upper_bound
01917d
+#endif
01917d
+	.byte	0	# end of children of DIE 0x66
01917d
+die7a:	.uleb128 0x7	# (DIE (0x7a) DW_TAG_base_type)
01917d
+#if 0
01917d
+	.byte	0x4	# DW_AT_byte_size
01917d
+#else
01917d
+	.byte	0x8	# DW_AT_byte_size
01917d
+#endif
01917d
+	.byte	0x5	# DW_AT_encoding
01917d
+	.long	.LASF0	# DW_AT_name: "integer(kind=4)"
01917d
+die81:	.uleb128 0x7	# (DIE (0x81) DW_TAG_base_type)
01917d
+	.byte	0x4	# DW_AT_byte_size
01917d
+	.byte	0x4	# DW_AT_encoding
01917d
+	.long	.LASF1	# DW_AT_name: "real(kind=4)"
01917d
+die88:	.uleb128 0x5	# (DIE (0x88) DW_TAG_array_type)
01917d
+	.long	die81 - .Ldebug_info0	# DW_AT_type
01917d
+	.long	die99 - .Ldebug_info0	# DW_AT_sibling
01917d
+die91:	.uleb128 0x8	# (DIE (0x91) DW_TAG_subrange_type)
01917d
+	.long	die7a - .Ldebug_info0	# DW_AT_type
01917d
+#if 0
01917d
+	.byte	0	# DW_AT_lower_bound
01917d
+	.byte	0x1	# DW_AT_upper_bound
01917d
+#else
01917d
+	.quad	0x100000000	# DW_AT_lower_bound
01917d
+	.quad	0x100000001	# DW_AT_upper_bound
01917d
+#endif
01917d
+	.byte	0	# end of children of DIE 0x88
01917d
+die99:	.uleb128 0x9	# (DIE (0x99) DW_TAG_subprogram)
01917d
+	.byte	0x1	# DW_AT_external
01917d
+	.long	.LASF9	# DW_AT_name: "main"
01917d
+	.byte	0x1	# DW_AT_decl_file (gdb.fortran/array-bounds.f)
01917d
+	.byte	0x15	# DW_AT_decl_line
01917d
+	.long	die7a - .Ldebug_info0	# DW_AT_type
01917d
+	.long	.LFB1	# DW_AT_low_pc
01917d
+	.long	.LFE1	# DW_AT_high_pc
01917d
+	.long	.LLST1	# DW_AT_frame_base
01917d
+	.byte	0x1	# DW_AT_GNU_all_tail_call_sites
01917d
+	.long	died4 - .Ldebug_info0	# DW_AT_sibling
01917d
+dieb6:	.uleb128 0xa	# (DIE (0xb6) DW_TAG_formal_parameter)
01917d
+	.long	.LASF2	# DW_AT_name: "argc"
01917d
+	.byte	0x1	# DW_AT_decl_file (gdb.fortran/array-bounds.f)
01917d
+	.byte	0x15	# DW_AT_decl_line
01917d
+	.long	died4 - .Ldebug_info0	# DW_AT_type
01917d
+	.byte	0x2	# DW_AT_location
01917d
+	.byte	0x91	# DW_OP_fbreg
01917d
+	.sleb128 0
01917d
+diec4:	.uleb128 0xa	# (DIE (0xc4) DW_TAG_formal_parameter)
01917d
+	.long	.LASF3	# DW_AT_name: "argv"
01917d
+	.byte	0x1	# DW_AT_decl_file (gdb.fortran/array-bounds.f)
01917d
+	.byte	0x15	# DW_AT_decl_line
01917d
+	.long	died9 - .Ldebug_info0	# DW_AT_type
01917d
+	.byte	0x3	# DW_AT_location
01917d
+	.byte	0x91	# DW_OP_fbreg
01917d
+	.sleb128 4
01917d
+	.byte	0x6	# DW_OP_deref
01917d
+	.byte	0	# end of children of DIE 0x99
01917d
+died4:	.uleb128 0xb	# (DIE (0xd4) DW_TAG_const_type)
01917d
+	.long	die7a - .Ldebug_info0	# DW_AT_type
01917d
+died9:	.uleb128 0xc	# (DIE (0xd9) DW_TAG_pointer_type)
01917d
+	.byte	0x4	# DW_AT_byte_size
01917d
+	.long	diedf - .Ldebug_info0	# DW_AT_type
01917d
+diedf:	.uleb128 0x7	# (DIE (0xdf) DW_TAG_base_type)
01917d
+	.byte	0x1	# DW_AT_byte_size
01917d
+	.byte	0x8	# DW_AT_encoding
01917d
+	.long	.LASF4	# DW_AT_name: "character(kind=1)"
01917d
+	.byte	0	# end of children of DIE 0xb
01917d
+2:
01917d
+	.section	.debug_abbrev,"",@progbits
01917d
+.Ldebug_abbrev0:
01917d
+	.uleb128 0x1	# (abbrev code)
01917d
+	.uleb128 0x11	# (TAG: DW_TAG_compile_unit)
01917d
+	.byte	0x1	# DW_children_yes
01917d
+	.uleb128 0x25	# (DW_AT_producer)
01917d
+	.uleb128 0xe	# (DW_FORM_strp)
01917d
+	.uleb128 0x13	# (DW_AT_language)
01917d
+	.uleb128 0xb	# (DW_FORM_data1)
01917d
+	.uleb128 0x42	# (DW_AT_identifier_case)
01917d
+	.uleb128 0xb	# (DW_FORM_data1)
01917d
+	.uleb128 0x3	# (DW_AT_name)
01917d
+	.uleb128 0xe	# (DW_FORM_strp)
01917d
+	.uleb128 0x1b	# (DW_AT_comp_dir)
01917d
+	.uleb128 0xe	# (DW_FORM_strp)
01917d
+	.uleb128 0x11	# (DW_AT_low_pc)
01917d
+	.uleb128 0x1	# (DW_FORM_addr)
01917d
+	.uleb128 0x12	# (DW_AT_high_pc)
01917d
+	.uleb128 0x1	# (DW_FORM_addr)
01917d
+	.uleb128 0x10	# (DW_AT_stmt_list)
01917d
+	.uleb128 0x6	# (DW_FORM_data4)
01917d
+	.byte	0
01917d
+	.byte	0
01917d
+	.uleb128 0x2	# (abbrev code)
01917d
+	.uleb128 0x2e	# (TAG: DW_TAG_subprogram)
01917d
+	.byte	0x1	# DW_children_yes
01917d
+	.uleb128 0x3	# (DW_AT_name)
01917d
+	.uleb128 0xe	# (DW_FORM_strp)
01917d
+	.uleb128 0x3a	# (DW_AT_decl_file)
01917d
+	.uleb128 0xb	# (DW_FORM_data1)
01917d
+	.uleb128 0x3b	# (DW_AT_decl_line)
01917d
+	.uleb128 0xb	# (DW_FORM_data1)
01917d
+	.uleb128 0x11	# (DW_AT_low_pc)
01917d
+	.uleb128 0x1	# (DW_FORM_addr)
01917d
+	.uleb128 0x12	# (DW_AT_high_pc)
01917d
+	.uleb128 0x1	# (DW_FORM_addr)
01917d
+	.uleb128 0x40	# (DW_AT_frame_base)
01917d
+	.uleb128 0x6	# (DW_FORM_data4)
01917d
+	.uleb128 0x2116	# (DW_AT_GNU_all_tail_call_sites)
01917d
+	.uleb128 0xc	# (DW_FORM_flag)
01917d
+	.uleb128 0x6a	# (DW_AT_main_subprogram)
01917d
+	.uleb128 0xc	# (DW_FORM_flag)
01917d
+	.uleb128 0x36	# (DW_AT_calling_convention)
01917d
+	.uleb128 0xb	# (DW_FORM_data1)
01917d
+	.uleb128 0x1	# (DW_AT_sibling)
01917d
+	.uleb128 0x13	# (DW_FORM_ref4)
01917d
+	.byte	0
01917d
+	.byte	0
01917d
+	.uleb128 0x3	# (abbrev code)
01917d
+	.uleb128 0x34	# (TAG: DW_TAG_variable)
01917d
+	.byte	0	# DW_children_no
01917d
+	.uleb128 0x3	# (DW_AT_name)
01917d
+	.uleb128 0x8	# (DW_FORM_string)
01917d
+	.uleb128 0x3a	# (DW_AT_decl_file)
01917d
+	.uleb128 0xb	# (DW_FORM_data1)
01917d
+	.uleb128 0x3b	# (DW_AT_decl_line)
01917d
+	.uleb128 0xb	# (DW_FORM_data1)
01917d
+	.uleb128 0x49	# (DW_AT_type)
01917d
+	.uleb128 0x13	# (DW_FORM_ref4)
01917d
+	.uleb128 0x2	# (DW_AT_location)
01917d
+	.uleb128 0xa	# (DW_FORM_block1)
01917d
+	.byte	0
01917d
+	.byte	0
01917d
+	.uleb128 0x4	# (abbrev code)
01917d
+	.uleb128 0xb	# (TAG: DW_TAG_lexical_block)
01917d
+	.byte	0	# DW_children_no
01917d
+	.uleb128 0x11	# (DW_AT_low_pc)
01917d
+	.uleb128 0x1	# (DW_FORM_addr)
01917d
+	.uleb128 0x12	# (DW_AT_high_pc)
01917d
+	.uleb128 0x1	# (DW_FORM_addr)
01917d
+	.byte	0
01917d
+	.byte	0
01917d
+	.uleb128 0x5	# (abbrev code)
01917d
+	.uleb128 0x1	# (TAG: DW_TAG_array_type)
01917d
+	.byte	0x1	# DW_children_yes
01917d
+	.uleb128 0x49	# (DW_AT_type)
01917d
+	.uleb128 0x13	# (DW_FORM_ref4)
01917d
+	.uleb128 0x1	# (DW_AT_sibling)
01917d
+	.uleb128 0x13	# (DW_FORM_ref4)
01917d
+	.byte	0
01917d
+	.byte	0
01917d
+	.uleb128 0x6	# (abbrev code)
01917d
+	.uleb128 0x21	# (TAG: DW_TAG_subrange_type)
01917d
+	.byte	0	# DW_children_no
01917d
+	.uleb128 0x49	# (DW_AT_type)
01917d
+	.uleb128 0x13	# (DW_FORM_ref4)
01917d
+#if 0
01917d
+	.uleb128 0x22	# (DW_AT_lower_bound)
01917d
+	.uleb128 0x6	# (DW_FORM_data4)
01917d
+	.uleb128 0x2f	# (DW_AT_upper_bound)
01917d
+	.uleb128 0xb	# (DW_FORM_data1)
01917d
+#else
01917d
+	.uleb128 0x22	# (DW_AT_lower_bound)
01917d
+	.uleb128 0x7	# (DW_FORM_data8)
01917d
+	.uleb128 0x2f	# (DW_AT_upper_bound)
01917d
+	.uleb128 0x7	# (DW_FORM_data8)
01917d
+#endif
01917d
+	.byte	0
01917d
+	.byte	0
01917d
+	.uleb128 0x7	# (abbrev code)
01917d
+	.uleb128 0x24	# (TAG: DW_TAG_base_type)
01917d
+	.byte	0	# DW_children_no
01917d
+	.uleb128 0xb	# (DW_AT_byte_size)
01917d
+	.uleb128 0xb	# (DW_FORM_data1)
01917d
+	.uleb128 0x3e	# (DW_AT_encoding)
01917d
+	.uleb128 0xb	# (DW_FORM_data1)
01917d
+	.uleb128 0x3	# (DW_AT_name)
01917d
+	.uleb128 0xe	# (DW_FORM_strp)
01917d
+	.byte	0
01917d
+	.byte	0
01917d
+	.uleb128 0x8	# (abbrev code)
01917d
+	.uleb128 0x21	# (TAG: DW_TAG_subrange_type)
01917d
+	.byte	0	# DW_children_no
01917d
+	.uleb128 0x49	# (DW_AT_type)
01917d
+	.uleb128 0x13	# (DW_FORM_ref4)
01917d
+#if 0
01917d
+	.uleb128 0x22	# (DW_AT_lower_bound)
01917d
+	.uleb128 0xb	# (DW_FORM_data1)
01917d
+	.uleb128 0x2f	# (DW_AT_upper_bound)
01917d
+	.uleb128 0xb	# (DW_FORM_data1)
01917d
+#else
01917d
+	.uleb128 0x22	# (DW_AT_lower_bound)
01917d
+	.uleb128 0x7	# (DW_FORM_data8)
01917d
+	.uleb128 0x2f	# (DW_AT_upper_bound)
01917d
+	.uleb128 0x7	# (DW_FORM_data8)
01917d
+#endif
01917d
+	.byte	0
01917d
+	.byte	0
01917d
+	.uleb128 0x9	# (abbrev code)
01917d
+	.uleb128 0x2e	# (TAG: DW_TAG_subprogram)
01917d
+	.byte	0x1	# DW_children_yes
01917d
+	.uleb128 0x3f	# (DW_AT_external)
01917d
+	.uleb128 0xc	# (DW_FORM_flag)
01917d
+	.uleb128 0x3	# (DW_AT_name)
01917d
+	.uleb128 0xe	# (DW_FORM_strp)
01917d
+	.uleb128 0x3a	# (DW_AT_decl_file)
01917d
+	.uleb128 0xb	# (DW_FORM_data1)
01917d
+	.uleb128 0x3b	# (DW_AT_decl_line)
01917d
+	.uleb128 0xb	# (DW_FORM_data1)
01917d
+	.uleb128 0x49	# (DW_AT_type)
01917d
+	.uleb128 0x13	# (DW_FORM_ref4)
01917d
+	.uleb128 0x11	# (DW_AT_low_pc)
01917d
+	.uleb128 0x1	# (DW_FORM_addr)
01917d
+	.uleb128 0x12	# (DW_AT_high_pc)
01917d
+	.uleb128 0x1	# (DW_FORM_addr)
01917d
+	.uleb128 0x40	# (DW_AT_frame_base)
01917d
+	.uleb128 0x6	# (DW_FORM_data4)
01917d
+	.uleb128 0x2116	# (DW_AT_GNU_all_tail_call_sites)
01917d
+	.uleb128 0xc	# (DW_FORM_flag)
01917d
+	.uleb128 0x1	# (DW_AT_sibling)
01917d
+	.uleb128 0x13	# (DW_FORM_ref4)
01917d
+	.byte	0
01917d
+	.byte	0
01917d
+	.uleb128 0xa	# (abbrev code)
01917d
+	.uleb128 0x5	# (TAG: DW_TAG_formal_parameter)
01917d
+	.byte	0	# DW_children_no
01917d
+	.uleb128 0x3	# (DW_AT_name)
01917d
+	.uleb128 0xe	# (DW_FORM_strp)
01917d
+	.uleb128 0x3a	# (DW_AT_decl_file)
01917d
+	.uleb128 0xb	# (DW_FORM_data1)
01917d
+	.uleb128 0x3b	# (DW_AT_decl_line)
01917d
+	.uleb128 0xb	# (DW_FORM_data1)
01917d
+	.uleb128 0x49	# (DW_AT_type)
01917d
+	.uleb128 0x13	# (DW_FORM_ref4)
01917d
+	.uleb128 0x2	# (DW_AT_location)
01917d
+	.uleb128 0xa	# (DW_FORM_block1)
01917d
+	.byte	0
01917d
+	.byte	0
01917d
+	.uleb128 0xb	# (abbrev code)
01917d
+	.uleb128 0x26	# (TAG: DW_TAG_const_type)
01917d
+	.byte	0	# DW_children_no
01917d
+	.uleb128 0x49	# (DW_AT_type)
01917d
+	.uleb128 0x13	# (DW_FORM_ref4)
01917d
+	.byte	0
01917d
+	.byte	0
01917d
+	.uleb128 0xc	# (abbrev code)
01917d
+	.uleb128 0xf	# (TAG: DW_TAG_pointer_type)
01917d
+	.byte	0	# DW_children_no
01917d
+	.uleb128 0xb	# (DW_AT_byte_size)
01917d
+	.uleb128 0xb	# (DW_FORM_data1)
01917d
+	.uleb128 0x49	# (DW_AT_type)
01917d
+	.uleb128 0x13	# (DW_FORM_ref4)
01917d
+	.byte	0
01917d
+	.byte	0
01917d
+	.byte	0
01917d
+	.section	.debug_loc,"",@progbits
01917d
+.Ldebug_loc0:
01917d
+.LLST0:
01917d
+	.long	.LFB0-.Ltext0	# Location list begin address (*.LLST0)
01917d
+	.long	.LCFI0-.Ltext0	# Location list end address (*.LLST0)
01917d
+	.value	0x2	# Location expression size
01917d
+	.byte	0x74	# DW_OP_breg4
01917d
+	.sleb128 4
01917d
+	.long	.LCFI0-.Ltext0	# Location list begin address (*.LLST0)
01917d
+	.long	.LCFI1-.Ltext0	# Location list end address (*.LLST0)
01917d
+	.value	0x2	# Location expression size
01917d
+	.byte	0x74	# DW_OP_breg4
01917d
+	.sleb128 8
01917d
+	.long	.LCFI1-.Ltext0	# Location list begin address (*.LLST0)
01917d
+	.long	.LFE0-.Ltext0	# Location list end address (*.LLST0)
01917d
+	.value	0x2	# Location expression size
01917d
+	.byte	0x75	# DW_OP_breg5
01917d
+	.sleb128 8
01917d
+	.long	0	# Location list terminator begin (*.LLST0)
01917d
+	.long	0	# Location list terminator end (*.LLST0)
01917d
+.LLST1:
01917d
+	.long	.LFB1-.Ltext0	# Location list begin address (*.LLST1)
01917d
+	.long	.LCFI2-.Ltext0	# Location list end address (*.LLST1)
01917d
+	.value	0x2	# Location expression size
01917d
+	.byte	0x74	# DW_OP_breg4
01917d
+	.sleb128 4
01917d
+	.long	.LCFI2-.Ltext0	# Location list begin address (*.LLST1)
01917d
+	.long	.LCFI3-.Ltext0	# Location list end address (*.LLST1)
01917d
+	.value	0x2	# Location expression size
01917d
+	.byte	0x74	# DW_OP_breg4
01917d
+	.sleb128 8
01917d
+	.long	.LCFI3-.Ltext0	# Location list begin address (*.LLST1)
01917d
+	.long	.LCFI4-.Ltext0	# Location list end address (*.LLST1)
01917d
+	.value	0x2	# Location expression size
01917d
+	.byte	0x75	# DW_OP_breg5
01917d
+	.sleb128 8
01917d
+	.long	.LCFI4-.Ltext0	# Location list begin address (*.LLST1)
01917d
+	.long	.LFE1-.Ltext0	# Location list end address (*.LLST1)
01917d
+	.value	0x2	# Location expression size
01917d
+	.byte	0x74	# DW_OP_breg4
01917d
+	.sleb128 4
01917d
+	.long	0	# Location list terminator begin (*.LLST1)
01917d
+	.long	0	# Location list terminator end (*.LLST1)
01917d
+	.section	.debug_aranges,"",@progbits
01917d
+	.long	0x1c	# Length of Address Ranges Info
01917d
+	.value	0x2	# DWARF Version
01917d
+	.long	.Ldebug_info0	# Offset of Compilation Unit Info
01917d
+	.byte	0x4	# Size of Address
01917d
+	.byte	0	# Size of Segment Descriptor
01917d
+	.value	0	# Pad to 8 byte boundary
01917d
+	.value	0
01917d
+	.long	.Ltext0	# Address
01917d
+	.long	.Letext0-.Ltext0	# Length
01917d
+	.long	0
01917d
+	.long	0
01917d
+	.section	.debug_line,"",@progbits
01917d
+.Ldebug_line0:
01917d
+	.section	.debug_str,"MS",@progbits,1
01917d
+.LASF4:
01917d
+	.string	"character(kind=1)"
01917d
+.LASF5:
01917d
+	.string	"GNU Fortran 4.8.0 20121015 (experimental) -ffixed-form -m32 -mtune=generic -march=x86-64 -g -gdwarf-2 -fintrinsic-modules-path .../gcchead-root/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/finclude"
01917d
+.LASF7:
01917d
+	.string	""
01917d
+.LASF0:
01917d
+#if 0
01917d
+	.string	"integer(kind=4)"
01917d
+#else
01917d
+	.string	"integer(kind=8)"
01917d
+#endif
01917d
+.LASF9:
01917d
+	.string	"main"
01917d
+.LASF8:
01917d
+	.string	"MAIN__"
01917d
+.LASF6:
01917d
+	.string	"gdb.fortran/array-bounds.f"
01917d
+.LASF2:
01917d
+	.string	"argc"
01917d
+.LASF1:
01917d
+	.string	"real(kind=4)"
01917d
+.LASF3:
01917d
+	.string	"argv"
01917d
+	.ident	"GCC: (GNU) 4.8.0 20121015 (experimental)"
01917d
+	.section	.note.GNU-stack,"",@progbits
01917d