diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-04-21 23:03:23 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-04-21 23:03:23 +0200 |
commit | 81e07d422c5026ed66e3ad72a75d0d2385be1c0a (patch) | |
tree | 5944ae9a2f091413055a264e61faa6e0b011f1bd /libphobos/testsuite | |
parent | 3942060c4b3168307b9e2870d81e7ca15b49760a (diff) | |
download | gcc-81e07d422c5026ed66e3ad72a75d0d2385be1c0a.zip gcc-81e07d422c5026ed66e3ad72a75d0d2385be1c0a.tar.gz gcc-81e07d422c5026ed66e3ad72a75d0d2385be1c0a.tar.bz2 |
libphobos: Remove GDCFLAGSX variable from configure scripts.
Always run testsuite with same GDCFLAGS as used in build.
libphobos/ChangeLog:
* Makefile.in: Regenerate.
* configure: Regenerate.
* configure.ac: Remove GDCFLAGSX.
* libdruntime/Makefile.in: Regenerate.
* src/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
* testsuite/testsuite_flags.in: Use GDCFLAGS in --gdcflags.
* testsuite/libphobos.thread/fiber_guard_page.d: Test using -O0.
Diffstat (limited to 'libphobos/testsuite')
-rw-r--r-- | libphobos/testsuite/Makefile.in | 1 | ||||
-rw-r--r-- | libphobos/testsuite/libphobos.thread/fiber_guard_page.d | 1 | ||||
-rwxr-xr-x | libphobos/testsuite/testsuite_flags.in | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/libphobos/testsuite/Makefile.in b/libphobos/testsuite/Makefile.in index 6f0eaf8..66077fc 100644 --- a/libphobos/testsuite/Makefile.in +++ b/libphobos/testsuite/Makefile.in @@ -174,7 +174,6 @@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GDC = @GDC@ GDCFLAGS = @GDCFLAGS@ -GDCFLAGSX = @GDCFLAGSX@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ diff --git a/libphobos/testsuite/libphobos.thread/fiber_guard_page.d b/libphobos/testsuite/libphobos.thread/fiber_guard_page.d index 33a7459..49c2265 100644 --- a/libphobos/testsuite/libphobos.thread/fiber_guard_page.d +++ b/libphobos/testsuite/libphobos.thread/fiber_guard_page.d @@ -1,3 +1,4 @@ +// { dg-options "-O0" } // { dg-shouldfail "segv or bus error" } import core.thread; import core.sys.posix.sys.mman; diff --git a/libphobos/testsuite/testsuite_flags.in b/libphobos/testsuite/testsuite_flags.in index 43e4281..14b6795 100755 --- a/libphobos/testsuite/testsuite_flags.in +++ b/libphobos/testsuite/testsuite_flags.in @@ -28,7 +28,7 @@ case ${query} in ;; --gdcflags) GDCFLAGS_default="-fmessage-length=0 -fno-show-column" - GDCFLAGS_config="@WARN_DFLAGS@ @GDCFLAGSX@ -fno-release -funittest" + GDCFLAGS_config="@WARN_DFLAGS@ @GDCFLAGS@ -fno-release -funittest" echo ${GDCFLAGS_default} ${GDCFLAGS_config} ;; --gdcpaths) |