From 0028647ea7acc9af2e27bd246faac9bb073c94e5 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Sun, 18 Feb 2007 13:43:05 +0000 Subject: [PATCH] test_prio_p.adb: Compile with -gnatws. * gnat.dg/test_prio_p.adb: Compile with -gnatws. * lib/gnat.exp (gnat_target_compile): Pass -f to the driver. From-SVN: r122093 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gnat.dg/test_prio_p.adb | 2 ++ gcc/testsuite/lib/gnat.exp | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d6781333080..05fdf91ce7d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-02-18 Eric Botcazou + + * gnat.dg/test_prio_p.adb: Compile with -gnatws. + * lib/gnat.exp (gnat_target_compile): Pass -f to the driver. + 2007-02-16 Uros Bizjak * gcc.target/i386/builtin-bswap-1.c: Remove -march=nocona. diff --git a/gcc/testsuite/gnat.dg/test_prio_p.adb b/gcc/testsuite/gnat.dg/test_prio_p.adb index dd0d99adccb..333ab9286e2 100644 --- a/gcc/testsuite/gnat.dg/test_prio_p.adb +++ b/gcc/testsuite/gnat.dg/test_prio_p.adb @@ -1,3 +1,5 @@ +-- { dg-options "-gnatws" } + package body test_prio_p is protected body Protected_Queue_T is entry Seize when True is begin null; end; diff --git a/gcc/testsuite/lib/gnat.exp b/gcc/testsuite/lib/gnat.exp index 7960672edc1..8832373a92e 100644 --- a/gcc/testsuite/lib/gnat.exp +++ b/gcc/testsuite/lib/gnat.exp @@ -129,7 +129,7 @@ proc gnat_target_compile { source dest type options } { setenv ADA_INCLUDE_PATH "${rootme}/ada/rts" set ld_library_path ".:${gnat_libgcc_s_path}" - lappend options "compiler=$GNAT_UNDER_TEST -q" + lappend options "compiler=$GNAT_UNDER_TEST -q -f" lappend options "incdir=${rootme}/ada/rts" if { [target_info needs_status_wrapper]!="" && [info exists gluefile] } { -- 2.30.2