diff options
author | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-06 20:02:22 +0000 |
---|---|---|
committer | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-06 20:02:22 +0000 |
commit | 476511b64a10e510130fbaca7809289d44750786 (patch) | |
tree | 8d6de4acec51c8171aa49b58343879ad69712bcc /fixincludes/fixincl.c | |
parent | e9afa1048ce117eb1820e755b3db7d16b9240d76 (diff) | |
download | gcc-476511b64a10e510130fbaca7809289d44750786.tar.gz |
Set SKIP_TEST flag if we are not to run a test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120529 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fixincludes/fixincl.c')
-rw-r--r-- | fixincludes/fixincl.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/fixincludes/fixincl.c b/fixincludes/fixincl.c index 7804df69e19..ccb2badc54f 100644 --- a/fixincludes/fixincl.c +++ b/fixincludes/fixincl.c @@ -14,7 +14,7 @@ any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. +GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING. If not, write to @@ -376,8 +376,13 @@ machine_matches( tFixDesc* p_fixd ) } } + /* Check for sense inversion then set the "skip test" flag, if needed */ if (p_fixd->fd_flags & FD_MACH_IFNOT) - return ! have_match; + have_match = ! have_match; + + if (! have_match) + p_fixd->fd_flags |= FD_SKIP_TEST; + return have_match; } |