]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR middle-end/20548 (ACATS c52103x c52104x c52104y segfault)
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 23 Jan 2006 17:21:18 +0000 (17:21 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 23 Jan 2006 17:21:18 +0000 (17:21 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/ada/acats/norun.lst
gcc/testsuite/ada/acats/run_all.sh
gcc/testsuite/ada/acats/stackcheck.lst [new file with mode: 0644]

index 461ad4c080352c2ab5baf9a77502db3f52c820fb..954772f6c896e78f4e002d75b718216fd32b5bfa 100644 (file)
@@ -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
index 049965b9986b17a1eec48457af8a5fa87e88f704..522ff7b39d8fc4c9f4372ef889853839a2c9a03d 100644 (file)
@@ -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
index 402ff69cb30713102c22a27ab151d8ab48e47fc6..8a097936cf1b1c8a1229956e67bb7a3d17d48428 100755 (executable)
@@ -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 (file)
index 0000000..ba1cd67
--- /dev/null
@@ -0,0 +1,3 @@
+c52103x
+c52104x
+c52104y