re PR sanitizer/82353 (runtime ubsan crash)

PR target/82353
	* gcc.target/i386/i386.exp (tests): Revert the '.C' extension change.
	* gcc.target/i386/pr82353.C: Moved to ...
	* g++.dg/ubsan/pr82353.C: ... here.  Restrict to i?86/x86_64 && lp64.

From-SVN: r253672
This commit is contained in:
Jakub Jelinek 2017-10-12 09:22:12 +02:00 committed by Jakub Jelinek
parent 79f421e159
commit 281ff779cc
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2017-10-12 Jakub Jelinek <jakub@redhat.com>
PR target/82353
* gcc.target/i386/i386.exp (tests): Revert the '.C' extension change.
* gcc.target/i386/pr82353.C: Moved to ...
* g++.dg/ubsan/pr82353.C: ... here. Restrict to i?86/x86_64 && lp64.
2017-10-11 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/i386/387-ficom-2.c: New test.

View File

@ -1,4 +1,4 @@
/* { dg-do compile } */
/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
/* { dg-options "-O2 -std=c++11 -fsanitize=undefined -fno-sanitize-recover=undefined -w -fdump-rtl-reload" } */
extern unsigned long tf_2_var_1, tf_2_var_21;

View File

@ -445,7 +445,7 @@ if [runtest_file_p $runtests $srcdir/$subdir/vect-args.c] {
}
# Everything else.
set tests [lsort [glob -nocomplain $srcdir/$subdir/*.\[cCS\]]]
set tests [lsort [glob -nocomplain $srcdir/$subdir/*.\[cS\]]]
set tests [prune $tests $srcdir/$subdir/vect-args.c]
# Main loop.