aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2006-01-23 17:21:18 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2006-01-23 17:21:18 +0000
commit8701799c4d991e358c76a0c86e0cde9a6f22be1e (patch)
tree2b39e42457be9d84238d99bc7cc4298f4390caf2
parente9901f8b5664ad2ed996beff64d1c1bc4bea0bda (diff)
downloadgcc-8701799c4d991e358c76a0c86e0cde9a6f22be1e.zip
gcc-8701799c4d991e358c76a0c86e0cde9a6f22be1e.tar.gz
gcc-8701799c4d991e358c76a0c86e0cde9a6f22be1e.tar.bz2
re PR middle-end/20548 (ACATS c52103x c52104x c52104y segfault)
PR ada/20548 * ada/acats/norun.lst: Add c52103x, c52104x and c52104y. * ada/acats/stackcheck.lst: New file, add c52103x, c52104x and c52104y. * ada/acats/run_all.sh: Pass -fstack-check for tests in stackcheck.lst. From-SVN: r110131
-rw-r--r--gcc/testsuite/ChangeLog7
-rw-r--r--gcc/testsuite/ada/acats/norun.lst4
-rwxr-xr-xgcc/testsuite/ada/acats/run_all.sh4
-rw-r--r--gcc/testsuite/ada/acats/stackcheck.lst3
4 files changed, 18 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 461ad4c..954772f 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2006-01-23 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR ada/20548
+ * ada/acats/norun.lst: Add c52103x, c52104x and c52104y.
+ * ada/acats/stackcheck.lst: New file, add c52103x, c52104x and c52104y.
+ * ada/acats/run_all.sh: Pass -fstack-check for tests in stackcheck.lst.
+
2006-01-23 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/25857
diff --git a/gcc/testsuite/ada/acats/norun.lst b/gcc/testsuite/ada/acats/norun.lst
index 049965b9..522ff7b 100644
--- a/gcc/testsuite/ada/acats/norun.lst
+++ b/gcc/testsuite/ada/acats/norun.lst
@@ -1,6 +1,10 @@
c380004
+c52103x
+c52104x
+c52104y
cdd2a03
templat
# Tests must be sorted in alphabetical order
# c380004: should be front-end compile time error, PR ada/18817
+# c52103x, c52104x, c52104y: -fstack-check doesn't work in 4.x, PR ada/20548
# cdd2a03: new Ada ruling not supported yet, PR ada/19323
diff --git a/gcc/testsuite/ada/acats/run_all.sh b/gcc/testsuite/ada/acats/run_all.sh
index 402ff69..8a09793 100755
--- a/gcc/testsuite/ada/acats/run_all.sh
+++ b/gcc/testsuite/ada/acats/run_all.sh
@@ -215,6 +215,10 @@ for chapter in $chapters; do
if [ $? -eq 0 ]; then
extraflags="$extraflags -gnatE"
fi
+ grep $i $testdir/stackcheck.lst > /dev/null 2>&1
+ if [ $? -eq 0 ]; then
+ extraflags="$extraflags -fstack-check"
+ fi
test=$dir/tests/$chapter/$i
mkdir $test && cd $test >> $dir/acats.log 2>&1
diff --git a/gcc/testsuite/ada/acats/stackcheck.lst b/gcc/testsuite/ada/acats/stackcheck.lst
new file mode 100644
index 0000000..ba1cd67
--- /dev/null
+++ b/gcc/testsuite/ada/acats/stackcheck.lst
@@ -0,0 +1,3 @@
+c52103x
+c52104x
+c52104y