]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix accidental mishap on testcase.
authorOlivier Hainque <hainque@gcc.gnu.org>
Mon, 13 Sep 2010 21:44:26 +0000 (21:44 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Mon, 13 Sep 2010 21:44:26 +0000 (21:44 +0000)
From-SVN: r164259

gcc/testsuite/gnat.dg/memtrap.adb

index b755759bac72e2ca06f64c93984ed8d77e45e2ac..ae87e8528737330be41528976596c5acbb55863d 100644 (file)
@@ -12,19 +12,4 @@ exception
    when others => null;
 end;
 
--- { dg-final { scan-assembler "__gnat_begin_handler" } }
--- { dg-do compile }
--- { dg-options "-O2" }
-
-with System;
-
-procedure Memtrap is
-  X : integer;
-  for X'address use System.Null_Address;
-begin
-  X := 12;
-exception
-   when others => null;
-end;
-
 -- { dg-final { scan-assembler "__gnat_begin_handler|__gnat_raise_nodefer" } }