| 1 |
-- { dg-do compile } |
| 2 |
-- { dg-skip-if "No Dwarf" { { hppa*-*-hpux* } && { ! lp64 } } } |
| 3 |
-- { dg-options "-cargs -O0 -g -dA -fgnat-encodings=minimal -margs" } |
| 4 |
|
| 5 |
pragma No_Component_Reordering; |
| 6 |
|
| 7 |
procedure Debug17 (Number_Of_Bits : Natural) is |
| 8 |
|
| 9 |
type Bitinfos_T is array (Natural range 1 .. Number_Of_Bits) of Float; |
| 10 |
|
| 11 |
type Inner_Record_T is record |
| 12 |
Bitinfos : Bitinfos_T := (others => 1.5); |
| 13 |
Check1 : Integer := 1983; |
| 14 |
Check2 : Integer := 1995; |
| 15 |
Flag : Boolean := False; |
| 16 |
Check3 : Integer := 2005; |
| 17 |
end record; |
| 18 |
|
| 19 |
Rfield : Inner_Record_T; |
| 20 |
|
| 21 |
begin |
| 22 |
null; |
| 23 |
end; |
| 24 |
|
| 25 |
-- { dg-final { scan-assembler-not "DW_AT_data_member_location (0)" } } |