mirror of git://gcc.gnu.org/git/gcc.git
Set SKIP_TEST flag if we are not to run a test.
Co-Authored-By: Daniel Franke <franke.daniel@gmail.com> From-SVN: r120529
This commit is contained in:
parent
401be4b658
commit
2f82a97b02
|
@ -4,7 +4,8 @@
|
||||||
PR target/30008
|
PR target/30008
|
||||||
* fixincl.tpl (List): separate file name patterns with a NUL byte instead
|
* fixincl.tpl (List): separate file name patterns with a NUL byte instead
|
||||||
of a vertical bar ("|").
|
of a vertical bar ("|").
|
||||||
* fixincl.c (fix_applies, machine_matches): Use fnmatch for name matching.
|
* fixincl.c (fix_applies, machine_matches): Use fnmatch for name
|
||||||
|
matching. Set SKIP_TEST flag if we are not to run a test.
|
||||||
* fixincl.x: Regenerate.
|
* fixincl.x: Regenerate.
|
||||||
* inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
|
* inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
|
||||||
kandr_concat, sco_math): Replace lists of specfic file names by search
|
kandr_concat, sco_math): Replace lists of specfic file names by search
|
||||||
|
|
|
@ -14,7 +14,7 @@ any later version.
|
||||||
GCC is distributed in the hope that it will be useful,
|
GCC is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
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
|
You should have received a copy of the GNU General Public License
|
||||||
along with GCC; see the file COPYING. If not, write to
|
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)
|
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;
|
return have_match;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue