view gcc/testsuite/gnat.dg/lto4.adb @ 140:4e440907fcbf

copy CbC goto flang in cfgexpand remove some CbC unnecessary code
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 14 Nov 2018 00:24:45 +0900
parents 04ced10e8804
children
line wrap: on
line source

-- { dg-do compile }
-- { dg-options "-flto" { target lto } }

package body Lto4 is

   procedure SS_Allocate (Stack : Stack_Ptr) is
      Chunk : Chunk_Ptr := Stack.Current_Chunk;
   begin
      Chunk := new Chunk_Id (First => Chunk.Last, Last  => Chunk.Last);
   end;

end Lto4;