OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [pack9.adb] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 696 jeremybenn
-- { dg-do compile }
2
-- { dg-options "-O2 -gnatp -fdump-tree-optimized" }
3
-- See PR tree-optimization/46801 for the expected failure
4
 
5
package body Pack9 is
6
 
7
  procedure Copy (X, Y : R2_Ptr) is
8
    T : R2 := Y.all;
9
  begin
10
    if T.I2 /= Y.I2 then
11
      raise Program_Error;
12
    end if;
13
    X.all := T;
14
  end;
15
 
16
end Pack9;
17
 
18
-- { dg-final { scan-tree-dump-not "gnat_rcheck" "optimized" } }
19
-- { dg-final { cleanup-tree-dump "optimized" } }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.