Commit 84cac7ef by Eric Botcazou Committed by Eric Botcazou

atomic1.ads: XFAIL on MIPS.

	* gnat.dg/specs/atomic1.ads: XFAIL on MIPS.
	* gnat.dg/specs/addr1.ads: Likewise.

From-SVN: r192658
parent 0a011b17
2012-10-21 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/specs/atomic1.ads: XFAIL on MIPS.
* gnat.dg/specs/addr1.ads: Likewise.
2012-10-21 Hans-Peter Nilsson <hp@bitrange.com> 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
* gcc.dg/webizer.c (main): Add missing exit call. * gcc.dg/webizer.c (main): Add missing exit call.
......
...@@ -18,18 +18,18 @@ package Addr1 is ...@@ -18,18 +18,18 @@ package Addr1 is
A: Arr (1 .. 4); A: Arr (1 .. 4);
Obj1: Rec1; Obj1: Rec1;
for Obj1'Address use A'Address; -- { dg-bogus "alignment" } for Obj1'Address use A'Address; -- { dg-bogus "(alignment|erroneous)" }
Obj2: Rec2; Obj2: Rec2;
for Obj2'Address use A'Address; -- { dg-bogus "alignment" } for Obj2'Address use A'Address; -- { dg-bogus "(alignment|erroneous)" "" { xfail mips*-*-* } }
Obj3: Rec1; Obj3: Rec1;
for Obj3'Address use A(1)'Address; -- { dg-bogus "alignment" } for Obj3'Address use A(1)'Address; -- { dg-bogus "(alignment|erroneous)" }
Obj4: Rec1; Obj4: Rec1;
for Obj4'Address use A(2)'Address; -- { dg-warning "(alignment|erroneous)" } for Obj4'Address use A(2)'Address; -- { dg-warning "(alignment|erroneous)" }
Obj5: Rec1; Obj5: Rec1;
for Obj5'Address use A(3)'Address; -- { dg-bogus "alignment" } for Obj5'Address use A(3)'Address; -- { dg-bogus "(alignment|erroneous)" }
end Addr1; end Addr1;
...@@ -6,11 +6,11 @@ package Atomic1 is ...@@ -6,11 +6,11 @@ package Atomic1 is
type UA is access all Arr; type UA is access all Arr;
U : UA; U : UA;
pragma Atomic (U); -- { dg-error "atomic access" } pragma Atomic (U); -- { dg-error "atomic access" "" { xfail mips*-*-* } }
type R is record type R is record
U : UA; U : UA;
pragma Atomic (U); -- { dg-error "atomic access" } pragma Atomic (U); -- { dg-error "atomic access" "" { xfail mips*-*-* } }
end record; end record;
end Atomic1; end Atomic1;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment