opt20.ads: Move dg directive to...
* gnat.dg/opt20.ads: Move dg directive to... * gnat.dg/opt20.adb: ...here. * gnat.dg/addr1.ad[sb]: Likewise. * gnat.dg/concat2.ad[sb]: Likewise. * gnat.dg/array16.ad[sb]: Likewise. * gnat.dg/atomic5.ad[sb]: Likewise. * gnat.dg/discr29.ad[sb]: Likewise. * gnat.dg/noreturn5.ad[sb]: Likewise. * gnat.dg/vect8.ad[sb]: Likewise. Add dg-options. * gnat.dg/discr23.ads: Remove dg directive. * gnat.dg/nested_float_packed.ads: Likewise. * gnat.dg/oconst6.ads: Move to... * gnat.dg/specs/oconst6.ads: ...here. From-SVN: r191592
This commit is contained in:
parent
dee1c26531
commit
8604dde066
@ -1,3 +1,19 @@
|
||||
2012-09-20 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* gnat.dg/opt20.ads: Move dg directive to...
|
||||
* gnat.dg/opt20.adb: ...here.
|
||||
* gnat.dg/addr1.ad[sb]: Likewise.
|
||||
* gnat.dg/concat2.ad[sb]: Likewise.
|
||||
* gnat.dg/array16.ad[sb]: Likewise.
|
||||
* gnat.dg/atomic5.ad[sb]: Likewise.
|
||||
* gnat.dg/discr29.ad[sb]: Likewise.
|
||||
* gnat.dg/noreturn5.ad[sb]: Likewise.
|
||||
* gnat.dg/vect8.ad[sb]: Likewise. Add dg-options.
|
||||
* gnat.dg/discr23.ads: Remove dg directive.
|
||||
* gnat.dg/nested_float_packed.ads: Likewise.
|
||||
* gnat.dg/oconst6.ads: Move to...
|
||||
* gnat.dg/specs/oconst6.ads: ...here.
|
||||
|
||||
2012-09-20 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR c++/52432
|
||||
|
@ -1,3 +1,5 @@
|
||||
-- { dg-do compile }
|
||||
|
||||
with System;
|
||||
package body addr1 is
|
||||
task type T is
|
||||
|
@ -1,5 +1,3 @@
|
||||
-- { dg-do compile }
|
||||
|
||||
package addr1 is
|
||||
pragma Elaborate_Body;
|
||||
end;
|
||||
|
@ -1,3 +1,6 @@
|
||||
-- { dg-do compile }
|
||||
-- { dg-options "-O -gnatn -fdump-tree-optimized" }
|
||||
|
||||
package body Array16 is
|
||||
|
||||
function F1 (A : access My_T1) return My_T1 is
|
||||
@ -20,3 +23,6 @@ package body Array16 is
|
||||
end;
|
||||
|
||||
end Array16;
|
||||
|
||||
-- { dg-final { scan-tree-dump-not "secondary_stack" "optimized" } }
|
||||
-- { dg-final { cleanup-tree-dump "optimized" } }
|
||||
|
@ -1,6 +1,3 @@
|
||||
-- { dg-do compile }
|
||||
-- { dg-options "-O -gnatn -fdump-tree-optimized" }
|
||||
|
||||
with Array16_Pkg;
|
||||
|
||||
package Array16 is
|
||||
@ -26,6 +23,3 @@ package Array16 is
|
||||
procedure Proc (A : access My_T1; B : access My_T2);
|
||||
|
||||
end Array16;
|
||||
|
||||
-- { dg-final { scan-tree-dump-not "secondary_stack" "optimized" } }
|
||||
-- { dg-final { cleanup-tree-dump "optimized" } }
|
||||
|
@ -1,3 +1,5 @@
|
||||
-- { dg-do compile }
|
||||
|
||||
package body Atomic5 is
|
||||
|
||||
function Create return R is
|
||||
|
@ -1,5 +1,3 @@
|
||||
-- { dg-do compile }
|
||||
|
||||
with Unchecked_Conversion;
|
||||
|
||||
package Atomic5 is
|
||||
|
@ -1,3 +1,6 @@
|
||||
-- { dg-do compile }
|
||||
-- { dg-options "-O" }
|
||||
|
||||
with Text_IO; use Text_IO;
|
||||
|
||||
package body Concat2 is
|
||||
@ -15,4 +18,3 @@ package body Concat2 is
|
||||
end;
|
||||
|
||||
end Concat2;
|
||||
|
||||
|
@ -1,6 +1,3 @@
|
||||
-- { dg-do compile }
|
||||
-- { dg-options "-O" }
|
||||
|
||||
package Concat2 is
|
||||
|
||||
procedure Browse;
|
||||
|
@ -1,5 +1,3 @@
|
||||
-- { dg-do compile }
|
||||
|
||||
package Discr23 is
|
||||
|
||||
procedure Dummy;
|
||||
|
@ -1,3 +1,5 @@
|
||||
-- { dg-do compile }
|
||||
|
||||
package body Discr29 is
|
||||
|
||||
procedure Proc (R : out Rec3) is
|
||||
|
@ -1,5 +1,3 @@
|
||||
-- { dg-do compile }
|
||||
|
||||
package Discr29 is
|
||||
|
||||
type Rec1 is record
|
||||
|
@ -1,5 +1,3 @@
|
||||
-- { dg-do compile }
|
||||
|
||||
package Nested_Float_Packed is
|
||||
|
||||
type Float_Type is record
|
||||
@ -20,5 +18,3 @@ package Nested_Float_Packed is
|
||||
Data_Block : array (Range_Type)
|
||||
of Data_Type := (others => Default_Data);
|
||||
end;
|
||||
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
-- { dg-do compile }
|
||||
|
||||
with Ada.Characters.Handling; use Ada.Characters.Handling;
|
||||
with GNAT.OS_Lib; use GNAT.OS_Lib;
|
||||
with Text_IO; use Text_IO;
|
||||
|
@ -1,5 +1,3 @@
|
||||
-- { dg-do compile }
|
||||
|
||||
package Noreturn5 is
|
||||
|
||||
procedure Proc (Arg_Line : Wide_String; Keep_Going : Boolean);
|
||||
|
@ -1,3 +1,6 @@
|
||||
-- { dg-do compile }
|
||||
-- { dg-options "-O2 -gnatpn" }
|
||||
|
||||
with Ada.Characters.Handling; use Ada.Characters.Handling;
|
||||
|
||||
package body Opt20 is
|
||||
|
@ -1,6 +1,3 @@
|
||||
-- { dg-do compile }
|
||||
-- { dg-options "-O2 -gnatpn" }
|
||||
|
||||
with Opt20_Pkg; use Opt20_Pkg;
|
||||
|
||||
package Opt20 is
|
||||
|
@ -1,3 +1,6 @@
|
||||
-- { dg-do compile }
|
||||
-- { dg-options "-w" }
|
||||
|
||||
package body Vect8 is
|
||||
|
||||
function Foo (V : Vec) return Vec is
|
||||
|
@ -1,5 +1,3 @@
|
||||
-- { dg-do compile }
|
||||
|
||||
package Vect8 is
|
||||
|
||||
type Vec is array (1 .. 2) of Long_Float;
|
||||
|
Loading…
Reference in New Issue
Block a user