2 -- Testcase by Rolf Ebert <rolf.ebert.gcc@gmx.de>
5 -- { dg-options "-O2 -fdump-tree-optimized" }
7 with System; use System;
9 package body Renaming5 is
11 type Bits_In_Byte is array (0 .. 7) of Boolean;
12 pragma Pack (Bits_In_Byte);
15 for A'Address use System'To_Address(16#c0#);
18 B : Bits_In_Byte renames A;
22 while B (0) = False loop
29 -- { dg-final { scan-tree-dump-times "goto" 3 "optimized" } }
30 -- { dg-final { cleanup-tree-dump "optimized" } }