Error only when a non-default -mabi is used with sanitizers (PR sanitizer/90312).
authorMartin Liska <mliska@suse.cz>
Mon, 6 May 2019 07:35:59 +0000 (09:35 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 6 May 2019 07:35:59 +0000 (07:35 +0000)
commit080629d32eca5ea202479022f0bd429a813be7c4
treed685a6e391fe2a44edd6a81bc75ae1bc0276ca7b
parentee7a003f97cbab8571afdc34aae6300dc756045e
Error only when a non-default -mabi is used with sanitizers (PR sanitizer/90312).

2019-05-06  Martin Liska  <mliska@suse.cz>

PR sanitizer/90312
* config/i386/i386-options.c (ix86_option_override_internal): Error only
when -mabi is selected to a non-default version.
2019-05-06  Martin Liska  <mliska@suse.cz>

PR sanitizer/90312
* gcc.dg/asan/pr87930.c: Run the test only on *linux or *gnu
systems.
* gcc.dg/tsan/pr88017.c: Likewise.

From-SVN: r270899
gcc/ChangeLog
gcc/config/i386/i386-options.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/asan/pr87930.c
gcc/testsuite/gcc.dg/tsan/pr88017.c